587 posts
Location
Wrocław, Poland
Posted 06 June 2013 - 12:37 PM
GoldRush
This is a small (370 lines…) game that I've just created.
Goal: Collect as much gold as you can (beware of falling ceiling)!
Screenies:
Spoiler
Updates:
1.2:1.3:
- Added 4 difficulty levels
- Added suicide key (K)
- 1 thread less in parallel
Share your best scores in this thread :D/>
620 posts
Location
Holland
Posted 07 June 2013 - 05:06 AM
Looks really nice well done!
587 posts
Location
Wrocław, Poland
Posted 07 June 2013 - 08:25 AM
Thanks! :D/>
7508 posts
Location
Australia
Posted 07 June 2013 - 08:36 AM
Functionally its good. A few things could be tweaked to make it look better. Maybe a white $ in the gold for example, and the person arrow changing direction on the pixel "< > ^ v" also maybe allowing for monitors in code by either having a scalable map or centring the map on the monitor. Also allowing for "monitor_touch"
EDIT: oh also if you do
error( "message", 0) it will print the message with no extra details such as line number and file name.
EDIT 2:Spoiler
Idea for coins (in map.print
term.setTextColor(colors.orange)
return write('$')
when defining the player table
local player = {currentChar = '^'}
when 'w' is pressed
player.currentChar = '^'
when 's' is pressed
player.currentChar = 'v'
when 'a' is pressed
player.currentChar = '<'
when 'd' is pressed
player.currentChar = '>'
in player.print
write(player.currentChar)
EDIT 3: just tested the arrow direction code, and it makes it look a lot better.
Edited on 07 June 2013 - 07:03 AM
587 posts
Location
Wrocław, Poland
Posted 07 June 2013 - 09:26 AM
Gonna look into it, thanks for ideas :P/>
I like arrow idea, "^" was intended to be head tho :P/>
EDIT: oh also if you do error( "message", 0) it will print the message with no extra details such as line number and file name.
Didn't knew that
EDIT: Everything done besides of monitor support, but going to make it it soon.
7508 posts
Location
Australia
Posted 07 June 2013 - 09:48 AM
Gonna look into it, thanks for ideas :P/>
No problems :)/>
I like arrow idea, "^" was intended to be head tho :P/>
Well it can still be the head, just think of it as a directional head.
EDIT: oh also if you do error( "message", 0) it will print the message with no extra details such as line number and file name.
Didn't knew that
Neither did I until I read some code in bios.lua.
504 posts
Posted 07 June 2013 - 02:52 PM
Hehe! Well done. 111 one my first try. However it is getting really boring and annoying if you get trapped in a small area. If you would increase the amount of falling blocks over time it would help to kill the player earlier instead of letting him go up and down for 50% of the game while waiting for a $ to spawn or a block blocks one more of his space ;D
587 posts
Location
Wrocław, Poland
Posted 07 June 2013 - 06:17 PM
Gonna add it :-) .
And maybe suicide key.
504 posts
Posted 07 June 2013 - 07:23 PM
Never give up! Never surrender :P/>
Wouldnt use it unless i am in a 1x1 free space xD There allways might be a chance to get one more gold. Maybe wouldnt be possible if you increase the speed of falling ceiling blocks, but whatever :D/>
570 posts
Location
Germany
Posted 08 June 2013 - 03:58 AM
Suicide key sounds nice! I hate it when I'm stuck in a 1x1 free space. Also it would be nice to have 3 levels of difficulty(easy, middle and hard). And my first score was 107
587 posts
Location
Wrocław, Poland
Posted 08 June 2013 - 09:28 AM
Mine was 103 :P/>
I'm panning to add levels too :P/>
Note: Working on update now :ph34r:/>
Update out: - Added 4 Difficulty levels
- suicide key
- 1 thread less in parallel
504 posts
Posted 08 June 2013 - 09:48 AM
Awesome! :D/>
587 posts
Location
Wrocław, Poland
Posted 08 June 2013 - 09:50 AM
My best at hardcore: 32 :P/>