A regular tessellation of a surface to create uniform, contiguous cells arranged in a consistent pattern.
1
vote
0answers
52 views
Animate Unit Movement on Tiled Grid
I'm writing a turn-based strategy game the uses a grid in Java. I use Swing for the windows, but paint the Grid with Graphics2D. I've already come up with two working solutions, but I'm not sure ...
0
votes
1answer
34 views
Triangular grid and rendering to a texture (Direct3D 11)
Is it possible to render vertex data from a triangular grid into a texture with a same size (i.e. 3x3 vertices to 3x3 pixels - each pixel is representing one vertex)?
Consider following situation. I ...
-1
votes
1answer
31 views
Grid based Collision Detection between circles [duplicate]
I am working on a 2d arcade game where I have 5 types of circles with different sizes: The ship, the missiles, and 3 types of monsters.
This is what it looks like:
Currently I'm using brute force ...
0
votes
1answer
109 views
How to implement uniform grids
Up until now, I implemented all-against-all collision detection in my games. It worked fine.
But I reached a point where implementing this kind of collision detection, makes the game run poorly, ...
0
votes
0answers
67 views
Obstacle generation on a grid
I have a 2D grid. I'd like to place items and obstacles randomly. I also have a starting point. My main goal is to place the obstacles in a way that all the items are still collectable. What is the ...
0
votes
2answers
156 views
Filling in gaps in a grid
I have a set of terrain sprites available to represent terrain:
Flat
North-South Straight Cliff (x 2 allowing for slope direction either way)
West-East Straight Cliff (x 2 allowing for slope ...
1
vote
1answer
63 views
Where can I find info on grid based algorithms for stateless AI? [closed]
There seems to be an overwhelming amount of info out there on AI of all kinds, and it's kind hard to digest at once.
For my testing purposes, I'm creating a "typical stateless AI", as described in ...
0
votes
1answer
67 views
What size textures do I need for a 2D grid based game if my tiles are larger than textures I have?
I'm building a grid-based game for iPad, and for usability purposes I've selected my game grid to be built of 75x75 squares. However, so far I've seen that the majority of (free)texture catalogs I can ...
0
votes
1answer
123 views
Overlaying grid for pathfinding
I have a simple problem. My game is not grid-based, so units can be at any arbitrary coordinate and move at different speeds. My obstacles are all rectangular and axis-aligned, so naturally it makes ...
1
vote
2answers
86 views
Show a range grid movement as3
How do I show range of grid movement in AS3? When player controls a character and chooses "move" options, the grid of movement will be displayed as 3 grid of X, 4 grid of Y (Both sides, + and -). So, ...
1
vote
1answer
228 views
Grid-Based 2D Lighting Problems
I am aware this question has been asked before, but unfortunately I am new to the language, so the complicated explanations I've found do not help me in the least.
I need a lighting engine for my ...
9
votes
2answers
248 views
Falling Blocks and complex shapes
I currently have a simple Tetris-like game and have come across a problem I cannot solve.
Unlike Tetris where there is a single falling shape, I have multiple, potentially interlocking shapes that ...
1
vote
1answer
208 views
Path finding in hex grid based game
I'm making a TBS with hex grid. Player can move units from one hex to another using bridges, which will be randomly generated. I'm using cubic and axial coordinate system for my grid, it's well ...
0
votes
0answers
50 views
Tetris-like wall-kicking not working [duplicate]
So I'm making a falling-block puzzle game. It's not a Tetris clone, but the block clusters move in a similar fashion. I want to make it so that if you rotate against a wall, or against another ...
2
votes
2answers
669 views
How to code a Game Grid in Java?
Suppose I wanted to code a game grid in java. Not an abstract text one but an actual grid with graphics and 'cells'. Would I have to draw line by line or is there a more efficient way? Also how would ...