initial commit
This commit is contained in:
commit
85cd4af924
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
/.local
|
||||
/build
|
4
README.md
Normal file
4
README.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Major Jam #8
|
||||
|
||||
Theme: Cosmic
|
||||
Limitation: the player must cheat
|
60
cart.wren
Normal file
60
cart.wren
Normal file
|
@ -0,0 +1,60 @@
|
|||
// title: game title
|
||||
// author: Fabien Freling
|
||||
// desc: short description
|
||||
// script: wren
|
||||
|
||||
class Game is TIC{
|
||||
|
||||
construct new(){
|
||||
_t=0
|
||||
_x=96
|
||||
_y=24
|
||||
}
|
||||
|
||||
TIC(){
|
||||
if(TIC.btn(0)){
|
||||
_y=_y-1
|
||||
}
|
||||
if(TIC.btn(1)){
|
||||
_y=_y+1
|
||||
}
|
||||
if(TIC.btn(2)){
|
||||
_x=_x-1
|
||||
}
|
||||
if(TIC.btn(3)){
|
||||
_x=_x+1
|
||||
}
|
||||
|
||||
TIC.cls(13)
|
||||
TIC.spr(1+((_t%60)/30|0)*2,_x,_y,14,3,0,0,2,2)
|
||||
TIC.print("HELLO WORLD!",84,84)
|
||||
|
||||
_t=_t+1
|
||||
}
|
||||
}
|
||||
|
||||
// <TILES>
|
||||
// 001:eccccccccc888888caaaaaaaca888888cacccccccacc0ccccacc0ccccacc0ccc
|
||||
// 002:ccccceee8888cceeaaaa0cee888a0ceeccca0ccc0cca0c0c0cca0c0c0cca0c0c
|
||||
// 003:eccccccccc888888caaaaaaaca888888cacccccccacccccccacc0ccccacc0ccc
|
||||
// 004:ccccceee8888cceeaaaa0cee888a0ceeccca0cccccca0c0c0cca0c0c0cca0c0c
|
||||
// 017:cacccccccaaaaaaacaaacaaacaaaaccccaaaaaaac8888888cc000cccecccccec
|
||||
// 018:ccca00ccaaaa0ccecaaa0ceeaaaa0ceeaaaa0cee8888ccee000cceeecccceeee
|
||||
// 019:cacccccccaaaaaaacaaacaaacaaaaccccaaaaaaac8888888cc000cccecccccec
|
||||
// 020:ccca00ccaaaa0ccecaaa0ceeaaaa0ceeaaaa0cee8888ccee000cceeecccceeee
|
||||
// </TILES>
|
||||
|
||||
// <WAVES>
|
||||
// 000:00000000ffffffff00000000ffffffff
|
||||
// 001:0123456789abcdeffedcba9876543210
|
||||
// 002:0123456789abcdef0123456789abcdef
|
||||
// </WAVES>
|
||||
|
||||
// <SFX>
|
||||
// 000:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000304000000000
|
||||
// </SFX>
|
||||
|
||||
// <PALETTE>
|
||||
// 000:1a1c2c5d275db13e53ef7d57ffcd75a7f07038b76425717929366f3b5dc941a6f673eff7f4f4f494b0c2566c86333c57
|
||||
// </PALETTE>
|
||||
|
Loading…
Reference in a new issue