All Questions
8 questions
0
votes
0
answers
63
views
Only first line/column of level text file gets loaded into tile map
I'm trying to make a map using a text file, but it only does the first line / column and not the rest.
I know the problem is in getTileImage.
...
2
votes
0
answers
1k
views
How to load parts of a large tilemap like chunks in Unity 2d?
I use more pictures so you can understand my opinion better.
Here is the video link I recorded.
My code has a problem that I use for to render it and cause it to "lag" for 1-5 seconds, so I ...
1
vote
1
answer
364
views
Preloading for level transitions in a tile-based game?
I am developing a 2D Metroidvania which consists of a series of interconnected levels. When my player gets near a portal which can take him to a new map, I want to pre-load the next map so that there ...
1
vote
0
answers
375
views
Loading a TMX file with Java [duplicate]
I use the program Tiled to create tile maps, which export to the TMX format. However, I can't find a way to load them into my LWJGL game. I don't want anything that renders them automatically, I want ...
2
votes
1
answer
1k
views
What's the most memory efficient way to load a tiled map?
Currently I am working on a simple 2D platformer and I want to load a tiled map.
What I've started working on is loading the tiles using a text file. My first question is simple: is a text file the ...
1
vote
2
answers
322
views
Optimization and Saving/Loading
I'm developing a 2D tile based game and I have a few questions regarding it.
First I would like to know if this is the correct way to structure my Tile class:
<...
1
vote
1
answer
389
views
Loading tilemaps, entering buildings, chopping big maps
I´ve got some questions regarding the loading of tile maps.
I´ve got a world with several buildings in it that guide the user to a new map. This map can be a small room, but also a big area.
To change ...
20
votes
3
answers
8k
views
In XNA, how do I dynamically load parts of a large 2D world map?
I want to develop a huge world map; at least 8000×6000 pixels in size. I have broken it into a 10×10 grid of 800×600-pixel PNG images. To avoid loading everything into memory, the images should be ...