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 » Sun Apr 01, 2012 7:24 pm

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: 820
Joined: Sat Dec 10, 2011 7:18 pm

Re: Minecraft/Terraria like block engine [wip]

Post by veethree » Sun Apr 01, 2012 7:37 pm

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: 1941
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Minecraft/Terraria like block engine [wip]

Post by Nixola » Sun Apr 01, 2012 7:44 pm

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 » Mon Apr 02, 2012 11:36 pm

I dont have a middle mouse button(laptop) so can you change the key? :P

User avatar
veethree
Inner party member
Posts: 820
Joined: Sat Dec 10, 2011 7:18 pm

Re: Minecraft/Terraria like block engine [wip]

Post by veethree » Tue Apr 03, 2012 12:43 am

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 111 times

User avatar
baconhawka7x
Party member
Posts: 484
Joined: Mon Nov 21, 2011 7:05 am
Contact:

Re: Minecraft/Terraria like block engine [wip]

Post by baconhawka7x » Tue Apr 03, 2012 5:33 pm

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: 820
Joined: Sat Dec 10, 2011 7:18 pm

Re: Minecraft/Terraria like block engine [wip]

Post by veethree » Tue Apr 03, 2012 9:08 pm

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 7 guests