×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2007
    Location
    India
    Posts
    10

    Create Flashlite 1.1 platform game for "Nokia"

    Create flashlite 1.1 platform game for nokia device, will help you on your way to creating your own platform game in flashlite 1.1 for Nokia devices.

    Use your arrow key in mobile to move the character around the canvas and also enter in next stage or previous stage.
    Check your Nokia device screen width, because this code is for Nokia 176X208.
    You can also create long platform for your game.
    on (keyPress "<Left>") {
    tellTarget ("/char") {
    _x -= 16;
    if (_x<16) {
    if (getProperty("/bg", _x)<0) {
    tellTarget ("/bg") {
    _x += 160;
    }
    _x += 160;
    } else {
    _x = 0;
    }
    }
    }
    }
    on (keyPress "<Right>") {
    tellTarget ("/char") {
    _x += 16;
    if (_x>160) {
    if (getProperty("/bg", _x)>-640) {
    tellTarget ("/bg") {
    _x -= 160;
    }
    _x -= 160;
    } else {
    _x = 160;
    }
    }
    }
    }


    This is not a fully functioning game code.

    Narender Raul
    narender_raul@hotmail.com

  2. #2
    Registered User
    Join Date
    Jan 2008
    Posts
    2

    Lightbulb Re: Create Flashlite 1.1 platform game for "Nokia"

    Would this not be better as a code example in the Wiki?
    -R

Similar Threads

  1. Create share and download Fl 1.1 2.1
    By montbaldy in forum General Development Questions
    Replies: 0
    Last Post: 2007-10-30, 01:22
  2. Replies: 0
    Last Post: 2005-01-21, 09:06
  3. Series 40 Platform 2.0 and CLDC 1.1
    By Lores in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2003-11-18, 14:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •