1 / 16

AI for Simple 2D Games

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

Télécharger la présentation

AI for Simple 2D Games

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

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

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

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

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

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

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

  8. Earliest Tech Sample Picture.

  9. Early In Game Picture.

  10. New In Game Picture

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

  12. 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

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

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

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

  16. Questions?

More Related