Tile map is a technique of re-using small graphic pieces, tiles, over and over again to shape the game field.

learn more… | top users | synonyms

2
votes
0answers
248 views

Flixel - Animated Tilemaps

I am using Flixel 2.55 and I am trying to animate a tilemap. I found this piece of code that apparently enables the use of sprites as tiles. From what I understand, this loops over the tilemap's ...
1
vote
0answers
46 views

Drawing visible tiles - side scrolling

Currently I'm calling drawMap every time repaint is called. This is the code I've written for my drawMap method so far. public void drawMap(Graphics2D g2d) { int minOffsetX = 0, minOffsetY = 0; ...
1
vote
0answers
98 views

Java platformer using Tiled maps

So here is the deal. I've been working on and off on my little platformer and im at the point for collision detection with the map. I have a method that generates a polygon on every tile and checks if ...
1
vote
0answers
171 views

TIled map rendering in libgdx

Good day. First of all, some explanation of situation. Init tiled map code: map = new TmxMapLoader().load("maps/map.tmx"); mapRenderer = new OrthogonalTiledMapRenderer(map, 1f / 32f); Rendering ...
1
vote
0answers
134 views

Touch Gesture Map Movement

I really dig the way that the map is moved in Clash of Clans (https://itunes.apple.com/ca/app/clash-of-clans/id529479190?mt=8)... I can recognize the pinch and finger movement needed for the zooming ...
1
vote
0answers
226 views

How to load big size CCTMXTiledMap in cocos2d?

I am try to design a cocos2d game that with a big world. The wolrd tiled map is very big, maybe 20 ipad screen sizes. I want to know how to load CCTMXTiledMap into screen? If I directly add it to ...
0
votes
0answers
54 views

Rendering tile maps for mobile devices

Hitting a bit of a roadblock with my game's development and I'm just looking for some outside advice. I'm trying to render a tilemap for my mobile game (Android) and I'm using LibGDX. Now, here's ...
0
votes
0answers
85 views

Fitting tilemap to any screen resolution

My game is a 2D Single-Screen (i.e. non-scrolling) platformer for Android, but the question here doesn't require a code-specific answer. Basically it's easier for me to show the problem using a ...
0
votes
0answers
42 views

Creating a custom map in openlayer/geoserver for a 4x strategy game

I'd like to implement a zoomable 'galactic map' with different levels of detail and think I'm going to down an openlayers route for the client side rendering (as it's free!), and geoserver or ...
0
votes
0answers
44 views

libGDX TileMapRenderer not doing anything

I was using this tutorial and tried to make the TileMapRenderer work, but I can't. It never renders anything, no matter what i do. EDIT: I found out that the problem has nothing to do with the code. ...
0
votes
0answers
87 views

How to manage multiple objects for a tile based game for collision?

So I'm making the tile-based 2D sandbox platformer...thing to get an idea of how to manage different elements of coding games. Currently I'm at the point where my collision system works fine for a ...
0
votes
0answers
213 views

SFML tmx map loader for isometric view

To load a tmx map in SFML which way will be flexible and optimal , use sfml maploader to load the map (http://sourceforge.net/projects/tiledsfmlloader/) or use tmx parser and then load it into SFML . ...
0
votes
0answers
108 views

Xna problem drawing tIDE map

So i was trying to add tIDE to my project but i hit a Keyntfoundexception map.Draw(mapDisplayDevice, viewport); Any help would be usefull here is the rest of the class: using System; using ...
0
votes
0answers
148 views

Problem displaying tiles using tiled map loader with SFML

I've been searching fruitlessly for what I did wrong for the past couple of days and I was wondering if anyone here could help me. My program loads my tile map, but then crashes with an assertion ...
-1
votes
0answers
22 views

Restrict Tile Map to its boundaries

I have loaded a tmx file in cocos2dx and now I am trying to implement panning. I have successfully implemented the panning first part where the map moves. Now I want to restrict the map so it does not ...

15 30 50 per page