Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

level updates

  • Loading branch information...
commit 00be030c65baba30c1a0ad96985ddc5548bedfde 1 parent 10088be
Colin Farrell authored
View
44 assets/MapCSV_LevelSeven_MainGame.txt
@@ -1,22 +1,22 @@
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
-0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
-0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0
-0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0
-0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0
-0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,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,1,1
+0,0,0,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,1,1,1,1,1
+0,0,0,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,1,1,1,1,1
+0,0,0,1,1,1,1,1,1,0,1,1,1,1,8,0,0,0,0,0,0,0,0,0,0,7,1,1,1,1,1,1,1,0,0,1,1,1,1,1
+0,0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1
+0,0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1
+0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1
+0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1
+0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1
View
62 src/MapFancyMap.as
@@ -0,0 +1,62 @@
+//Code generated by Flan. http://www.tbam.com.ar/utility--flan.php
+
+package {
+ import org.flixel.*
+
+ public class MapFancyMap extends MapBase {
+ //Media content declarations
+ [Embed(source="../assets/MapCSV_FancyMap_MainGame.txt", mimeType="application/octet-stream")] public var CSV_MainGame:Class;
+ [Embed(source="../assets/game_tilesheetA32wide.png")] public var Img_MainGame:Class;
+
+
+ public function MapFancyMap() {
+ treesAllowed = 9;
+ platformsAllowed = 9;
+ explosionsAllowed = 9;
+
+ _setCustomValues();
+
+ bgColor = 0xffffffff;
+
+ layerMainGame = new FlxTilemap();
+ layerMainGame.loadMap(new CSV_MainGame, Img_MainGame,32,32);
+ layerMainGame.x = 0;
+ layerMainGame.y = 0;
+ layerMainGame.scrollFactor.x = 1.000000;
+ layerMainGame.scrollFactor.y = 1.000000;
+
+ allLayers = [ layerMainGame ];
+
+
+ boundsMinX = 0;
+ boundsMinY = 0;
+ boundsMaxX = 1280;
+ boundsMaxY = 704;
+ }
+
+ override public function addSpritesToLayerMainGame(onAddCallback:Function = null):void {
+ var obj:FlxSprite;
+
+ obj = new Exit(1011, 288);;
+ obj.x+=obj.offset.x;
+ obj.y+=obj.offset.y;
+ FlxG.state.add(obj);
+ if(onAddCallback != null)
+ onAddCallback(obj);
+ obj = new Player(198, 316);;
+ obj.x+=obj.offset.x;
+ obj.y+=obj.offset.y;
+ FlxG.state.add(obj);
+ if(onAddCallback != null)
+ onAddCallback(obj);
+ }
+
+ override public function customFunction(param:* = null):* {
+
+ }
+
+ private function _setCustomValues():void {
+ }
+
+ }
+}
View
2  src/MapLevelOne.as
@@ -44,7 +44,7 @@ package {
FlxG.state.add(obj);
if(onAddCallback != null)
onAddCallback(obj);
- obj = new CreateTutorialTrigger(346, 190);;
+ obj = new CreateTutorialTrigger(346, 176);;
obj.x+=obj.offset.x;
obj.y+=obj.offset.y;
FlxG.state.add(obj);
View
14 src/MapLevelSeven.as
@@ -49,31 +49,25 @@ package {
FlxG.state.add(obj);
if(onAddCallback != null)
onAddCallback(obj);
- obj = new BackgroundTree(1033, 97);;
+ obj = new Player(696, 184);;
obj.x+=obj.offset.x;
obj.y+=obj.offset.y;
FlxG.state.add(obj);
if(onAddCallback != null)
onAddCallback(obj);
- obj = new BackgroundTree(455, 96);;
+ obj = new BackgroundTree(173, 94);;
obj.x+=obj.offset.x;
obj.y+=obj.offset.y;
FlxG.state.add(obj);
if(onAddCallback != null)
onAddCallback(obj);
- obj = new BackgroundTree(411, 95);;
+ obj = new BackgroundTree(228, 224);;
obj.x+=obj.offset.x;
obj.y+=obj.offset.y;
FlxG.state.add(obj);
if(onAddCallback != null)
onAddCallback(obj);
- obj = new BackgroundTree(320, 96);;
- obj.x+=obj.offset.x;
- obj.y+=obj.offset.y;
- FlxG.state.add(obj);
- if(onAddCallback != null)
- onAddCallback(obj);
- obj = new Player(697, 160);;
+ obj = new BackgroundTree(1154, 160);;
obj.x+=obj.offset.x;
obj.y+=obj.offset.y;
FlxG.state.add(obj);
View
2  src/MapLevelTwo.as
@@ -43,7 +43,7 @@ package {
FlxG.state.add(obj);
if(onAddCallback != null)
onAddCallback(obj);
- obj = new DestroyTutorialTrigger(306, 317);;
+ obj = new DestroyTutorialTrigger(306, 303);;
obj.x+=obj.offset.x;
obj.y+=obj.offset.y;
FlxG.state.add(obj);
Please sign in to comment.
Something went wrong with that request. Please try again.