HUD stands for Head up Display where player can see scores, Lives, Shields, weapons etc.

It makes no difference how big your layout is, long as you set PARALLAX for HUD layer to 0, 0. Once it’s done this HUD layer will act as your informer which will give you all the information’s you code into your Event Sheet.

Let’s add HUD (head-up display) Bar and add some actions.

On HUD layer create sprite set size 320, 32 and name it HUD_Bar. Now drag this sprite to BOTTOM of layer (Doted Lines) somewhere like 160, 168. So it will look like below:

Create sprite 32 x 32 and name it Hud_Bar. Drag the Hud_Bar at bottom where dotted line is say about 160, 168.

Make Hud_Bar bigger about same size as Windows size. 320, 32

Create another sprite name it spr_Boxes add these sprites below or create your own

Remember here we are going to create Animation for above sprites. On animation, name