User Tag List

Results 1 to 7 of 7

Thread: Strange Things Happening

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Strange Things Happening

    I'm doing my own Geometry Wars type of game:

    I have a fast loop that creates x number of shapes (actives). Once all of the shapes have been destroyed, I re-call that fast loop again to add more actives.

    I'm using the Clickteam Movement Controller to have these actives move toward the player.

    After a certain number of "levels" are reached, suddenly the shapes no longer move towards the player, they simply move to the right.

    There is nothing in my very simple 20 events that changes. EVERYTHING is the same throughout, but after 19 levels, none of the shapes will move any direction but to the right.

    I suspect this has something to do with the Fixed Value of the shapes (or more precisely, the fixed value of Group.Enemies)

    I'm having the shapes gravitate toward the player using:

    Set Alterable Value B to AngleObjects("Clickteam Movement Controller",Fixed("Group.Enemies"),Fixed("PlayerSh ip"))
    Set Direction to AngleToDir("Clickteam Movement Controller", Alterable Value B("Group.Enemies"))

    Like i said before, this works PERFECTLY until suddenly at level 19 they stop following and just move right.

    Any ideas?




  2. #2
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Strange Things Happening

    It could be an error in the "Clickteam Movement Controller" extension. I had a similar bug with fixed values in my ValueAdd extension. After enough objects had been created (or just enough time?), it was suddenly impossible to read their extended values and the extension basically stopped working.

    The problem was that the fixed value was being used as a signed number inside the extension code, when it should be unsigned. After a while, it wrapped to negative, and the fixed value became invalid.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Strange Things Happening

    Ok, so, any idea how to get around this?


  4. #4
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Strange Things Happening

    You should post a mfa that it's reproducible in, and then we'll find out for certain. If it is what I suggested, it has to be fixed in the extension, nothing you can do.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Strange Things Happening

    ok, here's the mfa file (zipped).

    I added a counter so you can see when you're on level 19, all of the squares will move right.

    Thanks for looking!

    EDIT: this is done in the HWA version 249

    Tuna

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Strange Things Happening

    UPDATE: I found a way to work around this. Instead of getting the angle to the object then converting the angle to direction, I'm instead using the vector movement and setting the direction toward the object.

    Much easier, and no fail. I've removed my mfa file.

    If you still want the mfa file to look into the error, let me know and I'll send it to you.

  7. #7
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Strange Things Happening

    If it is an error with the Clickteam movement controller, you're probably best sending it to someone at Clickteam.

Similar Threads

  1. Why is this happening now?
    By KLiK-iT in forum Android Export Module Version 2.0
    Replies: 27
    Last Post: 20th December 2013, 11:59 PM
  2. Why is this happening? Is this a bug?
    By ezzypixel in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 1st March 2013, 05:55 AM
  3. Things happening before/after pausing the application
    By SuperDisk in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 29th December 2012, 03:49 AM
  4. [HELP] Strange things in this 3 layers platforming
    By BackStaged in forum File Archive
    Replies: 1
    Last Post: 2nd October 2010, 08:38 AM
  5. New strange things... Collisions
    By Tuna in forum Hardware Accelerated Runtime
    Replies: 6
    Last Post: 25th May 2010, 12:01 AM

Posting Permissions

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