Omnimaga

General Discussion => Technology and Development => Computer Projects and Ideas => Topic started by: Spyro543 on April 11, 2012, 02:00:53 am

Title: MC land - a little minecraft clone
Post by: Spyro543 on April 11, 2012, 02:00:53 am
For no apparent reason, I'm working on a little Minecraft clone in GML (Game Maker). I only have digging, simple world generation, and player movement so far.

VERSION 0.2 ADDS BUILDING!!! CHECK IT OUT NOW!!!

To build, right click anywhere you want to place a block. Select the block you want to build with by using the number keys at the top of your keyboard.


There is now a website for MC Land! http://acrennie.wix.com/mcland (http://acrennie.wix.com/mcland)

Here are some stats and stuff:
Stuff I am going to add next
Stuff already implemented
Version History & Download
Source code of newest version: download (http://dl.dropbox.com/u/36428286/mcland/mcland.gm81)

PRESS F1 TO VIEW README

Screenshots of version 0.1.1:
Spoiler For Spoiler:
Here is the startup screen:
(http://i.imgur.com/HvBxe.png)

This is a randomly generated level with lots of trees:
(http://i.imgur.com/v9qwk.png)

This is the pause menu:
(http://i.imgur.com/k4d7y.png)

And here's me tunneling underground; and all the ores are visible:
(http://i.imgur.com/on6U4.png)
Screenshots of version 0.1.2:
Spoiler For Spoiler:
I made a huge crater, and you can see the inventory system at the bottom of the screen:
(http://i.imgur.com/p5ItJ.png)
Screenshots of version 0.1.3:
Spoiler For Spoiler:
Here is the newly generated lake:
(http://i.imgur.com/2Rrcl.png)
Screenshots of version 0.2:
Spoiler For Spoiler:
What's this? A giant "HI"? But those don't generate randomly! It was built!
(http://i.imgur.com/CaHLq.png)

Spyro's happy sea-side cabin.
(http://i.imgur.com/eoEZY.png)
Title: Re: MC land - a little minecraft clone
Post by: DJ Omnimaga on April 11, 2012, 02:05:06 am
I'm gonna try it in a few minutes. By the way how is map making in GM? I always found it to be kinda hard, because it seemed like you had to manually implement scrolling my making tiles move around rather than the camera moving around, like on calcs. In RPG Maker I could move the camera around without having to manually move the map around. But of course the last time I tried GM was in 2007.

EDIT: Tried it. I think you need to make jumping much slower O.O
Title: Re: MC land - a little minecraft clone
Post by: Spyro543 on April 11, 2012, 02:28:53 am
Actually when editing maps you can use "views" which are basically cameras. That's what I use in MC Land.
Title: Re: MC land - a little minecraft clone
Post by: DJ Omnimaga on April 11, 2012, 02:50:00 am
Ah ok. I didn't see that option in GM when I last tried it. Basically I just had a 100x20 tilemap and just manually moved around the 2000 tiles. Surpringsly it was fast, but I assume that must be quite slow if you have larger maps or an old computer.
Title: Re: MC land - a little minecraft clone
Post by: Jonius7 on April 13, 2012, 07:02:55 am
What version of Game Maker are you using Spyro?
And also what version did you use DJ_O?
EDIT: looks pretty nice so far. The mineral sprites remind me of a flash game called motherload. :D
Title: Re: MC land - a little minecraft clone
Post by: ben_g on April 14, 2012, 06:56:59 pm
you should try to use GM8.0. It hasn't got a watermark in the free version.

You should also try to make you keep walking in a direction when you hold down an arrow key.
Title: Re: MC land - a little minecraft clone
Post by: LincolnB on April 14, 2012, 09:58:24 pm
Google chrome thinks the executable is malicious. Is it malicious?
Title: Re: MC land - a little minecraft clone
Post by: leafy on April 15, 2012, 12:21:52 am
Chrome thinks all executables are malicious :P
Title: Re: MC land - a little minecraft clone
Post by: DJ Omnimaga on April 15, 2012, 01:55:23 am
What version of Game Maker are you using Spyro?
And also what version did you use DJ_O?
EDIT: looks pretty nice so far. The mineral sprites remind me of a flash game called motherload. :D
I don,t remember, sadly.

Google chrome thinks the executable is malicious. Is it malicious?
It should be fine. Maybe because when closing the game, it shows a GameMaker ad and Chrome thinks it's adware?
Title: Re: MC land - a little minecraft clone
Post by: LincolnB on April 15, 2012, 03:47:10 pm
Chrome thinks all executables are malicious :P

Most have actually been fine for me, just checking :D
Title: Re: MC land - a little minecraft clone
Post by: Spyro543 on April 17, 2012, 03:14:13 pm
Sorry about the Game Maker ad thing. I bought Game Maker 8.0, and YoYo Games said you could use the same license code on 8.1, and I did, and it didn't work...so I tried 8.0 again, which didn't work either. :/
Title: Re: MC land - a little minecraft clone
Post by: DJ Omnimaga on April 17, 2012, 04:00:34 pm
Strange, could you maybe ask them? Because it isn't supposed to happen and if they don't help you then you got scammed.
Title: Re: MC land - a little minecraft clone
Post by: Spyro543 on May 03, 2012, 03:29:53 pm
Just want to let everyone know I am still working on this. I'm making more sprites for tools and items, and I'm going to get sand falling soon.
Title: Re: MC land - a little minecraft clone
Post by: Spyro543 on May 11, 2012, 09:09:39 pm
YAY UPDATES!!!
Version 0.1.2 is now officially released! Check first post for details and download and screenshots.
Title: Re: MC land - a little minecraft clone
Post by: DJ Omnimaga on May 11, 2012, 11:42:21 pm
Oh nice to see this is still worked on :) I'll try it soon when I have time :)
Title: Re: MC land - a little minecraft clone
Post by: turiqwalrus on May 12, 2012, 04:29:10 am
So, time for some graphics feedback:
-Grass and Leaves are somewhat too bright. I'd recommend darkening those a bit for a more 'natural' look.
-Logs look a bit weird. Maybe intersperse those vertical lines with some shorter Diagonal/horizontal to make them look more like bark.
-Stone and Ores look good. However, if you have some lighter pixels, etc. in the stone, you should probably put the same in the ores(at the moment it's all the same shade of gray except for the ore itself.)
-Last point: would you be able to easily add a background? the purple doesn't look right :P

Sorry if I'm a bit OCD about this... I'm insanely picky on pixel art. Feel free to ignore any of what I said, though. This already looks pretty nice, so I'd focus on the game mechanics first ;)

Title: Re: MC land - a little minecraft clone
Post by: Spyro543 on May 12, 2012, 08:24:49 am
Sorry if I'm a bit OCD about this... I'm insanely picky on pixel art. Feel free to ignore any of what I said, though. This already looks pretty nice, so I'd focus on the game mechanics first ;)
Nah, it's OK. I'm not quite satisfied with the graphics myself, but I'll get the game mechanics working right before I start messing around with graphics ;)
Title: Re: MC land - a little minecraft clone
Post by: turiqwalrus on May 12, 2012, 09:12:27 am
If you give me dimensions and a list of sprites to make, I'd try to help ;)
Title: Re: MC land - a little minecraft clone
Post by: Spyro543 on October 31, 2012, 03:35:51 pm
Finally, AN UPDATE!

Check the first post in the topic for screenies and download link of new version 0.1.3. This version adds water, sand (it falls!), and lakes that randomly generate.
Title: Re: MC land - a little minecraft clone
Post by: DJ Omnimaga on October 31, 2012, 03:39:18 pm
We can't jump anymore? O.O Or did you change the controls? Could you post them?

Also nice to see this updated again. As for the water it doesn't seems to work, though. I'm standing on it and I don't fall in it. D: (unless what I'm standing on is actually ice?)

Also suggestion: Add key repeat for moving around. I hate having to repeatdely press arrow keys to move around D:
Title: Re: MC land - a little minecraft clone
Post by: Spyro543 on October 31, 2012, 03:40:49 pm
Oh yes. That is something I forgot to implement. Also I took out jumping because it was so buggy and I'm still trying to fix it. 0.2 (or 0.1.4) should have jumping and swimming.
Title: Re: MC land - a little minecraft clone
Post by: DJ Omnimaga on October 31, 2012, 03:51:07 pm
Ah ok thanks for the info. Also I like the water generation lol. I made a giant cavern then carved a hole at the top and it was fun to see it get filled.
Title: Re: MC land - a little minecraft clone
Post by: Spyro543 on November 01, 2012, 03:52:18 pm
VERSION 0.2 IS OUT!!!!! CHECK THE FIRST POST OF THE TOPIC FOR THE DOWNLOAD LINK AND SCREENIES!!!!!

This version adds building and jumping! They are both quite buggy, though.
Title: Re: MC land - a little minecraft clone
Post by: ben_g on November 01, 2012, 05:20:34 pm
BUG REPORT: The jumping looked all right at the start of the game, but as soon as I started destroying blocks, the framerate dropped to approximately 1fps, and from then it started going slower and slower untill I had to hold down escape for over 10 seconds to close it.
Title: Re: MC land - a little minecraft clone
Post by: Spyro543 on November 01, 2012, 07:02:52 pm
That's a problem with the water. What happens is that if lakes generate halfway outside the world, the water starts spewing out all over the void, causing infinite calculations and extreme slowness. Just generate a new world if this happens ([ESC] -> Restart -> New World).
Title: Re: MC land - a little minecraft clone
Post by: Spyro543 on November 01, 2012, 08:11:05 pm
I fixed the lake generation bug. Here it is in beta 0.3b1: https://dl.dropbox.com/u/36428286/mcland/betas/mcland_0.3b1.exe (https://dl.dropbox.com/u/36428286/mcland/betas/mcland_0.3b1.exe)

Also, I set up a website for this project! Check it out http://acrennie.wix.com/mcland (http://acrennie.wix.com/mcland)
Title: Re: Re: MC land - a little minecraft clone
Post by: DJ Omnimaga on November 01, 2012, 09:26:50 pm
Will try new version when i arrive home later. Nice to see new updates. Does the new version add key repeat. For movement btw?

EDIT: By the way on your site the 0.3 beta link doesn't work. It just sits there loading, but nothing ever happens. 0.2 downloaded fine, though.
Title: Re: MC land - a little minecraft clone
Post by: Spyro543 on November 02, 2012, 06:51:15 am
I don't have any problems with the 0.3b1 download, did you try multiple times? It could have been Dropbox going slow.
Title: Re: MC land - a little minecraft clone
Post by: ElementCoder on November 02, 2012, 06:54:51 am
Yay a website :D The update sounds great, gonna try this when I get back home.
Title: Re: MC land - a little minecraft clone
Post by: Spyro543 on November 02, 2012, 09:52:59 am
MC Land Beta 0.3b2 is now out! Download here (http://dl.dropbox.com/u/36428286/mcland/betas/mcland_0.3b2.exe) or look on the website (http://acrennie.wix.com/mcland#!beta/cee5).
Title: Re: MC land - a little minecraft clone
Post by: ben_g on November 02, 2012, 02:46:59 pm
an other bug report: when underwater, pressing D will make you able to go trough walls. I also noticed that sand when it falls sometimes leaves behind a dirt block at it's original location. (This is in the most recent version)
Title: Re: MC land - a little minecraft clone
Post by: DJ Omnimaga on November 12, 2012, 01:53:23 am
I have downloaded the new version and I will give it a try when I have some time.
Title: Re: MC land - a little minecraft clone
Post by: DJ Omnimaga on March 04, 2013, 12:18:15 am
I finally got time to try the latest beta and it seems that right collision detection is broken D:

Also when you place the cursor right next to the player when moving left, it acts like a block.
Title: Re: MC land - a little minecraft clone
Post by: Spyro543 on March 11, 2013, 09:01:39 am
What do you mean by right collision detection?

Also I have been working on this, but i made a huge mess  of the code while trying to fix the various lake generation bugs, and i'm trying to fix a bug in which the game stops recognizing that there a variables for the inventory and crashes on start O-o
Title: Re: MC land - a little minecraft clone
Post by: Spyro543 on March 15, 2013, 10:53:02 am
I'd like your guys' opinion on ore generation. Are rare ores too common? Are common ores too rare?, etc.
Title: Re: MC land - a little minecraft clone
Post by: DJ Omnimaga on March 15, 2013, 09:28:35 pm
By right collision I meant collision detection when moving to the right. Basically I could get through blocks or not >.<