User Tag List

Results 1 to 10 of 10

Thread: Beta 14: Hotspot Offset

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Beta 14: Hotspot Offset

    This is related to this post (same file already PM):

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=223909#Post2239 09

    The hotspot gets an offset when launching objects. Works ok on the PC runtime.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 14: Hotspot Offset

    Image uploaded ...

    [img:center]http://www.pulsarcoders.com/forclickteam/hotspotscreenshot.jpg[/img] (left = PC, right = IPod Touch 3rd gen device)

    If I don't launch the bullet, and instead, create it at the action point of the ship, set the proper speed and finally start a custom movement, it works fine on both, the PC and the ipod device.

    So, at least in my case, the "launch" action messes the action point on my IPod Touch 3rd gen. Maybe Andos gets the same result as I do since he also has an IPod Touch 3rd gen (?)

    Just in case I sent you guys by PM my Xcode project since perhaps the iphone runtime works ok, and the exporter changes the action point when creating the XCode project.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Beta 14: Hotspot Offset

    I see it!
    Working ont it.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 14: Hotspot Offset

    Yes!!! Thank you ...

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Beta 14: Hotspot Offset

    If you remove the sound, it works OK.
    If you untick "Timer based movements", it works OK.
    This means that the problem comes from the sound, which takes several vbl to initiate itself. So the movement skips directly to the position where the object should be after the vbls.
    Have you tried with another sound?
    Is this sound a WAV file or an MP3 file?

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 14: Hotspot Offset

    Ah, ok. I see.

    > Have you tried with another sound?

    No, but I will.

    > Is this sound a WAV file or an MP3 file?

    It's the "Laser 6" wav sound that you'll find on MMF's Disc 2 under "Sounds/Weapons".

    > If you untick "Timer based movements", it works OK.

    Would it be advisable to untick it? I mean, what's the best option for the "i" devices.

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Beta 14: Hotspot Offset

    I do not know. If you game does not slow down on the device, then you can untick it to prevent this kind of behavior. But if other objects are moving, you will see a tick in their animation when you play this kind of sounds.
    I am using the recommended by Apple way of playing sounds, and the time it takes to play some sounds is really a pain.

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 14: Hotspot Offset

    I will test with other sound first and let the untick option as a last resort. Thanks a lot

  9. #9
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 14: Hotspot Offset

    Ok, tested:

    1) Unticking "Timer based movements" is forbidden

    2) Using another sound works.

    Having said that, I've found a workaround!!!

    In order to avoid this bug and or to sync visuals with sounds (in the sense of avoiding audio to freeze any visual action in the same condition for some milliseconds), you have to:

    1) Create an event that plays the sound when a condition is met once per event, like say "Flag X is ON", and reset that condition (in this example, set flag X off), and

    2) Keep the original conditions and actions but without the sound action (which is now in 1 above), and set flag X ON.

    This way, 2) will be met first firing the bullets, and on the next update loop the sound will play, resetting the flag to zero.

    Thus, don't put the launch action and the sound playing action on the same condition or you could get this bug.

  10. #10
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 14: Hotspot Offset

    To clarify things, I used to have:

    +Condition 1
    -> Launch object ...
    -> Play sound ...

    And now I have (yes, in this "reversed" order):

    +Flag X is On?
    +Only one action when event loops
    -> Play Sound
    -> Set Flag X Off

    +Condition 1
    -> Launch object ...
    -> Set Flax X On

Similar Threads

  1. Mouse pointer offset?
    By Perry in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 26th December 2013, 05:39 PM
  2. CreateByName offset bug
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 10th October 2012, 01:11 PM
  3. What is offset?
    By PandaExplosion in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 22nd November 2010, 02:00 PM
  4. FIXED - Beta 3: Score offset and bitmap distortion
    By Giovanni_Cardona in forum iOS Export Module Version 2.0
    Replies: 8
    Last Post: 28th October 2010, 12:24 PM
  5. Virtual Frame Offset?
    By dragonguy in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 11th November 2008, 10:03 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
  •