Random level generator by lcl

Learn how to make certain types of games and use gameEditor.

Random level generator by lcl

Postby lcl » Sat Dec 04, 2010 11:15 pm

Ok guys, I made that for kren, but
since it seemed so great I chose to send it here. :D
Screenshot.png

The level in the picture has been made totally randomly and with code.
(yeah the graphics are awful but I hope it doesn't lower your interest to this :lol:)

The level is created at startup, you can "play" it through with
the pacman using a, w, and d.

Anyway, look to the code and figure it out. :D
And tell me what you think! :D
RandomLevel.zip
+ 12 downloads xD
(4.15 KiB) Downloaded 488 times
Last edited by lcl on Mon Dec 06, 2010 5:06 pm, edited 3 times in total.
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Random level generator by lcl

Postby lllllvenomlllll » Sun Dec 05, 2010 8:52 pm

umm dont help much without the source file
lllllvenomlllll
 
Posts: 20
Joined: Wed Dec 01, 2010 10:21 am
Score: 0 Give a positive score

Re: Random level generator by lcl

Postby lcl » Sun Dec 05, 2010 11:48 pm

lllllvenomlllll wrote:umm dont help much without the source file

In my first post, there is that link called RandomLevel.zip download it, it contains the source. :lol:
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Random level generator by lcl

Postby lcl » Mon Dec 06, 2010 1:48 pm

gadebaua wrote:I don't understand the code

If you've just started with ge, it is not a miracle that you can't understand it.
But I started using ge little more than one year ago and I've already learned much. :D
So just be patient and try to learn. Easier things first and then more complicated. :D

Good luck for learning & welcome to use GE! :D
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Random level generator by lcl

Postby zxcvbnm » Mon Dec 06, 2010 2:08 pm

Can you make a random generator going upward like doodle jump?
Check out Momo AlienStarcatcher , featured in apples new and noteworthy and has 5 star reviews!!!
http://itunes.apple.com/us/app/momo-ali ... 61779?mt=8
zxcvbnm
 
Posts: 248
Joined: Sun Aug 22, 2010 7:57 pm
Score: 10 Give a positive score

Re: Random level generator by lcl

Postby lcl » Mon Dec 06, 2010 2:21 pm

The one going upwards like in doodle jump is much easier to do other way than that. Download doodle jump and look at the code, I'm sure you can figure it out, it's easy. :D
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Random level generator by lcl

Postby Hblade » Mon Dec 06, 2010 4:16 pm

Awesome, LCL :D
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: Random level generator by lcl

Postby lcl » Mon Dec 06, 2010 4:28 pm

Thanks H! :D
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Random level generator by lcl

Postby JamesLeonardo32 » Mon Dec 06, 2010 5:26 pm

Yesterday i made this really quick, i made it so it automaticly makes a level for you and recycled graphics from some of my other games: http://filebeam.com/download2.php?a=258b835e7fe7bb2e1b4c71b75e51c8cd&b=1a0bff424b5ac456cc95a6bd9b4a346b It took me about 5 minutes.
Image
JamesLeonardo32
 
Posts: 320
Joined: Wed Oct 13, 2010 4:57 pm
Score: 36 Give a positive score

Re: Random level generator by lcl

Postby lcl » Mon Dec 06, 2010 5:34 pm

Cool! :D
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Random level generator by lcl

Postby zxcvbnm » Mon Dec 06, 2010 11:29 pm

Excellent proffesional grade stuff from Lcl and JamesLeonardo32 . You guys have really mastered your craft.
Check out Momo AlienStarcatcher , featured in apples new and noteworthy and has 5 star reviews!!!
http://itunes.apple.com/us/app/momo-ali ... 61779?mt=8
zxcvbnm
 
Posts: 248
Joined: Sun Aug 22, 2010 7:57 pm
Score: 10 Give a positive score

Re: Random level generator by lcl

Postby needaname » Mon Dec 06, 2010 11:30 pm

zxcvbnm wrote:Excellent proffesional grade stuff from Lcl and JamesLeonardo32 . You guys have really mastered your craft.

lol
needaname
 
Posts: 69
Joined: Tue Nov 09, 2010 2:07 am
Score: 4 Give a positive score

Re: Random level generator by lcl

Postby JamesLeonardo32 » Tue Dec 07, 2010 5:24 pm

zxcvbnm wrote:Excellent proffesional grade stuff from Lcl and JamesLeonardo32 . You guys have really mastered your craft.

ha ha, thanks. :wink:
JamesLeonardo32
 
Posts: 320
Joined: Wed Oct 13, 2010 4:57 pm
Score: 36 Give a positive score

Re: Random level generator by lcl

Postby lcl » Wed Dec 08, 2010 1:44 pm

zxcvbnm wrote:Excellent proffesional grade stuff from Lcl and JamesLeonardo32 . You guys have really mastered your craft.

Thanks. :D
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Random level generator by lcl

Postby edwardfanboy » Fri Dec 31, 2010 2:11 am

I had to change the code because it returned a (stupid) "tried to divide by zero" error.
EDIT: but that made it move funny!
Last edited by edwardfanboy on Fri Dec 31, 2010 1:41 pm, edited 1 time in total.
Code: Select all
10 PRINT"Hello World
20 GOTO 10
edwardfanboy
 
Posts: 40
Joined: Sat Jun 20, 2009 2:38 am
Location: Nowhere
Score: 3 Give a positive score

Next

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest