Posts: 1,556
Threads: 77
Joined: May 2011
Summary:
I wanna summon a screen sized picture in the stage mode. It will appear for 10 seconds then disappear and the player will continue his game. How am i suppose to keep the picture inside the screen even of the camera moves from that place?
Thanks given by:
Posts: 1,122
Threads: 17
Joined: Mar 2008
Have you tried state 9997 (+ dvy 550)?
03:28 [BluePhoenix] sleep is for weakling.
Thanks given by:
Posts: 1,556
Threads: 77
Joined: May 2011
07-31-2012, 04:05 AM
(This post was last modified: 07-31-2012, 01:51 PM by A-Man.)
Oh, so i was suppose to summon it at x: 0 when I didn't mention the x value at all (appear from right)... Thanx man!. Its working now. Solved.
Well, I am facing another problem now. I want to make it appear in front of everything else. How am I suppose to do that? The object is type 5, state 9997.
Thanks given by:
Posts: 1,122
Threads: 17
Joined: Mar 2008
If you can manage, immediately move the picture on the z-axis upon creation as far down as possible. (Not sure if hit_j works with type 5, if it doesn't, then spawn a t3 object which first moves as far down as possible on the z-axis, which then creates the picture.)
03:28 [BluePhoenix] sleep is for weakling.
Posts: 1,556
Threads: 77
Joined: May 2011
I made a t3 ball with a state 3000 frame, id 995 and hit_j: 99 and next(ed) to another state 3000 frame which opoints my state 9997 t5 picture. I summoned that t3 ball, but still it won't appear in the right z position. What did i do wrong?
Thanks given by:
Posts: 1,122
Threads: 17
Joined: Mar 2008
Depending on where the initial object is spawned (on the z-axis), a one-frame hit_j 99 (which is 49 pixels) might not be enough if you have a large background.
Not sure if a hit_j higher than 99 works. If that doesn't work, you probably need to let the object move on the z-axis for longer than one frame. Check the zwidth of your background, then you'll know what the maximum distance is that the object needs to move downwards.
03:28 [BluePhoenix] sleep is for weakling.
Thanks given by:
Posts: 1,556
Threads: 77
Joined: May 2011
Thanx. Everything is working now.
Thanks given by: