Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* IDK */
- if( ShowHub == true )
- {
- instance_activate_object(objOrangeRing);
- if( OrangeRing == true )
- {
- draw_sprite(sprOrangeRing, 0, view_xview[0]+view_wview[0]-88, view_yview[0]+view_hview[0]-42);
- draw_text(view_xview[0]+view_wview[0]-64, view_yview[0]+view_hview[0]-48, string(5-instance_number(objOrangeRing))+" 5");
- draw_sprite(sprHUDSlash, 0, view_xview[0]+view_wview[0]-52, view_yview[0]+view_hview[0]-51);
- if( instance_number(objOrangeRing) == 0 )
- {
- view_object = noone;
- with( objPlayer ) { stgfinished = true; x_speed = 0};
- if( instance_exists(objResultScreen) == false )
- {
- instance_create(objPlayer.x,objPlayer.y,objResultScreen);
- };
- };
- };
- };
- /* Get Global Variable stats */
- Rings = global.Rings;
- Score = global.Score;
- Time = global.Time;
- /* Draw HUD: */
- if( ShowHub == true )
- {
- {
- /* Ring/Time*/ draw_sprite( sprHUD, 0, floor(view_xview+0),floor(view_yview+15));
- /* Boost */ draw_sprite( sprBoostBar, 0, floor(view_xview+0),floor(view_yview+210));
- /* Draw HUD Counters */
- draw_set_font( global.fntHUD );
- {
- draw_set_color( c_white );
- /* Lifes */ draw_number_zero( floor(view_xview+-1), floor(view_yview+-1),string( max(lives,min(0)) ) ,2)
- /* Rings */ draw_number_zero( floor(view_xview+-1), floor(view_yview+-1),global.Rings ,4)
- /* Time / Milliseconds */ draw_number_zero( floor(view_xview+-1), floor(view_yview+-1), (global.game_time div 10) mod 100, 2)
- /* Time / Seconds */ draw_number_zero( floor(view_xview+-1), floor(view_yview+-1), seconds, 2)
- /* Time / Minutes */ draw_number_zero( floor(view_xview+-1), floor(view_yview+-1), minutes, 2)
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement