mirror of
https://github.com/inexorabletash/jsbasic.git
synced 2024-11-26 21:50:49 +00:00
Update platformer sample
This commit is contained in:
parent
ec3a771fdc
commit
f625602942
@ -1,4 +1,4 @@
|
||||
1 text:home:gosub 500
|
||||
1 text:home:PR# 3 : gosub 500
|
||||
2 lvl=1 :home
|
||||
3 let k=0
|
||||
4 let lives=5
|
||||
@ -481,7 +481,7 @@
|
||||
481 next abc
|
||||
482 goto 484
|
||||
483 kx=36 :let ky=19: goto 326
|
||||
484 text: home: htab (17):vtab(12):flash:print "YOU WIN!":normal:end
|
||||
484 text: home: PR# 0 : htab (17):vtab(12):flash:print "YOU WIN!":normal:end
|
||||
|
||||
|
||||
500 print "To jump press the W key. To move left and right press the A and D keys."
|
||||
|
Loading…
Reference in New Issue
Block a user