diff options
author | Ian C <ianc@noddybox.co.uk> | 2006-04-21 21:07:17 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2006-04-21 21:07:17 +0000 |
commit | 0c54a57c59fdce1ffc0055f57983ad090a3e18e6 (patch) | |
tree | ae80ddf184d5f0133ce09c1fb2bc520b7b5b8524 /particle.bmx | |
parent | 6de8d28ffb5da5c4ac7260b467dd5afc85286fde (diff) |
Updates while working away
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 |