Tagged Questions
-1
votes
1answer
181 views
Should I load a game map as a tile map or as an image map? [closed]
Which is better for game prototyping of a game map: a tile map or an image map? What are their respective pros and cons? Should I, in other words:
Load the map as a png and set collision points ...
-1
votes
2answers
415 views
How to make a map [closed]
For school my group and I are going to make a 2d turn based strategy game on android.
We are trying to make a simple version of Advanced Wars(screenshot1 Gameplay).
But we don't really know how to ...
2
votes
1answer
45 views
pytmx: issue trying to get the correct texture rectangle for sprite for objetcs on map
:D Hello :D
I am currently developing a game engine. I'm using maps designed with Tiled and I placed several objects on a test map to develop the feature of loading objects as sprites/entities and ...
0
votes
2answers
223 views
How can I move an object over a drawn tile map in HTML 5 without constant buffering?
I've been messing around with HTML5 for quite some time now but this is something that I guess I haven't figured out how to handle well yet. I'm sure there's an extremely easy solution and I just ...
6
votes
2answers
227 views
Algorithm to select all cells inside rooms/regions
I have a 2d game map consisting of several 'rooms'
For example, here is a 2D map grid: (Brown cells = wall tiles)
If I click on a tile (that isn't brown), I would like to obtain an array of all ...
2
votes
1answer
171 views
Collision detection problems - Javascript/Canvas game
What I want to do:
I simply want the have a 2D array to represent my game map.
I want a player sprite and I want that sprite to be able to move around my map freely using the keyboard and also have ...
0
votes
1answer
95 views
How to achieve selection of a tile from a tile sheet based on an ID?
Let's say I have a tile sheet that contains 8 sprites per sheet. Each sprite is a tile of 30x30.
I wrote my own custom map parser/map loader however I'm having trouble extracting a certain tile ...
3
votes
4answers
647 views
What would be a good way to implement/render a 2D tiled map for a browser game?
I've made this little RPG Ruby game I did while learning and now I'd like to make it into a browser game. I've already set up Sinatra framework to serve it, so what I am looking for, before everything ...
1
vote
3answers
925 views
How can I create a flexible system for tiling a 2D RPG map?
Using libgdx here. I've just finished learning some of the basics of creating a 2D environment and using an OrthographicCamera to view it. The tutorials I went through, however, hardcoded their ...
27
votes
3answers
5k views
Random map generation
I'm starting/started a 2D tilemap RPG game in Java and I want to implement random map generation. I have a list of different tiles, (dirt/sand/stone/grass/gravel etc) along with water tiles and path ...
2
votes
4answers
770 views
What should I use (controls, methods) to make a 2D tile based map editor?
I'm making a 2d game where each tile is a square and it's viewed at straight angle, no skewing, no rotation, it's pretty simple.
Two weeks ago I tried using DataGridView, but as the number of rows ...
6
votes
3answers
3k views
Whole map design vs. tiles array design
I am working on a 2D RPG, which will feature the usual dungeon/town maps (pre-generated).
I am using tiles, that I will then combine to make the maps. My original plan was to assemble the tiles using ...
2
votes
2answers
272 views
Calculating the number of tiles shown on an isometric map
I'm currently changing an existing computer game from a top-down view to an isometric view. The map consists of an infinite number of tiles. Only the tiles which are currently visible in the players ...
9
votes
5answers
517 views
Increasing the probability for similar tiles to generate next to each other
I'm working on a tile map system, which insofar looks like this (green is grass, air is white, stone is grey, and blue is water):
It uses a simple random number generator so that there's a 45% ...
9
votes
2answers
505 views
.PNG tiles to .PNG map
I was wondering how I can get my 110+ .png map tiles conveniently into a 1:1 pixel ratio size map .png. Ive been scrolling through google and such, and the forum's for the free ware game that I am ...
1
vote
2answers
599 views
Image splitting / tiling software for Mac
I have been programming for a bit and for 2D games and other applications I frequently make large images for the levels / the maps. Before I place these into the games I split the large images down ...
11
votes
3answers
7k views
How can I create a random “world” in a tile engine?
I am designing a game that is working on a classic tile engine, but whose world is generated randomly. Are there existing games or algorithms that do this?
The procedural generation algorithms I have ...
4
votes
2answers
1k views
How should I represent a tile in OpenGL-es
Let me start with I am currently learning OpenGl-es using Android.
I have been having the hardest time trying to design a simple and logical way of making tiles (2d flat polygons). The tutorials tell ...
12
votes
2answers
657 views
How do you handle uneven tiles while rendering a tile map?
Here is what I want to do with my tile map that I am unsure of. As you can see the top walls are way larger then the bottom and side ones (this is also an issue with my corners which are odd shapes ...
0
votes
1answer
125 views
How can I apply a shader to images in a map in XNA?
Basically, what I'm trying to do is apply a shader to my background image and only the background image. The problem is: the background is actually made up of tiles that are picked out of a list of ...
7
votes
3answers
1k views
What is a good flat file format for storing a 2D tile map that can grow infinitely in any direction?
I am creating a simple map engine that will automatically expand in any direction with procedurally-generated content as needed.
What is a good way to store map data, anchored at a 0,0 origin so that ...
3
votes
1answer
339 views
More smaller maps among which player can travel
I am developing 2d game, where maps are tile based, small about 20x20 tiles and player can travel between a lot of maps (in my game rooms) like this. The maps are connected sometimes verticaly and ...
0
votes
1answer
405 views
Using Tilemaps in C
I have used tilemaps .TMX files using cocos2d and objective c.
How are tilemaps used in C? Are there libraries available or where is a good place to start for using tilemaps in C?
I would like to ...
5
votes
5answers
3k views
Alternative to 2D array in a tiled-map structure
After searching for a long time, I'm surprised this question was not asked yet. In a 2D, tiled-map game, how do you handle the map ? I'd be glad to have your point of view in any languages, though I'm ...
1
vote
2answers
2k views
How to Create a Grid for a 2D Game?
So I'm currently writing the engine for my videogame. I've almost integrated Tiled (I think) so I should have a map-creator here soon.
My question is, how do I actually make the grid? I'm really ...
6
votes
1answer
1k views
Making organic 2D tilemaps for tile based games
So I have always wondered how one makes a nice (not so squarish) 2d tile map, is it possible? all games now days I think use textured polygons...but my game engine (and engine) doesn't support that ...
9
votes
2answers
576 views
How to manage dependencies between tile map and units
I have a 2D tile-based strategy in the works. I'm wandering how to handle the relationship between the map and the units on the map.
Given a tile coordinate I'll need to be able to get the unit ...
6
votes
3answers
2k views
2D Top down view maps
I was wondering how this works.
Do you load the complete map when the game starts up, or do you load parts of the map at runtime?
And how would you save the maps? Would it be in XML or some binary ...
10
votes
2answers
955 views
'Zoning' up areas on a large tile map, as well as dungeons
My game is having a map like that of Minecraft, in the way it's pseudoinfinite and randomly generated. And big. Say the user has explored a 1000x1000 zone (2D here), so that's 1,000,000 tiles.
...
11
votes
4answers
8k views
Best Way to Create A Map for a 2D Game?
I apologize for the subjective "best" keyword.
My friend and I have started creation of a 2D adventure game. It will be top-down in the style of pokemon or zelda (just the perspective). We have been ...
5
votes
1answer
1k views
2d map: how to manage it?
i'm developing a 2d game (top down), and i'm a beginner.
Now, i've to create a map, with object (to interact with) ...
I don't know how to .. manage the problem !
Does anyone can help me ? What are ...
10
votes
5answers
3k views
2D Level design/editing/saving questions
I thought about making a simple 2D Sidescroller game like SuperMario.
Then i wondered about how to save, load or create the levels for the game. The first thing i thought of was drawing a simple ...
