User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: how can I shake the screen !!

  1. #1
    No Products Registered

    Join Date
    Sep 2006
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how can I shake the screen !!

    how can I shake the screen !! like a earthquake or bomb attack !
    thanks for advise ...

  2. #2
    No Products Registered

    Join Date
    Aug 2006
    Location
    The Netherlands
    Posts
    80
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how can I shake the screen !!

    Phizzy made this example:
    http://phizzy.sitesled.com/tutorials/eathquake.mfa

  3. #3
    No Products Registered

    Join Date
    Sep 2006
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how can I shake the screen !!

    oh yes many thanks

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how can I shake the screen !!

    I'm not sure how that example shows it, but you can do it by either randomizing x/y coordinates in the scrolling options, or alternatively the window control object, if the scrolling frame is right up against the edge.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how can I shake the screen !!

    Or center the screen at 0,0 of a hidden object with weird path movement

  6. #6
    Clicker Fusion 2.5 Developer
    ChrisStreet's Avatar
    Join Date
    Jul 2006
    Location
    United Kingdom
    Posts
    569
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how can I shake the screen !!

    Or you could pick up the monitor and shake it around a bit


    Or... create a hidden active object, set it as the camera, give it various directions of animations and reposition the hot spot per animation...

    The trouble with earthquake engines is that, for the screenshake to be completely effective you generally need to have the play area away from the frame edges, although it is possible using complex code to get it working somewhat.

  7. #7
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Mantis's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    496
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how can I shake the screen !!

    Yes, sadly it won't work like that if it's a non-scrolling frame; i.e. the frame size is the same size as the resolution.

  8. #8
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how can I shake the screen !!

    As i stated before, you can screenshake with a non scrolling frame by using the Window Control object. Just edit the position of the frame inside the window, although this leaves a black border where "nothign" is around the frame.

    People neglect the power of that object so much

  9. #9
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how can I shake the screen !!

    Set the frame size to about 20 pixels more than you'd need it.

    Then have a couple of counter objects (1 for x, 1 for y, and 1 for shake), and call them:
    ScreenX
    ScreenY
    Shake

    If you have an 800x600 screen for example, something blows up on screen, then you set the shake to oh say 20, then you center the camera on (random(shake*2) + Screen ,(random(shake*2) + ScreenY). And you subract 1 from the Shake value until it is at 0. The more intense the action, the higher the shake value should be set to.

  10. #10
    Clicker Fusion 2.5 DeveloperSWF Export ModuleInstall Creator Pro

    Join Date
    Jun 2006
    Location
    France
    Posts
    1,266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how can I shake the screen !!

    hey, this is cool man! just what i was looking for!

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Screen Shake
    By Evilized79 in forum Fusion 2.5
    Replies: 8
    Last Post: 4th March 2014, 03:27 PM
  2. Screen Shake
    By Kentronisk in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 12th November 2011, 11: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
  •