Special pause

You must understand the Game Editor concepts, before post here.

Special pause

Postby toshiro » Mon Nov 12, 2007 7:40 pm

Ever played Marvel vs Capcom (addicted to the stuff), well what i want to do is similar to the way their specials are executed. First off i want to pause the game play ( for a few seconds) and dim the entire screen(except my player, and i need the screen darkened just a little not turned black),after i want to move a picture of my player (without dimming it ) across the screen and then return the screen to normal for my player to do his special. kind of confusing i kno but....... please!!!!!!! help!!!!!!!!!!!
Upcoming projects: Twilight sKys 15% done, est. release Jan 1st
User avatar
toshiro
 
Posts: 22
Joined: Mon Nov 12, 2007 2:22 pm
Score: 0 Give a positive score

Re: Special pause

Postby Fuzzy » Wed Nov 14, 2007 9:56 am

have a global variable IsPaused. before an actor that should be affected by the pause can move, you must check to see if pause is on (IsPaused=1). put that on just when the special move is triggered.

Next, darken the screen. Have a screen sized actor colored black overtop everything, and turn off its visibility on create actor, or turn it transparent. when the special move is started, fade it in, which will darken the screen.

The moved actor can be placed overtop the dark screen by changing its depth. move it where you gotta, and do whatever else you need to do. then reverse all the steps.
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score


Return to Advanced Topics

Who is online

Users browsing this forum: No registered users and 1 guest