User Tag List

Results 1 to 5 of 5

Thread: How to move Actives based on coordinates and angle from within an extension?

  1. #1
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    NecroLuigi's Avatar
    Join Date
    Jul 2011
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to move Actives based on coordinates and angle from within an extension?

    Hello, guys! Needing some help with an extension for our game, hope someone will know the answer!

    Basically, we're developing an extension that has to update an active object's position and angle based on values stored in a database several times per second. Furthermore, since it will be applyed to potentially dozens of objects simultaneously, it definitely needs to be compatible with HWA (or done 'through hardware acceleration', if that makes any sense).

    A good example is the Box 2D extension, and it's action "Attach Object": it 'glues' an active object on a physics object, so that the visual representation of that physics object is always displayed at the right position and angle.

    We are more familiar with the RSDK, do you guys know if it is possible to do it, and how? If not possible to do in RSDK, which one should we use?

    Thank you very much!

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not sure exactly what you're looking for, but the Bullet360 object might be of use.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    NecroLuigi's Avatar
    Join Date
    Jul 2011
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Tks Ricky, but in fact what we're trying to do is to manipulate Actives from WITHIN the extension code. In other words, we want to script this manipulation in the SDK, as part of an extension we're developing.

    Anyone knows? Pls, it will be greatly appreciated!

    Tks!

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ... that's what Bullet 360 does?

  5. #5
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)
    I wrote an Edif example for NecoLuigi (he already saw it).

    https://github.com/SortaCore/MMF2Ext...bjectAttacher/


    Btw Necro, I added something to the Handle() function. It now removes deleted objects from the array:
    https://github.com/SortaCore/MMF2Ext.../Extension.cpp

Similar Threads

  1. Rank actives based on Y axis value
    By rubes in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 26th November 2012, 01:44 PM
  2. Angle between 2 floating point coordinates?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th June 2012, 03:12 AM
  3. Spreading a value based on X,Y coordinates
    By Ramses in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 16th September 2011, 05:02 AM
  4. Coordinates +1 movement, move to specifies point
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 22nd December 2009, 11:16 AM
  5. [Request]Decimal X and Y coordinates (for actives)
    By LazyCoder in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 3rd August 2007, 06:46 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
  •