Minecraft/Terraria like block engine [wip]

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Minecraft/Terraria like block engine [wip]

Post by bartbes »

Also, if you're using quads, they don't have to be po2, the source image has to.
User avatar
veethree
Inner party member
Posts: 875
Joined: Sat Dec 10, 2011 7:18 pm

Re: Minecraft/Terraria like block engine [wip]

Post by veethree »

bartbes wrote:Also, if you're using quads, they don't have to be po2, the source image has to.
Okay i don't get the po2 at all. Why does the size of the source matter if what you're drawing is po2? and the source is 512x512 so that's not the issue. lol
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Minecraft/Terraria like block engine [wip]

Post by Nixola »

The issues are bg and fade, I can't explain why does the source size matter but now I get why I could draw npot quads...
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
legendman3
Citizen
Posts: 68
Joined: Sun Jan 22, 2012 8:29 pm

Re: Minecraft/Terraria like block engine [wip]

Post by legendman3 »

I dont have a middle mouse button(laptop) so can you change the key? :P
User avatar
veethree
Inner party member
Posts: 875
Joined: Sat Dec 10, 2011 7:18 pm

Re: Minecraft/Terraria like block engine [wip]

Post by veethree »

legendman3 wrote:I dont have a middle mouse button(laptop) so can you change the key? :P
In the love i attached to this comment you can switch blocks with the up and down arrow keys :D
Attachments
minecraft.love
(136.83 KiB) Downloaded 178 times
User avatar
baconhawka7x
Party member
Posts: 491
Joined: Mon Nov 21, 2011 7:05 am
Location: Oregon, USA
Contact:

Re: Minecraft/Terraria like block engine [wip]

Post by baconhawka7x »

I stole some of your art in my bug-filled Z0mb3h Ga3m. Just sayin thanks lol(I hate going through and cutting them out of the 'terrain.png' in the minecraft filesXP) if that's even what you did, IDK lol.
User avatar
veethree
Inner party member
Posts: 875
Joined: Sat Dec 10, 2011 7:18 pm

Re: Minecraft/Terraria like block engine [wip]

Post by veethree »

baconhawka7x wrote:I stole some of your art in my bug-filled Z0mb3h Ga3m. Just sayin thanks lol(I hate going through and cutting them out of the 'terrain.png' in the minecraft filesXP) if that's even what you did, IDK lol.
haha i don't really deserve any credit..not a big effort cutting them out. Newer versions of this use the actual terrain.png and quads though..Suggestion for your game? ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 211 guests