Search found 14 matches
- Thu Dec 28, 2017 6:02 am
- Forum: Support and Development
- Topic: 2d arrays of arbitrary size
- Replies: 6
- Views: 7886
Re: 2d arrays of arbitrary size
Hi! This is how I do it, but I don't know if it's the best way or does what your asking. This would be if your are wanting something of a grid: grid = {} gridWidth = 32 gridHeight = 32 worldWidth = 64 worldHeight = 64 for col=1, worldWidth do grid[col] = {} for row=1, worldHeight do grid[col][row] =...
- Tue Dec 12, 2017 2:50 pm
- Forum: General
- Topic: Why faking 3D nowadays?
- Replies: 46
- Views: 39918
Re: Why faking 3D nowadays?
Greetings! I LOVE 2.5D (layered sprites). However, I am an extreme amateur at programming and my only projects include fake 3D. In addition to my signature, I have made a series of color, shape, and physics libraries designed around 2.5D that can me seen here: Isometric Physics Model Isometric Color...
- Sat Oct 28, 2017 4:31 pm
- Forum: General
- Topic: making a platform game with destructible terrain?
- Replies: 4
- Views: 4310
Re: making a platform game with destructible terrain?
If you haven't found a solution already, I actually use destructible terrain in my current project (albeit more tile destruction, not worms style). I did it by having my tile loader spawn objects with a health attribute and during a bullet collision event, the health of the object is subtracted by t...
- Sat Oct 28, 2017 4:14 pm
- Forum: Support and Development
- Topic: How to correctly convert 1D Tiled Array? (Jumper)
- Replies: 5
- Views: 3667
How to correctly convert 1D Tiled Array? (Jumper)
I am learning the pathfinding library Jumper and am attempting to replicate some basic examples however I am running into a map format issue. Here is my code: function love.load() --MapSize for Square Map local mapSize = 64 local walkable = 0 local map = { --Snip 1D Tiled Array Format } --Initialize...