Minecraft/Terraria like block engine [wip]

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
veethree
Inner party member
Posts: 875
Joined: Sat Dec 10, 2011 7:18 pm

Minecraft/Terraria like block engine [wip]

Post by veethree »

So i've been working on and off on a simplistic 2d minecraft clone for a while. Rewrote the whole thing today. Decided to throw my progress up here in hopes of getting some suggestions and/or tips ;)

Finished things:
-Placing and removing blocks
-Very basic random world generation
-Clear Button to remove all existing blocks
-"New world" key to generate a new random world ("n" on the keyboard)
-Hud with useless information which can be toggled with F3
-Hud showing which block is currently selected

Things to do:
-Add a player and turn this into more of a game
-Improve the world generation
-Add a camera with parallax scrolling and other cool s**t
-Make worlds bigger(They only fill up the screen right now)
-More block types
-Trees and maybe caves and stuff
-Day and night cycle (maybe)
-Blocks affected by gravity
-Maybe add original block textures, I'm not that good with pixel art or whatever though.

Things to do which require greater skill level than mine:
-Mobs
-etc.

Controls:
- Place Block: Left mouse button
- Remove Block: Right mouse button
- switch between blocks: middle mouse button
- Toggle useless info: F3
- New Random World: n

UPDATE: Version 0.02
Changes:
-Few extra block types
-Slightly adjusted world generation that includes some of the new blocks.

UPDATE: Version 0.03
Changes:
- Now uses quads and an enlarged terrain.png from minecraft instead of individual images

Excuse my lack of creativity, i suck at coming up with original ideas. This whole thing is just made for fun, Don't plan on selling it or anything like that.

Screenshots:
Made this due to boredom: (outdated screenshot from version 0.01)
Image

and this is how a typical random world looks like right now: (outdated screenshot from version 0.01)
Image
Last edited by veethree on Tue Apr 03, 2012 12:50 am, edited 6 times in total.
User avatar
Tesselode
Party member
Posts: 555
Joined: Fri Jul 23, 2010 7:55 pm

Re: Minecraft like block engine [wip]

Post by Tesselode »

So wait a second, let me get this straight...

You're making a game in Love...with good graphics?!? :O
User avatar
veethree
Inner party member
Posts: 875
Joined: Sat Dec 10, 2011 7:18 pm

Re: Minecraft like block engine [wip]

Post by veethree »

Tesselode wrote:So wait a second, let me get this straight...

You're making a game in Love...with good graphics?!? :O
Wouldn't say that haha, Don't think minecraft textures can be called "good graphics"
User avatar
MarekkPie
Inner party member
Posts: 587
Joined: Wed Dec 28, 2011 4:48 pm
Contact:

Re: Minecraft like block engine [wip]

Post by MarekkPie »

I've rolled my face on the keyboard several times with no results on understanding the controls.
User avatar
veethree
Inner party member
Posts: 875
Joined: Sat Dec 10, 2011 7:18 pm

Re: Minecraft like block engine [wip]

Post by veethree »

MarekkPie wrote:I've rolled my face on the keyboard several times with no results on understanding the controls.
I've updated the original post to include info about the controls.
User avatar
Larsii30
Party member
Posts: 267
Joined: Sun Sep 11, 2011 9:36 am
Location: Germany

Re: Minecraft like block engine [wip]

Post by Larsii30 »

Cool.
You should implement a function to load an terrain.png out of minecraft texture packs.
This would be easy and very nice to use the own texture pack (only 32x) .
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Minecraft like block engine [wip]

Post by kikito »

The title is a bit misleading. Minecraft is remarkably 3d. "Terraria like block engine" would have been more appropiate.

Other than that, this looks very nice.
When I write def I mean function.
rickydaan
Prole
Posts: 4
Joined: Tue Mar 20, 2012 5:04 pm

Re: Minecraft like block engine [wip]

Post by rickydaan »

Hey, Could i help you?
User avatar
veethree
Inner party member
Posts: 875
Joined: Sat Dec 10, 2011 7:18 pm

Re: Minecraft like block engine [wip]

Post by veethree »

rickydaan wrote:Hey, Could i help you?
I'm not really working on this anymore. Sort of abandoned it. Only thing i've done since i posted this is adding a few more blocks and slightly changing the world generation to spawn ores underground.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Minecraft like block engine [wip]

Post by Nixola »

Can you send the updated .love file to me? I'd be intersted in working on this
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 45 guests