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…
Another one to add to the list of engines for those adverse to writing code is the Blender game engine, although very rough around the edges, it has a "logic block" based scripting system which is pretty handy for setting up the basic stuff. it's capable of doing some ok looking stuff, but i wouldn't suggest it for any…
This is a sweet thread, lots of useful stuff. It would be cool to see more learning resources about general programming, common practices, algorithms and math/trigonometry/physics related stuff, not necessarily particular engine/library or even programming language-specific. Seems like there are tons of libraries that deal…
I have a 2d Tile system setup and I am not sure if I did it correctly since I am unable to have an entity traverse the grid properly. C++ I have 2d array of tile objects. The tile object has a vector full of entities to draw at that tile. due to this, the entities contained in a tile are unaware of their own XY position.…
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…