mirror of
https://github.com/ysoftdevs/pf2016.git
synced 2026-03-24 01:52:28 +01:00
simplify first level
This commit is contained in:
@@ -5,7 +5,7 @@ levelSelectorState.preload = function() {
|
||||
}
|
||||
|
||||
levelSelectorState.create = function() {
|
||||
for (var i=1; i!=3; i++) {
|
||||
for (var i=1; i<levels.length+1; 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;
|
||||
|
||||
Reference in New Issue
Block a user