User Tag List

Results 1 to 7 of 7

Thread: 2D Platformer Random Level Generation

  1. #1
    Clicker Multimedia Fusion 2iOS Export ModuleSWF Export Module
    Top_of_the_Temple's Avatar
    Join Date
    Oct 2012
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question 2D Platformer Random Level Generation

    I'm working on a 2D platformer and I need to make an endless level that randomizes as the player progresses.
    If that isn't possible it could just be any random generation at all, any advice helps.

    Thanks!

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    You can set the frame virtual width/virtual height to -1 and it will make that dimension infinite at runtime so you can scroll wherever you want in positive coordinates.
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Multimedia Fusion 2iOS Export ModuleSWF Export Module
    Top_of_the_Temple's Avatar
    Join Date
    Oct 2012
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How does that help with the random platform creation though?

  4. #4
    Clicker Fusion 2.5iOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    SolarB's Avatar
    Join Date
    Feb 2012
    Location
    Melbourne
    Posts
    904
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Have a platform object and set it to spawn every x amount of time at a random y coordinate off screen and set it's x scale to a random size?

    Also if you do a search for 'random level' i'm sure there's plenty on this on the forum.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module

    Join Date
    Jul 2006
    Location
    S.East England
    Posts
    744
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey, i think this tutorial/example will help with what you want to do - http://gamedev.tutsplus.com/tutorial...-from-scratch/

  6. #6
    Clicker Multimedia Fusion 2iOS Export ModuleSWF Export Module
    Top_of_the_Temple's Avatar
    Join Date
    Oct 2012
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How do I make select a random Y coordinate?

    Any that example was great, but whenever I place it in my application and change the images it makes the character move really slow.

  7. #7
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    XStar's Avatar
    Join Date
    Feb 2012
    Location
    Winchester, VA
    Posts
    1,165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Set whatever the object's Y position is to Random(Frame Height).

    I believe, if that's what you mean, it should work.

Similar Threads

  1. Level generation using colors
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th June 2013, 08:38 AM
  2. Random Dungeon Generation
    By nivram in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 30th October 2011, 07:14 PM
  3. Random terrain generation
    By ac3raven in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 21st June 2011, 02:24 AM
  4. Random Number Generation
    By AngelicTech in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 2nd July 2010, 02:52 AM
  5. random map generation
    By uprize in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 2nd April 2009, 11:49 PM

Tags for this Thread

Posting Permissions

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