ZFGC

Resources => Coding => Topic started by: A Storm in the Desert on June 29, 2006, 12:05:19 pm

Title: [Request / Linking] Replicating a transition from GM 5
Post by: A Storm in the Desert on June 29, 2006, 12:05:19 pm
Just recently, I've noticed an interesting difference between GMs 5 and 6. Game Maker version 5 has 18 room transition styles, whereas Game Maker 6 only has 14. The four that are missing are 'Push from (top,bottom,left,right)'. This is interesting. I noticed this when running an old Zelda engine I have, the rooms have a transition style identical to that of Zelda. The only issue with the transition was that the HUD was visible in the 'to' room, and the 'from' room during the transition, though this could be solved by making the HUD temporarily invisible.

What I wanna know, is why Mark removed this transition and whether or not it would be possible to make a script for it, a-la Da-Huntha's 'draw_text_sprite()' substitute script.
Title: Re: Replicating a transition from GM 5 [Discussion/Question]
Post by: Yoshi on June 29, 2006, 03:14:24 pm
You can try this, which has a lot of transitions (like Pixelate, very useful for Zelda games) and those you wanted:

http://forums.gamemaker.nl/index.php?showtopic=179657 (The download link is in there)
Title: Re: Replicating a transition from GM 5 [Discussion/Question]
Post by: A Storm in the Desert on June 29, 2006, 03:54:44 pm
Thankyou! ^^
Title: Re: Replicating a transition from GM 5 [Discussion/Question]
Post by: Scooternew on June 29, 2006, 04:44:56 pm
Well, as a matter of fact, J-Factor, who made those transitions explained them a bit to me. Basically, what won't work is that the HUD will scroll with room. So, what you have to do is disable automatic drawing while the room is scrolling and manually draw the HUD and Link at the correct positions, so they won't scroll with the view. When the transition is done, set everything back to normal.

But J-Factor is really an intelligent guy. I'd ask him any questions regarding transitions.
Title: Re: Replicating a transition from GM 5 [Discussion/Question]
Post by: A Storm in the Desert on June 30, 2006, 10:23:47 am
Yeah, I had an idea to make the HUD and Link invisible during the transition to overcome the problem of them being drawn in both rooms.
Title: Re: Replicating a transition from GM 5 [Discussion/Question]
Post by: Master J on July 10, 2006, 12:38:31 am
Or you could try something more efficient and perhaps easier to understand.

http://forums.gamemaker.nl/index.php?showtopic=221216&hl= (http://forums.gamemaker.nl/index.php?showtopic=221216&hl=)

Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved