User Tag List

Results 1 to 2 of 2

Thread: How to Pick the last created object?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export Module

    Join Date
    Apr 2014
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to Pick the last created object?

    I want to create a starfield for may spaceship live, so I created a Active object with a white dot, I want to every 1/4 of a second create a new start object, but in a random X position. The "Create New Object" only allow fixed x and y position, I was wondering how to pick the last objectec created so I can change the X position with random() function in expression editor. I got the thing working putting Set X Position to Random()... in the same line in the event editor is that correct way to pick the last object created and do waht you want with it? Thanks!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    May 2012
    Location
    NSW, Australia
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yep, thats what i'd do!

    Create Object (any co-ordinates, outside play area probably).
    Set object X to Random()
    Set obect Y to Random()

Similar Threads

  1. Assign random created object to another created object
    By wizlore in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 12th November 2011, 11:53 AM
  2. Pick up object with text
    By Rabagast in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 30th September 2009, 10:51 AM
  3. Pick up object and shooting
    By Mycale in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 30th August 2009, 12:04 PM
  4. Pick an object ...?
    By MattEsch in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 24th August 2008, 05:04 PM
  5. Pick object by...
    By haora in forum File Archive
    Replies: 0
    Last Post: 18th August 2007, 06:59 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
  •