Patterns of identical shapes (often squares or hexagons) that have no gaps. They usually represent the playfield in various games.
-3
votes
0answers
20 views
How to animate the Tilemap object in Libgdx? [closed]
I am facing problem to animate or move the object(Cell) of Tilemap??? Is there any solution for this???
0
votes
2answers
64 views
Displaying possible movement tiles
What's the fastest way to highlight all possible movement tiles for a player on a square grid? Players can only move up, down, left, right. Tiles can cost more than one movement, multiple levels are ...
1
vote
3answers
127 views
Splitting tileset into individual tiles
I'm trying to split a tileset (from here) into individual tiles.
For debugging purposes I wrote some code to split the tileset into individual tiles and display them on screen, but some aren't being ...
-3
votes
0answers
46 views
Bullet not return when player shoot to any object [closed]
package com.example.game4;
import java.io.IOException;
import java.util.Iterator;
import java.util.LinkedList;
import javax.microedition.khronos.opengles.GL10;
import ...
-8
votes
0answers
94 views
How can i detect collision using tilemap in libgdx? [closed]
I am trying to detect collision between actor and object but facing problem. If anybody having code of collision detection of tilemap than please post.
-2
votes
0answers
84 views
C# XNA: How do i create simple 2d TileEngine [closed]
i want to create a simple tileengine for a small rpg-ish game.
I have a picture with 7 different tiles each at a width and height of 48px.
What i want to do is to split the image into those seven ...
2
votes
1answer
85 views
Get average tile color
In my 2D game I have TileSet class that loads the texture and creates Rectangle[] array which stores each tile coordinates. Pretty basic stuff. Now I'd like to also calculate and store the average ...
0
votes
0answers
53 views
Why does Slick import Tiled object rectangles without width, height, and name tags?
I tried using Tiled rectangle objects as walls with Slick's TiledMapPlus class, but as I soon realized that each GroupObject would return 0 for width and height. The code I used looks like this:
...
0
votes
0answers
130 views
2D tile-based collision: avoid tunneling
We have a box that tries to move from A to B. In order to avoid tunneling we need to check if there is a collision in the path described by its four corners.
Let's focus on the bottom-right corner of ...
2
votes
1answer
111 views
How to know the boundaries of an isometric tile?
In a 4x4 square tile, it's easy to know which pixels are inside the tile's boundaries. I know immediately that the 4th vertical pixel is supposed to be drawn but the 5th isn't.
However, on a ...
0
votes
3answers
188 views
How to create levels (tile maps) [closed]
I am new to game programming and I am having so much hard time learn on my own. My goal is to make a game with different levels.
so far my plan:
i have 2 classes
1 - main.java
2 - level_01.java
3 ...
1
vote
1answer
98 views
Help developing grid maps
I have been working with Tiled and Cocos2d lately but am having problems understanding how Im suppose to be doing the maps.
Tiled is not an image editor, so I create my tileset in Gimp. However it ...
2
votes
2answers
200 views
Implementing tile-based movement on 2D platformer
I'm trying to make a cinematic platformer, in the veins of the first two Oddworld games, Flashback, Prince of Persia, Blackthorne and so on. This article describes very well how this kind of movement ...
1
vote
1answer
150 views
Tiled map seen from an angle
I have working code to display a tiled map. It's composed of a OrthogonalTiledMapRenderer and an OrthoGraphicCamera :
camera.setToOrtho(false, WORLD_WINDOW_SIZE.x,
WORLD_WINDOW_SIZE.y);
...
0
votes
1answer
83 views
Creating a BufferedImage with several smaller images?
I am making a 2D tile based game. The tiles render fine from a spritesheet and a text file. However, I am using a for loop to draw the map to the screen. When it refreshes, it slows down the loop, and ...