Hi,
I started programming an isometric 2,5D game:
Edit: updated file to fix level1.lua loading problem
Edit (Oct 11): Uploaded canvas free version
Edit (Oct 12): fixed problem with too large image
Here is a screenshot
arrow keys: movement
a: jump
w,s: raise/lower current tile
e,d: change current tile type
espace: quit
As you can see, the objects in the game are calculated in 3d, while the graphics are in 2d.
Unfortunately, I haven decided yet, what kind of game I want to make out of that. Here are some Ideas:
- Golf/Mini Golf: This is nice because the golf ball could "use" slopes and roll around in a physical manner
- Tower-Defense: With enemies that use pathfinding etc.
- Tower-Defense extendet: Tower-Defense with an additional player character that can run around, shoot and enter towers to control them
- Mission-based action shooter: with a player like it is at the moment and a mission in each map (e.g. kill some enemy, enter a building, survive, get rescued...), I'd probably prefer some James Bond like special agent setting
- Story-based action adventure: Similar to Zelda with a real story line
What kind of game do you prefer?
Secondly, I tried expanding the code to make the map rotate:
left/right: rotate map
space: stop rotation
This is also more a 2d graphic, as things do not get smaller, if they are further away. Still it looks nice, I think. Do you think this rotation ability would improve the above game? Or is it making things more confusing?
Isometric 2,5D game
Isometric 2,5D game
Last edited by micha on Fri Oct 12, 2012 8:56 pm, edited 3 times in total.
Check out my blog on gamedev
Re: Isometric 2,5D game
I think that 90° rotation would be enough and perfect
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Isometric 2,5D game
I got an error saying it couldn't find "level1.lua" but fixed it by replacing line 63 in main.lua with:
I don't have much to say except it looks really cool. I'm looking forward to seeing what this develops into.
Code: Select all
( love.filesystem.load("level1.lua") )()
Re: Isometric 2,5D game
I just had to unzip the .love and run the folder via command promptKadoba wrote:I got an error saying it couldn't find "level1.lua" but fixed it by replacing line 63 in main.lua with:Code: Select all
( love.filesystem.load("level1.lua") )()
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Isometric 2,5D game
I don't mean to be mean, but Y U USE CANVASES
I can't judge it off screenshots or gameplay videos, so, for now, that's about all I can say about your first attachment.
Just a suggestion, if you use canvases/pixeleffects/anything else that some graphics cards can't display, Post screenshots, gameplay videos, and anything else you can to show them what the game is like, so people like me don't just say:
I can't judge it off screenshots or gameplay videos, so, for now, that's about all I can say about your first attachment.
Just a suggestion, if you use canvases/pixeleffects/anything else that some graphics cards can't display, Post screenshots, gameplay videos, and anything else you can to show them what the game is like, so people like me don't just say:
Right now, all i can say is this:Nsmurf wrote:Y U USE CANVASES
- Rotation thing looks cool, but I'd leave it out of a game, because the orthogonal perspective looks kinda bad.
- On the rotation thing, there is no upper limit to rotation, so if you make the game with rotation, I would fix that.
- Tower defense would be fun, or if you want to do your extended idea you could have the player need to spend time actually walking around and "building" the towers while trying not to get overrun with enemies.
- A mini golf *GAME*?!?! To me, that seems kind of stupid, but some people might like it, I don't know.
Re: Isometric 2,5D game
Thanks for that hint. Fixed the problem in the original post.Kadoba wrote:I got an error saying it couldn't find "level1.lua" but fixed it by replacing line 63 in main.lua with:Code: Select all
( love.filesystem.load("level1.lua") )()
I use canvases for performance reasons. Until now I was not aware that canvases can't be displayed on some graphics cards. Also the documentation doesn't say anything about that: https://love2d.org/wiki/Canvas. Is that a common problem?Nsmurf wrote:I don't mean to be mean, but Y U USE CANVASES
[...]
Just a suggestion, if you use canvases/pixeleffects/anything else that some graphics cards can't display, Post screenshots, gameplay videos, and anything else you can to show them what the game is like, so people like me don't just say:
For future work I will consider writing a canvas-free version of the game.
I added a screenshot to the original post.
Check out my blog on gamedev
- Roland_Yonaba
- Inner party member
- Posts: 1563
- Joined: Tue Jun 21, 2011 6:08 pm
- Location: Ouagadougou (Burkina Faso)
- Contact:
Re: Isometric 2,5D game
That is looking good.
I can't try, though, my graphic card doesn't support Canvas (too).
Also, for what it's worth, I dunno if this could help, but you can try to tabulate sine, cosine function.
Maybe you'll gain in speed, as trigonometrical computations are quite expensive.
Or at least, memoize them.
I can't try, though, my graphic card doesn't support Canvas (too).
Definitely.micha wrote: I use canvases for performance reasons. Until now I was not aware that canvases can't be displayed on some graphics cards. Also the documentation doesn't say anything about that: https://love2d.org/wiki/Canvas. Is that a common problem?
For future work I will consider writing a canvas-free version of the game.
Also, for what it's worth, I dunno if this could help, but you can try to tabulate sine, cosine function.
Maybe you'll gain in speed, as trigonometrical computations are quite expensive.
Or at least, memoize them.
Re: Isometric 2,5D game
You can use love.graphics.isSupported to test for Canvas and other fancy graphics card features.
ALL CREATURE WILL DIE AND ALL THE THINGS WILL BE BROKEN. THAT'S THE LAW OF SAMURAI.
Re: Isometric 2,5D game
That's always a good idea especially if you only use canvases for one effect or something like that. I didn't look at your code much though, so i don't know how much it uses it.pk wrote:You can use love.graphics.isSupported to test for Canvas and other fancy graphics card features.
Yes, it is a common problem, especially on older PC's (like mine ). Should i add something to the wiki about how some PC's don't have canvas support?micha wrote: Until now I was not aware that canvases can't be displayed on some graphics cards. Also the documentation doesn't say anything about that: https://love2d.org/wiki/Canvas. Is that a common problem?
That would be awesome!micha wrote:For future work I will consider writing a canvas-free version of the game.
thanks, it's looking good. I can't wait to see what you make out of this! Are you planning to publish the framework as an engine?micha wrote:I added a screenshot to the original post.
[offtopic]Woot, 50th post![/offtopic]
Re: Isometric 2,5D game
If you fall of the edges and try to modify the tile you're on, it crashes trying to index nil
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Who is online
Users browsing this forum: MrFariator and 2 guests