Questions tagged [tile]

Patterns of identical shapes that have no gaps. They usually represent the playfield in various games. They are also used in web development for reducing the count of images which needs to be transmitted.

Tiles are a very common element in games, used to store information in a simple tessellated format. Because tile grids can easily represent the space of the entire screen, tiles are a very common means of organizing level structure.

The utility of tiles ranges from the layout of ground to hard restrictions on the movement of in-game entities. It may apply to only parts of the game such as over world movement, or it could represent the entirety of all meaningful interactions in the game.

In web development they are commonly used to reduce the amount of data which needs to be transfer. They are also used for implementing a fast hover effect, where just the view port is moved to display another state.

896 questions
-2
votes
1 answer

Is there anyway to develop a game of maze without using .tmx file in cocos 2d

I am new in cocos2d developement.I have to develop a game of maze by using tile map.The game is all of containing a fish which has to be moved through the maze and the maze will also contain some enemy fish from which the Hero fish has to…
RAVI
  • 151
  • 2
  • 11
-2
votes
1 answer

Tilemap with enormous tileset data for OpenGL rendering (texture as an image is not an option)

I have big binary file. It contains 32x32 pixels tiles. Each pixel is 32 bits RBG color. Because of the binary file structure, it cannot be rendered to the texture image. Last time I've tried to load generated texture with SFML with next…
-2
votes
1 answer

"Nonetype object has no attribute 'take turn' in Pygame. Hung up on a single line

I am creating a rogue-like game with python 2.7, using pygame and libtcodpy libraries. It is a tile based game, and when I tried to implement a function called 'take turn' that would move the enemy one space to the left every time the player moved -…
Will
  • 93
  • 8
-2
votes
1 answer

js array binary insertion sorted by rows and columns

I have an initial array of Tiles ordered by [row,col] like this [0,1] [0,2] [0,3] [1,1] [1,2] [1,3] i need to binary insert elements ordered by row and colum like this binaryInsert([0,0]) binaryInsert([1,0]) and the expected result will be an…
-2
votes
1 answer

How to use a custom tile overlay in android?

Making an Android application where a map is overlaid on to a google map. I used map tiler to convert my image into map tiles , but wondering how would I be able to implement this in my application?
-2
votes
1 answer

How to create a dynamic tile portfolio?

I wanted to know what is the way of creating a tile-based portfolio like this: http://prothemeus.com/demo/litho/ I mean I know it must be a mixed thing of jQuery and CSS3 and stuff... I wanted to know how should I create one! Thanks in advance
Musketeer
  • 37
  • 5
-3
votes
1 answer

How can I make zoomable square table in SFML?

How can I make zoomable square table like in the picture below? At first, there is no tile in squares. but when zoom in, tiles are slowly appearing inside squares. And another question, can I have paint bucket tool and use to fill my tile then…
delio
  • 73
  • 1
  • 2
  • 9
-4
votes
1 answer

how can we make beautiful tile in flutter?

my amigos... can i get the code of this in flutter? i don't have any explanation more. bring me the code right now!! i'm so new about flutter, help me pls. Container( padding: EdgeInsets.fromLTRB(10, 10, 10, 0), height: 220, …
-4
votes
1 answer
-4
votes
2 answers

javascript 2d tile based game rendering (terraria-style)

I have made terraria clones in the past. They're quite fun as a project, I find. But with the 1.2 update of Terraria, I want a clone that I can run on any computer anywhere anytime. So I'm working with HTML5. At first, I thought it would be simple -…
1 2 3
59
60