mirror of
https://github.com/ysoftdevs/pf2016.git
synced 2026-11-16 13:51:21 +01:00
clean up level01
This commit is contained in:
1 parent
c235d6efe6
commit
aa9fbd8f58
6 files changed
+9
-8
No files matched your search
@@ -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