This article provides an in-depth writeup on the various issues, solutions and options relating to multiple units moving in a coordinated way in a game: http://www.gamasutra.com/view/feature/131721/implementing_coordinated_movement.php?print=1
Issues covered include formation movement, and difficult problems such as the "stacked canyon" problem.
My online tech scrapbook where I keep my notes in case I need to look them up later
Showing posts with label game dev. Show all posts
Showing posts with label game dev. Show all posts
Saturday, February 22, 2014
Tuesday, October 8, 2013
Converting from Screen to Map Coordinates in Isometric 2D Games
This article here provides a great explanation on this.
Formulae in summary:
From screen coordinates to tile x,y
From tile x,y to screen coordinates
Note: these only work if the iso map is skewed at 45 degrees. If it's skewed in 30 degrees or 60 degrees, trigonometry will be needed.
Formulae in summary:
From screen coordinates to tile x,y
map.x = screen.x / TILE_WIDTH + screen.y / TILE_HEIGHT;
map.y = screen.y / TILE_HEIGHT - screen.x / TILE_WIDTH;
|
From tile x,y to screen coordinates
screen.x = (map.x - map.y) * TILE_WIDTH_HALF;
screen.y = (map.x + map.y) * TILE_HEIGHT_HALF;
|
Note: these only work if the iso map is skewed at 45 degrees. If it's skewed in 30 degrees or 60 degrees, trigonometry will be needed.
Friday, June 1, 2012
Article on 10 Game Design Pitfalls
Article: www.gamasutra.com/view/feature/4017/10_g ame_design_process_pitfalls.php
They are:
They are:
- Not structuring time for game playing
- Placing too much emphasis on paper designs
- Peer review not taken seriously
- Decision maker picked for his producer skills
- Not taking advantage of placeholders
- Allowing the story to control the game design
- Not giving designers enough tools
- Entering production without something fun
- Not keeping design documents up to date
- Not making outside playtests a part of the process
Article on "Data Baking" on Gamasutra
This article discusses the concept of "baking game assets", specifically, baking them into a memory image that can be loaded from disk to memory and used immediately.
http://www.gamasutra.com/view/feature/39 84/delicious_data_baking.php?print=1
http://www.gamasutra.com/view/feature/39
Subscribe to:
Posts (Atom)