[APP] Geo Wars - A location based game for the HD2
[PORTED TO 3D]
Major tasks done:
3D view, world, perspective
accelerometer mapped to camera
Major tasks to be done:
- Ray tracing (for picking)
- BoundingBox collision
- Rework game logic (pratically done, just need to add Z axis to the game logic)
- Include soldiers
- Include boats
- Improve performance
- Enhance graphics.
- Use compass to rotate the camera/player's position
I'm a master degree student, whose final project is to develop a location based mobile game prototype. Although the development is nearly complete, there is some tweaking and adjustments still to be done. As such, and being a member of this community for some time now, I thought i should not only seek your help, but also share this creation of mine. I will describe what it is, how does it work, what bugs does it have (still some unfortunatly) and finally, what i need from you guys.
The game is basically a Tower Wars kind of game. You are a general who was given the task to hold you sector from the invading enemy forces until backup arrives. You're only hope is the experimental technology the government gave you that allows you to instantly deploy machine guns and artillery nests, completly unmaned and automatic. Although these do cost a lot of money, so you have to prove your worth by holding your position and defeating enemy forces.
The battlefield is your very own map (yes, from google maps static api xD). Enemies will come from sea air and land, but all of them with some restrictions to their movement, firepower, range, etc. For an instance, while an airplane may move around firing at anything from anywhere, a soldier or a tank must move around the streets, attempting to close in on their target. Boats will only appear if there is water on the map (kinda makes sense). Each enemy unit will try to prioritize its targets, and they have somewhat different AIs. For an instance, a Tank will keep attacking towers while moving in closer to the player's position. Once he gets there it will start blasting the player away. A soldier, however, will always try to attack towers first and only after there are no towers left will he attack the player.
The player can do some actions as well. He earns money for each second he remains alive, for each money filled bag he gets (by moving over them), and for each unit destroyed (each unit provides different bonus money). With this money he can build towers which will do their best to fend of the enemy forces. Each tower works differently, and has different projectily speeds, fire rates, life, costs, damage per hit and projectile type (for an instance, the rocket tower fires homming missiles that never miss its target, unless something gets in the way) The player can (and should also) move around the map (by walking), attempting to draw enemies (such as tanks) into sittuations where those units might get caught in cross fire (be aware that friendly fire works both ways).
So, the player can build towers by clicking on those lettered buttons (each creates a different tower, who'd have guessed?) and by clicking again on an clear area (this area must not have roads or any type of game units in it).
Oh, and in "Settings" you can select the quick game's difficulty, and if you want weather or not to influence the game. Clear weather provides bonus speed and range for all units and projectiles, while rainny or cloudy weather provide penalties to the same.
Since this IS a WIP, there are some (if not ALOT) of issues, them being:
- Weather takes a long time to load, up to a minute (the weather webservice isn't the most accurate or fast around i guess). ALL LOCATION, MAP, AND WEATHER DATA ARE DOWNLOADED IN THE MAIN MENU. YOU CANNOT START THE GAME WHILE THIS DATA HASN'T BEEN DOWNLOADED YET. Just press "Quick Game" from time to time. The button will only work when this data is ready.
- You cannot restart a game. Actually, you have to quit the application (and sometimes even reset your device) in order to start a new "Quick Game".
- Load Game is working, but not for you guys yet. The idea behind of it is to play the game in locations where you physically cant. Basically you'd have to register an account in a site i've created for this purpose (the site was a requirement for this thesis), create the game's there, and then login in the "load game" section and select one of the game's you had created. Works for me in the lab here, but i haven't deployed the website, the DB nor the webservice for this yet.
- Aircrafts can be buggy. And by buggy i mean that sometimes their own rockets blow themselves up. Yes it is funny when you read it down here, but it's not intended.
- Sometimes a ground unit may get out of the road. Completly. Not sure why though.
- The game may be somewhat unplayable in one place, and to easy in another. That's location based games for ya.
- (Feel free to report some extra ones, i'll be sure to add them)
- Soldiers not present yet due to them slowing down the game a lot (geometry too complex, gotta dumb it up a bit)
- Tanks WILL most certainly move away from the streets. This is due to the different coordinate systems used by dx3D and dx sprites.
- Game will run poorly, not due to the complex AI, but due to the poor graphic driver support. Will try to improve.
- You can only position towers when viewing from the top view. Otherwise it is really difficult as ray tracing wasn't implemented yet.
- Player's position may also be erratic due to the different coordinate system.
Well, this is the part where you guys can help. By now you should notice that while the game works it does so barely. The graphics are cheesy (i'm the one to blame) and the gameplay is IMBA sometimes. So, here's what i need from you fellas.
No seriously, please do try it.And submit your oppinions about how the game should be tweaked to be more challenging, and what do you think are the issues of Location Based Games themselves. To sum it up i need:
Opinions - on the game, and on location games
Tweak suggestions - the game should be balanced and should make the player move around, but not to tire him or actually force him to be playable. However, players that move around should be rewarded somehow.
Graphic Enhancements - Yeah, game sucks. I need decent sprites. If you got some nice ones that may replace what i've got, go ahead show them ^^. You will be credited. I was thinking of turning the game more GTX like (the main menus are ugly cause i just made them in a rush)
You need to have either Chainfire graphics patch or ATI 3D drivers. Why? Because HTC didn't include Direct3D mobile drivers d-_-b'...
If you are reaaaaaally lazy and don't want to get outta the couch, please download FakeGPS, so you can play the game ^^. You can test it easily that way.
-- A bit (like, a lot) outdated, but shows off a bit of the mechanics.
Here's a screenshot for you fellas:
3D game version:
--You can extract and place this anywhere on the phone. Just be sure the *.exe and the Textures and Sound folders are in the same folder.
- Multiplayer mode (possibly a 1 on 1 kind of game) (this, if it is meant to be implemented, will take a while. Prolly will only look at it during summer)
- Put the price on the buttons for the bunkers. (done)
- When building a bunker, move around the bunker that is to be build while the finger is on the screen. Deploy tower on mouse up. (done, i guess)
- Optionally choose where to play a quick game (giving it google map like addresses, such as 1242 Imaginary Av, Portugal) (done)
- Change the zoom for the map (in order to solve the tower placement issue and the rythm of how fast the player moves on the map) (done, but perhaps it could be done more elegantly)
- Nice looking menus (comming up ^^)
Suggestions and possible improvements will be placed here.
Oh, and can a mod put the links in this post correctly, just to make it easier for those that wish to see/download it?
Everybody, feel free to post screenshots as well.