diff options
Diffstat (limited to 'particle.bmx')
-rw-r--r-- | particle.bmx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/particle.bmx b/particle.bmx index 79c7f8c..4098598 100644 --- a/particle.bmx +++ b/particle.bmx @@ -68,12 +68,9 @@ Type TParticle End Function Method Update:Int() - Local p:TAlgoPointD=DoRotateD(x,y,3599-GameState.ang) - p.x:-GameState.x - p.y:+GameState.y SetAlpha(a) SetScale(s,s) - DrawImage(i,p.x,p.y) + DrawImage(i,x,y) x:+dx y:+dy life:-1 @@ -107,10 +104,6 @@ Type Particles End Function Function Draw() - Local r:Double=GetRotation() - - SetRotation(-GameState.ang/10.0) - SetColor(255,255,255) Local l:TEasyLink=TEasyLink.Create(plist) @@ -125,6 +118,5 @@ Type Particles Wend SetAlpha(1) SetScale(1,1) - SetRotation(r) End Function End Type |