User Tag List

Results 1 to 3 of 3

Thread: how do i spawn a object in a random range?

  1. #1
    Clicker 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)

    Join Date
    Jan 2015
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how do i spawn a object in a random range?

    I want to spawn a object random in the whole frame, but idk how.

    I can only let it spawn at exact cords.

    I want to do this so it's a puzzle where you have to look for the object but its at a random spot everytime.

  2. #2
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)
    alexexhowl's Avatar
    Join Date
    Jan 2015
    Location
    RU, YKT
    Posts
    357
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    simply:
    set position x - random(framewidth)
    set position y - random(frameheight)
    or you can use range, wich gives you random values in selected range, rrandom(startpoint, endpoint)
    set position x - rrandom (startpoint, endpoint))
    set position y - rrandom (startpoint, endpoint))

  3. #3
    Clicker 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)

    Join Date
    Jan 2015
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks!! this worked

Similar Threads

  1. Replies: 3
    Last Post: 27th December 2016, 10:05 AM
  2. Random Active Spawn in Random Location in Frame
    By Top_of_the_Temple in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 20th October 2016, 04:33 AM
  3. Mario ghost random random spawn
    By Sparckman in forum Guides, Tutorials, Examples, Widgets
    Replies: 0
    Last Post: 30th May 2014, 07:48 PM
  4. How to spawn random enemys?
    By UnicornMan in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 9th September 2013, 04:54 AM
  5. Question for a random spawn!
    By pyromane in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 10th September 2009, 05:15 PM

Posting Permissions

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