mirror of
https://github.com/ysoftdevs/pf2016.git
synced 2026-03-11 21:05:57 +01:00
clean up level01
This commit is contained in:
@@ -5,8 +5,8 @@ levelSelectorState.preload = function() {
|
||||
}
|
||||
|
||||
levelSelectorState.create = function() {
|
||||
for (var i=0; i!=2; i++) {
|
||||
var text = new Kiwi.GameObjects.Textfield( this, "Level " + (i+1).toString(), 66+i*140, 60, "#000", 32, 'normal', 'Impact' );
|
||||
for (var i=1; i!=3; i++) {
|
||||
var text = new Kiwi.GameObjects.Textfield( this, "Level " + i.toString(), 66+i*140, 60, "#000", 32, 'normal', 'Impact' );
|
||||
var sprite = new Kiwi.GameObjects.Sprite(this, this.textures.button, 50+i*140, 50);
|
||||
sprite.levelIndex = i;
|
||||
sprite.input.onUp.add( this.buttonReleased, this );
|
||||
|
||||
Reference in New Issue
Block a user