Hey everybody ! Just me again.
So I've spent a little time trying to make a pseudo-3d map with a player you can move.
There's a simple editor (press "e" and drag a zone with a left clic to add blocks, right to remove them) and a grid ("g")
Move the player with arrow keys, it can only climb on blocks with up to one level difference
I then added functionality for a camera (without löve's built-in camera) which moves when the player reaches sides of the screen
So it's pretty straight forward and quite useless as it's not really a game but I think the fact it works is something already
Well I'd really like to know what you guys think of it and possibly a simple game to make with this
--edit--
Also normally you can press "v" to change the view to a 2d view, but it doesn't work well with the "camera" right now :S
--edit--
Well now it works ! great. also made the movements ever so slightly smoother.
--edit--
woohoo lots of new changes in the all new and exciting v1.3 !!! this will blow you to pieces. yellow background ? heavenly ! borders ? magical ! camera moves around the player ? awesome !
So, what are you waiting for ? Download your own copy for less than $9.99 an hour if you click within the next five seconds
3d map test
3d map test
- Attachments
-
- 3d.love
- 3d map v1.3 (changed colors, added borders, changed camera movement, added transparency for the player)
- (5.91 KiB) Downloaded 493 times
-
- 3d.love
- 3d map v1.3 +debug.lua
- (5.91 KiB) Downloaded 310 times
Last edited by trosh on Fri Dec 16, 2011 9:01 pm, edited 3 times in total.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: 3d map test
Hm, if I click a few times when in editor mode, it adds layer upon layer, but after a few times it crashes (comparing number to nil).
Help us help you: attach a .love.
Re: 3d map test
I can't seem to reproduce the bug ? I'm using 0.7, could that change something ? Well thx anyway
- lots_of_birds
- Prole
- Posts: 13
- Joined: Sun Dec 11, 2011 12:09 pm
Re: 3d map test
I thinks what you've done is awesome, and for me, it's absolutely stable
now, for a little game... maybe some kind of game like greed corp would not be too complicated.
Assets are few, two type of units and two type of factory.
factory type one create units if you pay money
factory type two give money but destroy all squares around, lowering them by 1 unit, until it falls apart.
Pretty addictive game, and it may use the different levels of Z.
now, for a little game... maybe some kind of game like greed corp would not be too complicated.
Assets are few, two type of units and two type of factory.
factory type one create units if you pay money
factory type two give money but destroy all squares around, lowering them by 1 unit, until it falls apart.
Pretty addictive game, and it may use the different levels of Z.
- Taehl
- Dreaming in associative arrays
- Posts: 1025
- Joined: Mon Jan 11, 2010 5:07 am
- Location: CA, USA
- Contact:
Re: 3d map test
Looks pretty neat. Going to make an isometric version?
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: 3d map test
Hm, very strange. Line 109 was it. It sometimes happens the first time I click, sometimes only after a while, but always in editor mode after I click on the screen somewhere.trosh wrote:I can't seem to reproduce the bug ? I'm using 0.7, could that change something ? Well thx anyway
I'm running the same LÖVE version, that can't be it.
Help us help you: attach a .love.
Re: 3d map test
Nice Z-index Engine. I noticed one strange detail. You can go close to left border but can't go near right border?
Re: 3d map test
Hold down arrows to do that
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: 3d map test
ok thanks, but a bit weird way Nixola.Nixola wrote:Hold down arrows to do that
Re: 3d map test
Nice, at first I couldn't see the 3D effect but when I drew some more it suddenly hit me xD Very nice, reminds me of some table game pieces
Who is online
Users browsing this forum: No registered users and 4 guests