never mind, still doesnt work!
new code:
new code:
ype TGameObject Field x,y,xv,yv End Type Type TBullet' Extends TGameObject Field x:Int Field y:Int Function playershoot(x:Int,y:Int) Local Bullet:TBullet = New TBullet TBullet.x = sx TBullet.y = sy EndFunction Function update() TBullet.x = +1 EndFunction EndType