Presentation is loading. Please wait.

Presentation is loading. Please wait.

AI for Simple 2D Games Game titel: Legend of Dragonia Peter Hultgren.

Similar presentations


Presentation on theme: "AI for Simple 2D Games Game titel: Legend of Dragonia Peter Hultgren."— Presentation transcript:

1 AI for Simple 2D Games Game titel: Legend of Dragonia Peter Hultgren

2 Game Idea Collect tokens to increase power. Collect tokens to increase power. Defeat the opponents with projectiles and traps. Defeat the opponents with projectiles and traps. Avoid traps and obstacles. Avoid traps and obstacles. Three classes with different powers. Three classes with different powers.

3 The Tokens Power Ups Power Ups Fake Power Ups Fake Power Ups Curse Curse Items Items Attack tokens Attack tokens

4 Obstacle Cathegories. Indestructible. Indestructible. Destructible. Destructible. Movable. Movable.

5 GUI Life/energy indicators Life/energy indicators Armour/weapon icons Armour/weapon icons Item bar Item bar Attacks Attacks

6 Classes Wizard – Ranged Combat. Wizard – Ranged Combat. Knight – Meele Combat. Knight – Meele Combat. Ranger – Traps/Ranged Combat. Ranger – Traps/Ranged Combat.

7 Game AI Path Finding – A* Path Finding – A* Decision Making – State Machine Decision Making – State Machine

8 Earliest Tech Sample Picture.

9 Early In Game Picture.

10 New In Game Picture

11 Technical Details Graphics – OpenGL. Graphics – OpenGL. File handling – text files. File handling – text files.

12 File handling Data to store Data to store Data format Data format Structure Structure<Rows><Columns> <etc…> <etc…> <etc…>

13 Things Cut due to lack of time Sound. Sound. Friendly Fire. Friendly Fire. AI Optimization / Learning algorithms. AI Optimization / Learning algorithms. Animations. Animations.

14 Things that went bad. Badly planned game engine... Badly planned game engine... Use of threads. Use of threads. Started working on the AI a bit late. Started working on the AI a bit late. The sprites took way more time to draw than expected… The sprites took way more time to draw than expected… Smaller memory leak. Smaller memory leak.

15 Things that went good. Player. Player. The AI can win. The AI can win. Tokens spawns as intended. Tokens spawns as intended. Obstacles works as intended (at least for the player). Obstacles works as intended (at least for the player).

16 Questions?


Download ppt "AI for Simple 2D Games Game titel: Legend of Dragonia Peter Hultgren."

Similar presentations


Ads by Google