Only draw player velocity while player exists
Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com> Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
17953e0589
commit
8717d2270b
Binary file not shown.
@ -41,8 +41,8 @@ public class LevelRenderer extends Object{
|
||||
}
|
||||
if (RabiClone.player!=null) {
|
||||
Draw_Animated_Object(RabiClone.player,RabiClone.player.facing_direction?Transform.HORIZONTAL:Transform.NONE);
|
||||
Draw_Text(4,4,new String(RabiClone.player.x_velocity),Font.PROFONT_12);
|
||||
}
|
||||
Draw_Text(4,4,new String(RabiClone.player.x_velocity),Font.PROFONT_12);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user