130 likes | 221 Views
AI for Simple 2D Games. Game titel: Legend of Dragonia Peter Hultgren. Game Idea. Collect tokens to increase power. Defeat the opponents with projectiles and traps. Avoid traps and obstacles. Three classes with different powers. The Tokens. Power Ups Fake Power Ups Curse Items
E N D
AI for Simple 2D Games Game titel: Legend of Dragonia Peter Hultgren
Game Idea • Collect tokens to increase power. • Defeat the opponents with projectiles and traps. • Avoid traps and obstacles. • Three classes with different powers.
The Tokens • Power Ups • Fake Power Ups • Curse • Items • Attack tokens
Obstacle Cathegories. • Indestructible. • Destructible. • Movable.
GUI • Life/energy indicators • Armour/weapon icons • Item bar • Attacks
Classes • Wizard – Ranged Combat. • Knight – Meele Combat. • Ranger – Traps/Ranged Combat.
Game AI • Path Finding – A* • Decision Making – State Machine • Optimization – Genetic Algorithm • Learning • Obstacle Avoidance
Technical Details • Graphics – OpenGL. • File handling – text files. • Sound – Fmod.
Data to store Data format Structure <Rows><Columns> <tile11, tile12……….> <tile21, tile22……….> <etc…> <Amount of obstacles> <obstacle1 location.> <obstacle2 location.> <etc…> <Amount of start locations> <start1 location.> <start2 location.> <etc…> File handling
Progress so far. • Obstacles. • Projectiles. • Player. • Tokens. • Most of the Menus. • Textures / Sprites.