8.0 (7 votes)
    GM 6
    March 06, 2008
Dev - DB/form (refering to updated - check code)
    DOWNLOAD (639)
Dev - make AJAX
Screenshots (0)
Dev - Also, on form submission, use GD to resize the image as a new thumbnail file
There were no screenshots provided
Dev - In the submission form, you can now upload a banner image
Window Shake
In this example I will demostrate how to make the window shake, using my own script.

Possible uses could be for nudges on a chat program, explosions, ect..

Please rate this example to what ever you find appropriate.


Target platforms:

It's good for the nudge in a chat thing, but not so much for an actual explosion. Typically, the view itself shakes rather than the entire window. This leads to problems in fullscreen games where the window can't move at all. Quite limited.

I rate 7.
Posted by Littlink March 06, 2008 11:16 - 9.8 years ago
| [#01]

Basic, but some people may find it useful. And as Littlink said it is generally better to make the view shake rather than the whole window =]
Posted by marbs March 06, 2008 11:18 - 9.8 years ago
| [#02]

@Littlink: I understand that shaking in fullscreen cuases problems that why in the script it exits it if it is in fullscreen.

@Marbs: Okay.. I could get another version out with another script that shakes the view instead of the window.
Posted by Cpsgames March 06, 2008 11:55 - 9.8 years ago
| [#03]

But there are thousands of scripts to make the veiw change, this is unique.
9/10, for good execution
Posted by PY March 06, 2008 13:18 - 9.8 years ago
| [#04]

Kinda handy I suppose, it would be nice if it was the view that was shaking instead, but this works and has uses for some things too.

Posted by Nighthawk March 06, 2008 16:54 - 9.8 years ago
| [#05]

@PY: Ty glad someone thought it was cool.

@NH17: I'm going to get another version out with a view shake script.
Posted by Cpsgames March 06, 2008 18:20 - 9.8 years ago
| [#06]

Wow. That's a pretty cool little example. Might come in handy some day.

Posted by Mentalpatient109 March 07, 2008 0:58 - 9.8 years ago
| [#07]

Thank you VTG
Posted by Cpsgames March 07, 2008 8:01 - 9.8 years ago
| [#08]

10/10, does what it does perfectly.
Posted by edmunn March 07, 2008 13:13 - 9.8 years ago
| [#09]

Ty edmunn
Posted by Cpsgames March 08, 2008 19:08 - 9.8 years ago
| [#10]

good, not really for games though. 10/10 because it does what it's meant for.
Posted by Rusky March 11, 2008 11:08 - 9.8 years ago
| [#11]

Posted by Cpsgames March 11, 2008 12:32 - 9.8 years ago
| [#12]

Good for window mode
Posted by mahdifanaei March 11, 2008 22:51 - 9.8 years ago
| [#13]

hmmmmm... i tested this example and it isnt that good :(

The game can accept key functions, but sprites and instances freeze. Also, it looks very ugly because the stuff on the screen will 'tear', even with syncronization. The window also looks pretty ugly.

I would just make a timer and set the window position each step until the timer is done, because it is much smoother, and can be done just as easily. Sorry if i didnt understand the point of the script...
Posted by Alert Games March 12, 2008 13:28 - 9.8 years ago
| [#14]

Its okay, this is just one method of doing this. Your way would indeed work this is just a different method to use a script alone.

But thanks for trying it out
Posted by Cpsgames March 12, 2008 13:36 - 9.8 years ago
| [#15]

Does well what it is supposed to, 9/10 :)
Posted by DaHandy May 29, 2009 12:12 - 8.6 years ago
| [#16]

Recent Activity
Active Users (0)