![]() ![]() ![]() Instead, I will gather some time to implement the behaviours in video so you can see what actually happens. I have decided not to post the full source code or the game as download. A path finding AI and the piece de resistance, a swarm AI, which utilizes function pointers.Īs this code is easily viewed and that as I move onto second year, the following first years could potentially search and find this site. What I came up with was the standard terminator AI, an alternate Wander AI which would randomly choose points and then seek towards, an refined wander which would apply a slight push force tangential to the zombies facing direction velocity. I on the other hand really enjoy AI coding in games, so this was a opportunity for me to do a fair bit of research on the topic. It was then our job to code the lua in amazing ways to simulate AI, which could range from the standard terminator (seek) AI and for most this was the passing grade. The school provided us with a game ready framework and with it all the necessary code to display our hero and zombie sprites on screen. There is also a thriving community of Love2d game developers, as found in their forum. The benefits of this particular engine is that it does all the heavy lifting underneath, calling upon OpenGL without the hassles that come with it when youre using it in C++. The engine we had to use was called Love2d, a 2D open source engine written in lua. Our third assignment was a move away from c++ and into lua, which is primarily a scripting language used commonly in games for its ability to be easily changed without compiling the main codebase. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |