This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
martin509's profile picture

Hurdles - Arcade Edition

Started by martin509, 23 March 2013 - 02:26 PM
martin509 #1
Posted 23 March 2013 - 03:26 PM
Remember that old game Hurdles, about jumping over hurdles?
It was very simple and not too impressive, with a player jumping over an endless number of hurdles while out on a run. It is controlled with one button, nothing fancy.
I decided to make an 'arcade' version, modding its code so it would run on a monitor(I used 4x3) , be controlled with buttons, and restart at a title screen when you die.
Redstone input from the button is on the left, monitor is on top.
Main Game:
http://pastebin.com/7RTQYgB4
Single-line startup program, also needed:

shell.run("monitor", "top", "hurdles")
Screenies!
Spoiler





This being my first program, some feedback would be nice.
Especially as I've got some more games lying around, among them Pong (Jasper version) and Tunnel.
LuaEclipser #2
Posted 24 March 2013 - 11:37 AM
dont put the whole program, it can get locked. instead, put it here and give us the link. also, screen shot, explanation, DESCRIPTION!!!!!

help, all those thing are REQUIRED!
martin509 #3
Posted 24 March 2013 - 02:03 PM
Done.
LuaEclipser #4
Posted 24 March 2013 - 02:33 PM
MUUCH better. looks more like a game now then a whole blob of exploding text :ninja:
TheOddByte #5
Posted 25 March 2013 - 10:08 AM
Uhh.. Why don't you add some monitor touch support so when the player clicks the screen it will jump..
martin509 #6
Posted 25 March 2013 - 11:28 AM
I coded this in Tekkit unfortunately and I am not exactly in love with touch support. I doubt many people have a touchscreen.
I want to continue Tekkit coding so if you want touch support code it yourself, I can't imagine it being too hard.
Entropy #7
Posted 25 March 2013 - 11:36 AM
Very nice, hurdles is fun :)/>.
Left4Cake #8
Posted 25 March 2013 - 12:52 PM
Tomorrow, I might try to make is so that you stand on a pressure plate and jump to jump. :)/>

edit: oh wait, I could just put in a NOT gate between the pressure plate and computer.
nutcase84 #9
Posted 26 March 2013 - 04:22 AM
Tomorrow, I might try to make is so that you stand on a presser plate and jump to jump. :)/>

edit: oh wait, I could just put in a NOT gate between the presser plate and computer.

Whats a "presser" plate? Do you mean a pressure plate?

Nice program BTW.
martin509 #10
Posted 26 March 2013 - 03:00 PM
Just to clarify, Noodle made the original, I just tweaked it slightly and expanded on it a bit more.
So I did not make the original, I'm far from skilled enough to make this on my own.