-
as seen on Game Development
- Search for 'Game Development'
I draw my map from a txt file. I am using java with slick2d library. When I print the array the number changes in the array, but the texture doesn't change.
public class Tiles {
public Image[] tiles = new Image[5];
public int[][] map = new int[64][64];
public Image grass, dirt, fence, mound;
private…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi !
I'll start by saying that i'm REALLY new to OpenGL ES (I started yesterday =), but I do have some Java and other languages experience.
I've looked a lot of tutorials, of course Nehe's ones and my work is mainly based on that.
As a test, I started creating a "tile generator" in order to create…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Many strategy games use hexagonal tiles. One of the main advantages is that the distance between the center of any tile and all its neighboring tiles is the same.
I was wondering if anyone has any thoughts on marrying a hexagonal tile system with the traditional geographic system (longitude/latitude)…
>>> More
-
as seen on Game Development
- Search for 'Game Development'
Pretty much all I'm trying to do is revolve my 2D Array by its container.
I'm using this array for a background and I seem to be having problems with it revolving.
public class TileTransformer : GridConstants
{
public Tile[,] Tiles;
ContentManager Content;
public TileTransformer(ContentManager…
>>> More
-
as seen on Game Development
- Search for 'Game Development'
I'm creating a simple Isometric game using HTML5 and Javascript, but I can't seem to get the display to work, at the moment i have 9 tiles that have X and Y positions and the player has a X and Y position, the players X and Y properties are set to 100, and the tiles are as shown
tiles[0] = new Array(3);
tiles[1]…
>>> More