Inspiration

Normal shooting games, STG, Minecraft(in 2D), Defense games

What it does

It enables 1 player to play the game, with infinite amount of stages and levels (actually max = 2^31-1). The player would have to shoot every enemy he/she ever seen and collect supplies and coins in order to survive. The difficulty and strength of the enemies are player-designed, with 10 difficulties and 20 starting levels(incomplete in demo). Player is default to use pistols, but also can pick up other weapons (not instantiated in the demo) //such as knives, swords, rifles, machine gun and even bombs The more the player survive, the harder the game became.

How we built it

We build the main program and object entities with stdjava and the frame with processing.

Challenges we ran into

The pathfinding algorithm is A* search algorithm which requires all nodes and paths to be build before the instantiation of the enemies so it become extreme lagging when a lot of mobs approching(FPS <= 20), also the time limit is exceeding so we cannot display the whole function but necessary options are implemented (it just need a little bit of extra-time!), therefore the type of monsters, level features and other interesting block textures in the demo is missing! Sorry but the main skeleton of the whole project does established.

Accomplishments that we're proud of

The whole-randomness of level design, mob design and the infinite chance and auto-generated danger in front of the screen! (The type and stats of weapon and equipment is also auto-generated, formulated by the equation ((1.03(x+5)^2 + 1.2(x+5) + 50)/(4+(x+5)(weaponBaseDamage)(weaponQualityCoefficient))-((50+(x+5)(equipmentBasedHealth)(equipmentQualityCoefficient))/(0.065(x+5)^2 + 0.3(x+5)+4)) = 0

What we learned

The best-fit for hp-dmg growth -- Kevin Yang The A* search Algorithm -- Jason Zhao How to make frames and entity objects (Kevin Yang based on Jason's code) A sandbox-liked game design.

What's next for Infinite Survival

All the features described in the "description" txtfile in the project folder. Furthermore possibly enable multiple players and a 2D infinite expansion rather than 1 direction.

Built With

Share this project:

Updates