• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
dworm

is there a more confortable way to order tiles in a isometric game?

8 posts in this topic

i guess its not hard to change later but since im trying to make the map system now i was looking for some insight

 

should i follow the human reading system?

1   2   3   

  4   5   6   

7   8   9

 

but for later gameplay i guess (i never thought of it yet) it could be better if i follow the movement flow but it would lead to a more wierd map visually but more easy to handle maybe for pathfinding and stuff

 

1   2   3

  4   5   6

    7   8   9

 

or i could rotate the map which would be easy for everything but more  calculation in the drawing cycle (no idea if that could matter or not)

 

     1

  4    2

7    5    3

   8    6

      9

 

opinions ?

 

0

Share this post


Link to post
Share on other sites

I like treating isometric as nothing more than an effect applied to a normal grid, so I'd pick the third option. Basically, your display code is the only code that will even know you are isometric. That makes debugging easier, and making debugging easier is huge. It also makes a ton of stuff easier to wrap your head around. An example would be that your map file is easily just an x-by-y grid of ascii art that can be printed and looked at and understood by humans quite easily.

 

Edit: as a note, you should probably think of the cells as having both x and y coordinates instead of a 1D array. It's fine to use map[y * width + x] in your code, but when talking outside of code it's weird to see map coordinate 4 mean map coordinate 1,2.

Edited by richardurich
1

Share this post


Link to post
Share on other sites

yes, ofc my map is the usual [x,y] but i sortof wanted to visualize the map faster above :D (Also i followed the draw pattern)

 

ty for your answer and i sort of agree with you, its just that some days ago i read an article about it and i remember that guy saying we should draw tile like reading but i cant remember the reason so i wanted to make sure i m not missing something that could screw me later

0

Share this post


Link to post
Share on other sites

The reason for drawing the tiles as if you were reading them is because of the simple "3D effect" that isometric provides. If you draw everything in tiles 4 and 2, and then you draw your tall x-com soldier in tile 5. He gets drawn in a way such that the top half of his body is drawn in front of all the stuff that was drawn in tiles 4 and 2.

 

Keep in mind that the reason for doing this was to fake 3D in the olden days, blt'ing from the "back" to the "front". Nowadays, you can usually just render a for-real 3D scene with guys, items, terrain, and walls all standing in the right place, and the graphics library/GPU is smart enough to only draw the stuff you can see.

 

And in some cases, the standard rendering style would require you to reverse that order. In XNA, when you clear the screen and use SpriteBatch to draw everything, For a given layer, it only draws on blank canvas once. So you'd either have to reverse that order if you didn't figure out the layer, or specify a layer for each row.

 

- Eck

2

Share this post


Link to post
Share on other sites

I think the first way you did it is most common

 

http://www.gamedev.net/blog/33/entry-2250273-isometric-map-in-sfml/

 

You can also easily do isometric using 3d with a fixed camera - might sound hard to do 3d but it could likely end up being a lot

easier because you wouldnt have to worry about draw order

 

yes probably, also im good with math and i studied all geometry about that but... wouldnt 3d make the time to make assets like grow 50 times ?

 

also dunno i have this personal idea where a decent 2d is more acceptable than a decent 3d

i think 3d is only good when done very well, while a simple and clean 2d might still be cool

0

Share this post


Link to post
Share on other sites

You know that you can use full 3D and get the exact same effect as 2D, only without the stupid pain in the ass ordering problems, right? For example, see http://www.gamedev.net/topic/629496-dynamic-objects-in-isometric-map-drawing-algorythms/#entry4968844 Old isometric was pretty much intended to get around the limitation of having old cruddy hardware that couldn't do real 3D. As soon as real 3D capabilities came around, it just wasn't necessary anymore. You can the exact same look by plastering your pre-rendered stuff on some quads.

1

Share this post


Link to post
Share on other sites

no, i didnt know since its a beginner forum and i started programming few weeks ago...

 

also what about objects?

 

if i put  a rock cube onto a rock ground its ok

but if i put a tree over the rock? how can i put a cubic 3d tree onto another cube ?

0

Share this post


Link to post
Share on other sites


yes probably, also im good with math and i studied all geometry about that but... wouldnt 3d make the time to make assets like grow 50 times ?

 

well - not necessarily - the meshes for objects would take longer yes - but if your using a fixed camera angle you can get away with using a rectangle with a image on them for your objects - they will still have 3d coordinates and so you dont have to worry about drawing them in some certain order - you can even do characters with spritesheets that are just drawn on a rectangle - as long as the camera angle doesnt change it will look fine..

 

For the tiles you can do kind of the same thing - but what I would suggest is to make a simple cube as your tile mesh and then just make different textures for different terrains.. in this way you dont have to make a different mesh for each different tile and your production time is a lot less

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0