1 / 12

Urban Towers Technical

Urban Towers Technical. By Agents of the BSoD. Agents of the BSoD. Kyle Sweeney-Leader Peter Cowal - Art, Code, Music August Lindgrenberg -Ruby- Music, Art Thane Meyer- Music, Documentation Taylor Sutton-Code Liam Mahoney-Art Yestin Harrison-Art Sam Strba - Art. Java.

dewey
Download Presentation

Urban Towers Technical

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. Urban Towers Technical By Agents of the BSoD

  2. Agents of the BSoD • Kyle Sweeney-Leader • Peter Cowal- Art, Code, Music • August Lindgrenberg-Ruby- Music, Art • Thane Meyer- Music, Documentation • Taylor Sutton-Code • Liam Mahoney-Art • Yestin Harrison-Art • Sam Strba- Art

  3. Java • Object Oriented Design • Easy Deployment across multiple platforms • Windows • Linux • OS X • GNU GPL v3

  4. Sweeney Game Development Environment • Home Grown SDK • Made by Kyle Sweeney • Summer Project after taking AP Compsci • Intended for easy development for Java programmers • GNU GPL v3

  5. Object Oriented • Natural for Games • Two Approaches • ID Based Objects • Child Based Classes • Easier Readability

  6. Game Organization • Master Grid • Smaller Arrays of Active tiles and Roads • Faster- don’t update/draw what you don’t need to • Master Array for Enemies and Bullets • Different screens have different classes

  7. State Vs. Event driven • Framework takes Events and translates to State • Both are sometimes needed • Compensation: Booleans

  8. Enemy Pathfinding Really Quick and Really Dirty

  9. How It Works • Enemies parse the roads into an integer array • The array values: • 0 if the tile is a road • 9001 if the tile is not • As the enemies move, they add a mark to their current cell • They then make decisions based on the number of marks in the adjacent squares

  10. Flow Chart Spawn Move straight forwards No Move to cell that’s been marked the least Mark Cell Yes No Have I marked this cell a couple of times? Am I at a 4-way intersection? Can I exit the grid? No Yes Yes Exit Grid

  11. Google Code • Remote code repository • Allows for easy management of the code • 340+ revisions • Subversion through NetBeans

  12. NetBeans • Wonderful IDE • Easy debugging capabilities • File Management system built in as well • Compiles and creates code and Java Doc

More Related