Project update - new demo

posted in Ezbez's Blog
Published January 17, 2011
Advertisement
Since the last update, I've done a couple significant changes. First, I've fixed the client version so it's actually multiplayer again (though it still only works well with very good connections, like LAN). Second, I fixed the py2exe script, which means that I'm able to release a demo again! Try it out, please. This demo also includes fancy diagonal wall tiles for added variety and complexity of levels.

shooter_1_16_2011.zip


This this demo, I've also been working on improved AI movement. In the demo, they are brain dead and will get stuck on the walls all the time. Now I've implemented A* pathfinding which lets them get from point A to point B easily enough, but it's fairly expensive and inelegant. Since the A* is done on the map grid while movement is continuous, they will walk an "L" shape instead of just taking the diagonal, and A* is a little too expensive to have all of them recalculate every frame, so their targets can fall behind the player's actual location. I'm working on some improvements to this. First, the enemies now scan ahead, looking for the furthest tile on the A* path which can be reached by straight-line movement. Next, I will be implementing a direct line-of-sight test on the player to see if an enemy can move directly toward the player prior to performing any A* search. Lastly, I'll need a more intelligent means of deciding when to recalculate A* paths since currently it's done randomly. Also, handling the new diagonal wall tiles for A* is tricky and currently they are simply considered entirely blocking.

I am also looking at ways of providing Mac and Linux distributions of this. I might give pyInstaller a try for a future release.
Previous Entry Project update
Next Entry Path finding
0 likes 2 comments

Comments

NeoRagnarokX
How can i make it work?
January 28, 2011 01:44 AM
Ezbez
Sorry for the late reply, I've gone back to college and hence have a lot less time for this project. :(

If you download the zip file, extract to a folder, and run the server.exe program in the 'dist' folder, it should run. If it doesn't, please let me know and post any errors or behavior that you get so that I can try to resolve the issue. It will only run on Windows.
February 02, 2011 11:40 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Advertisement