Hobbies And Interests

How to Make Your Own Yoshi's Island Flash Levels

Many fans and critics consider "Super Mario World 2: Yoshi's Island" for the Super Nintendo one of the best titles in Nintendo's long running Mario series. While Nintendo has attempted to recapture the magic of the game numerous times, offering sequels and remakes for the Gameboy Advance and other systems, appetite for "Yoshi's Island" style fun still exists. To create your own "Yoshi's Island" island levels for a Flash game, you will need to create your own "Yoshi's Island" style sprites and develop the game and levels using Flash.

Things You'll Need

  • Adobe CS4 Professional software
Show More

Instructions

    • 1

      Purchase Adobe Flash CS5 Professional from Adobe's website or your favorite retailer.

    • 2

      Install Flash using the instructions provided with the software.

    • 3

      Download the source code for a simple platform game available from kirupa.com. Open the .fla file and re-save it with a title of your choice. This is your "Yoshi's Island" levels game file.

    • 4

      Use Microsoft Paint or another graphics editing program to create your own Yoshi's Island sprites. If you own the original cartridge, you can use Snes9x or other emulation software to extract sprites from a ROM image of "Yoshi's Island." Import these sprites into your "Yoshi's Island" levels game file.

    • 5

      Place movement and jumping code in your "Yoshi's Island" game. Open the actions menu for your Yoshi sprite and paste the following code to make Yoshi move:

      onClipEvent (load) {

      speed = 0;

      maxmove = 15;

      }

      onClipEvent (enterFrame) {

      if (_root.dead) {

      this.gotoAndStop("dead");

      } else {

      speed *= .85;

      if (speed>0) {

      dir = "right";

      } else if (speed<0) {

      dir = "left";

      }

      if (dir == "right"){

      this._x += speed;

      _root._x -= speed;

      }

      if (dir == "left") {

      this._x += speed;

      _root._x -= speed;

      }

      if (Key.isDown(Key.LEFT)) {

      if (speed>-maxmove) {

      speed--;

      }

      this.gotoAndStop("run");

      this._xscale = -100;

      } else if (Key.isDown(Key.RIGHT)) {

      if (speed<maxmove) {

      speed++;

      }

      this._xscale = 100;

      this.gotoAndStop("run");

      }

      if (speed<1 &&speed>-1 &&!attacking) {

      speed = 0;

      this.gotoAndStop("idle");

      }

      }

      }

      Paste the following code to put gravity in the game and enable Yoshi to jump:

      if (speed<1 &&speed>-1 &&!attacking) {

      speed = 0;

      this.gotoAndStop("idle");

      }

      if (Key.isDown(Key.UP) &&!jumping) {

      jumping = true;

      }

      if (jumping) {

      this.gotoAndStop("jump");

      this._y -= jump;

      jump -= .5;

      if (jump<0) {

      falling = true;

      }

      if (jump<-15) {

      jump = -15;

      }

      }


https://www.htfbw.com © Hobbies And Interests