Good thing you brought that up. What I want to do is show is that people CAN do psudo code and still be a BIG HELP. Code and ideas in any format can help. For instance, you want the ghost to turn around 180 when it hits a wall: If(You hit a wall in front of you) Turn around 180 deg. Also, I will toss in bad code and ask it…
So after some reading and discovering that they DO in fact use a beacon system for Pac Man this is what my code will look like for the ghost: Stored value for turning left Stored value for turning right //These will only lock rotations to 90 deg intervals // Following the doc on the listed page create 3 states for the…
It´s commonly bad programming practice not to initialise variables with some dummy values.Most programming languages will do that for you in debug mode but not in release mode(C/C++ for example). Forgetting to do so will lead to very unexpected behaviour when switching from debug to release mode. Just saying...
originated from a message conversation: yes it's popular with game scripting (realtime system integration), I use it a lot for all kinds of tasks (many people would use python for that, which I never got into). Scripting languages like Lua are useful to "generate code", I've used Lua to generate maxscript code or shader…
The code posted will work if the program doesn´t try to check for tiles which are outside of the map(non-existant). And this version just gives the shortest path in coords. The one i´m looking for right now had a little gui where you could define your map, start/end points, add water and stuff(different ground with…
I'll start with what I posted in the indie thread. This is a Case statement (Sytax is C#). Comments in line. In this version I DID NOT use myNumber to get my initial random number. Instead, I put the random number generator inside the MathF function. I'll post more code for the PolyCount Pac Man as I go along. First task…
Applications, Tools, and Utilities: An IDE short for Integrated Development Environment for those wondering is just a fancy text editor that makes common programming tasks easier. They look pretty intimidating when you first open them up (I still get scared sometimes...). But with a few tutorials, blind experimentation, or…
Languages and Useful Libraries: A library for those wondering is just a fancy name for some code other people have written that you can use along with your own code to accomplish a specific task, such as making games. ActionScript 3 - link The language of Flash, great for web based indie games and as renderhjs has shown,…