Added full-surface alpha and rotaiton and scaling support
[luagame.git] / demos / luashooter / scripts / life_bar.lua
blob8a3592e25d09a8c4c416aa2431d5c99f859e1236
1 --[[
2 File: life_bar.lua
3 Author: Brett Lajzer
4 Date: 5.24.2006
6 About:
7 This function draws the remaining number of lives
8 horizontally across the bottom left of the screen.
9 --]]
12 function draw_lives()
13 for i=0,player.lives-1 do
14 display(player.image, i*(player.w/2), s_height-player.h,0,0.5,0.5,255)
15 end
16 end