Hallo zusammen!
Ich hab von yoyogames.com ein Tutorial heruntergeladen, und hab dort den Balken für Scors (Punkte) und für Lives (Leben) in mein Spiel übernommen. Nun, ich hab ihn 1:1 übernommen, im Tutorial funktionierts und bei mir nicht. Die Scors funktionieren wunderbar, doch die Leben werden nicht angezeigt!
Hier die Show-Information vom Balken:
Danke!
Ich hab von yoyogames.com ein Tutorial heruntergeladen, und hab dort den Balken für Scors (Punkte) und für Lives (Leben) in mein Spiel übernommen. Nun, ich hab ihn 1:1 übernommen, im Tutorial funktionierts und bei mir nicht. Die Scors funktionieren wunderbar, doch die Leben werden nicht angezeigt!
Hier die Show-Information vom Balken:
Information about object: object35
Sprite: <no sprite>
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent: <no parent>
Mask: <same as sprite>
Other Event: Game Start:
set the number of lives to 3
set the information in the window caption:
don't show score with caption score:
don't show lives with caption lives:
don't show health with caption health:
Other Event: No More Lives:
show the highscore table
background: level1
show the border
new color: 255, other color: 0
Font: "Times New Roman",10,0,0,0,0,0
restart the game
Draw Event:
set the drawing color to 65408
draw rectangle with vertices (view_xview+5,view_yview+5) and (view_xview+100,view_yview+45), filled
set the drawing color to 0
draw rectangle with vertices (view_xview+5,view_yview+5) and (view_xview+100,view_yview+45), outline
draw the lives at (view_xview+10,view_yview+10) with sprite spirit_life
at position (view_xview+10,view_yview+28) draw the value of score with caption Score:
Danke!
in the





