Posted By
|
Message
|
Superslimeboy President of Space
Registered 24/12/2012 09:15:07
Points 55
|
24th December, 2012 at 24/12/2012 15:52:44 -
Hello, I am programing a create-destroy engine, and there are no problems with the coding there. My problem lies within creating random terrain for the game. I am using 32x32 "blocks" and want them to be on top of eachother in this order: (1)Grass,(2)Dirt, (3)Dirt-to=stone, and stone. I frankly don't know how to do this.
Thanks. (MFA would be nice.)
I forgive you, Wheatly.
|
UrbanMonk BRING BACK MITCH
Registered 07/07/2008
Points 49667
|
25th December, 2012 at 25/12/2012 08:14:04 -
Well for a 2D environment creating a random terrain generator shouldn't be too difficult.
The most difficult part will be making it look natural.
But here you go, this should start you on the right track. I'm not going to make your game for you though, so give this code a look and figure it out!
http://soapcow.com/hotlink-ok/2DminecraftEngine.zip
n/a
|
Superslimeboy President of Space
Registered 24/12/2012 09:15:07
Points 55
|
25th December, 2012 at 25/12/2012 18:26:54 -
Thanks a lot! I never intended someone to make it for me, just show me an MFA if they had one. Thanks!
I forgive you, Wheatly.
|
UrbanMonk BRING BACK MITCH
Registered 07/07/2008
Points 49667
|
25th December, 2012 at 25/12/2012 18:51:31 -
I'm interested in seeing what you make with this!
Can you send me updates about it when you have something playable?
Thanks!
n/a
|
Superslimeboy President of Space
Registered 24/12/2012 09:15:07
Points 55
|
25th December, 2012 at 25/12/2012 20:14:05 -
I'd be happy to! im making a platformer andone level will be random so you can't just do the same thing.
I'll make a zip file with the library, MFA, and EXE if you like. Meh, ill send it anyways.
I forgive you, Wheatly.
|
|
|