-- title: quickplat
-- author: game developer
-- desc: quick platforming tests
-- script: lua
t=0
x=96
y=24
local airAccel = 0
local airControl = 0
local airBrake = 0
local runAccel = 0.2
local runTurnSpeed = 0
local runDecel = 0.2
local runMaxSpeed = 1
local cameraDampX = 0
local cameraDampY = 0
local cameraLookAhead = 0
local jumpBufferTime = 0
local jumpMaxFallSpeed = 5
local jumpCoyoteTime = 0
local jumpMaxHeight = 20
local jumpVariableHeight = true
local jumpGravity = 0.7
function visualizeJumpParams()
circ(10, 100, 2, 5)
for xpos=1,100 do
ypos=0
end
end
function TIC()
if btn(0) then y=y-1 end
if btn(1) then y=y+1 end
if btn(2) then x=x-1 end
if btn(3) then x=x+1 end
cls(13)
print("HELLO WORLD!",84,84)
t=t+1
end
--
-- 001:eccccccccc888888caaaaaaaca888888cacccccccacc0ccccacc0ccccacc0ccc
-- 002:ccccceee8888cceeaaaa0cee888a0ceeccca0ccc0cca0c0c0cca0c0c0cca0c0c
-- 003:eccccccccc888888caaaaaaaca888888cacccccccacccccccacc0ccccacc0ccc
-- 004:ccccceee8888cceeaaaa0cee888a0ceeccca0cccccca0c0c0cca0c0c0cca0c0c
-- 017:cacccccccaaaaaaacaaacaaacaaaaccccaaaaaaac8888888cc000cccecccccec
-- 018:ccca00ccaaaa0ccecaaa0ceeaaaa0ceeaaaa0cee8888ccee000cceeecccceeee
-- 019:cacccccccaaaaaaacaaacaaacaaaaccccaaaaaaac8888888cc000cccecccccec
-- 020:ccca00ccaaaa0ccecaaa0ceeaaaa0ceeaaaa0cee8888ccee000cceeecccceeee
--
--
-- 000:00000000ffffffff00000000ffffffff
-- 001:0123456789abcdeffedcba9876543210
-- 002:0123456789abcdef0123456789abcdef
--
--
-- 000:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000304000000000
--
--
-- 000:1a1c2c5d275db13e53ef7d57ffcd75a7f07038b76425717929366f3b5dc941a6f673eff7f4f4f494b0c2566c86333c57
--