Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / 20-lines 3D Jumping game

Author
Message
Matija the n00b
13
Years of Service
User Offline
Joined: 2nd Aug 2010
Location: Croatia
Posted: 17th Aug 2011 15:50 Edited at: 25th Aug 2011 12:04
Hello,
this game is something like Doodle Jump
for IOS/Android or Icy tower for PC.

Your goal is to climb as high as you can,
but be careful not to fall down.
You can also collect jump bonus for a boost.(little green ball)

Controls:
arrow keys - move left/right
space - reset everything
esc - quit game

Here is the code...



This is my first 20 liner.
I hope you like it.
chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 18th Aug 2011 03:33
WoW !! That's funny haha 494 point after 10 minutes. I didn't know that pressing spacebar you could start again and I was executing dba every tiem .Good job... I enjoy it !!

Cheers.

I'm not a grumpy grandpa
Matija the n00b
13
Years of Service
User Offline
Joined: 2nd Aug 2010
Location: Croatia
Posted: 18th Aug 2011 10:31
Thanx, I'm glad you like it

Though I wrote that you could use space...
Guess I'll need to make it more visible
chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 18th Aug 2011 14:33
Quote: "Guess I'll need to make it more visible "


No,you are right.... it was my fault. I have copied and pasted too quick

Cheers.

I'm not a grumpy grandpa
zenassem
21
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 18th Aug 2011 16:25
pretty neat. I was somewhere around 600+ and I hit a section where there was no possible jump that I could reach. Guess that's the price for randomness, and it being 20 lines.

I liked the super_jump powerup ball. Nice Job!

Your signature has been erased by a mod please reduce it to 600 x 120.
Matija the n00b
13
Years of Service
User Offline
Joined: 2nd Aug 2010
Location: Croatia
Posted: 18th Aug 2011 16:45 Edited at: 25th Aug 2011 12:04
Quote: "I hit a section where there was no possible jump that I could reach."


Yes, unfortunately that is possible.
I tried to fix it but don't know how since I'm still
quite new to programming.

If anyone has an idea or knows how to fix that
please help.

*EDIT
Oh and here is uncompressed version:
Webber
12
Years of Service
User Offline
Joined: 27th May 2011
Location:
Posted: 25th Aug 2011 05:22
I had a similar glitch in one of my programs. I didn't fix it 100%, but I was able to reduce it enough by placing the boxes closer together.
Now that I think about it, one way you could fix it completely would be by changing the way the boxes are placed, and making a maximum distance between the boxes.
Don't forget about the x distance too, cause you could end up with large gaps that do not allow the player to jump across.

Thanks, this gives me some ideas for a cool game.



I like games, and stuff.
Matija the n00b
13
Years of Service
User Offline
Joined: 2nd Aug 2010
Location: Croatia
Posted: 25th Aug 2011 12:03
Hey, thanks Webber!
I took your advice and completely fixed y distance
but i still have problems with x...
so it's still possible to have impossible jump
but it's very rare.

That also gave me possibility to decrease the total number of
platforms making a game harder.

I updated all the code so you guys can try it now and tell me
if it's still happening.

I will also try to fix x value later.

Thanks !
29 games
18
Years of Service
User Offline
Joined: 23rd Nov 2005
Location: not entirely sure
Posted: 4th Sep 2011 00:01
Thats' pretty cool. The jump bonus was a nice touch. I managed to get 440 after a few attempts.
JackDawson
12
Years of Service
User Offline
Joined: 12th Jul 2011
Location:
Posted: 5th Sep 2011 18:14
DUDE !! That is too cool. I enjoyed the hell out of that. Good job..

"Life is like a box of chocolates.. eat it before it melts."
WorldBot
12
Years of Service
User Offline
Joined: 5th Aug 2011
Location: In a Worms game
Posted: 8th Sep 2011 22:07 Edited at: 9th Sep 2011 16:12
Good Job Matija the n00b, i love it

Login to post a reply

Server time is: 2024-03-29 11:13:55
Your offset time is: 2024-03-29 11:13:55