Jump to content


Photo
* * * * * 3 votes

Creating Your Own Room Transition With Gm7 Pro


  • Please log in to reply
37 replies to this topic

#1 torigara

torigara

    GMC Member

  • GMC Member
  • 6507 posts

Posted 02 March 2008 - 07:14 PM

  • Title: Creating your own room transition with GM7 Pro
  • Description: Describes how to define your own room transition script. The example file contains a number of sample scripts for basic and advanced effects.
  • GM Version: GM7
  • Registered: Yes
  • File Type: .zip (containing three .gmk)
  • File Size: 313K
  • File Link: room_transition.zip
Introduction
Game Maker 7 provides a way to define your own room transition effect. However, the explanation of the mechanism is very condensed (stuffed into the description of one function) and hard to get. This tutorial describes how to define a script and register it to be used on room transitions.

The first example contains scripts to emulate all of in-built room transitions (plus a few in the Room Transitions extension.) Not so impressive, but you can take basic expressions out of the code to implement your own effects. The second one contains a number of advanced sample scripts those also can be used as a base of your own one. The third example demonstrates other possibility of custom room transitions, such as keeping HUD and player on the screen during the transition. Useful on implementing so-called Zelda-style and Metroid-style room transitions.

Defining a script
At first, you have to define a transition script which is meant to be repeatedly called from Game Maker during the transition. The script is called with five arguments:
  • argument0 is the surface with the image of the previous room.
  • argument1 is the surface with the image of the next room.
  • argument2 and argument3 are the width and height of the surface, respectively. (It is also the size of the drawing region.)
  • argument4 is fraction of the transition. This takes a value between 0 and 1.
No need to afraid of "surface"; as to creating room transitions, you can simply think it as a sort of large sprite. The only difference is that you use functions like draw_surface instead of draw_sprite to draw it on the screen.

The last parameter, fraction, is the most important one. Your responsibility is to mix and draw those two images of rooms onto the screen according to the fraction. At the beginning (when fraction is 0) the first image should occupy the entire screen. As the transition goes on, the script is called over and over with gradually increasing fraction, to mix/interpolate/blend two images accordingly. At the end (when fraction is 1) the second image should occupy the screen.
Posted Image

Example:
// Script for "Squeeze from right" transition
var s_prev, s_next, s_width, s_height, fraction;
s_prev = argument0; // surface with the image of the previous room
s_next = argument1; // surface with the image of the next room
s_width = argument2; // the width of the surface
s_height = argument3; // the height of the surface
fraction = argument4; // fraction of the transition (between 0 and 1)
// Draw the previous room stretched at the left side.
// Its left position is fixed to 0, while width changes from s_width to 0.
draw_surface_stretched(s_prev, 0, 0, s_width * (1 - fraction), s_height);
// Draw the next room stretched at the right side.
// Its left position changes from s_width to 0, while width changes from 0 to s_width.
draw_surface_stretched(s_next, s_width * (1 - fraction), 0, s_width * fraction, s_height);
(Also take a look into the game information of the first example; it describes the basic way to derive those expressions.)

Using the room transition
Next, you have to register the transition to the system, using the function transition_define.
transition_define(100, "scr_squeeze_right");
Note that the second argument is the name of your script, which is a string. You usually have to put quotation marks around the name, as in the example above.

The first argument is the index which is to be assigned to the transition. You can use an arbitrary number unless it overlaps with an existing one. It is a good idea to define a constant for each kind of transition if you plan to make it an extension package.

Although it is harmless to register the same transition with the same index multiple times, you’d better ensure it to be registered only once throughout the game. (For example, execute the code in the game start event of a controller object.)

Once the transition is registered, you can use it by setting the index to transition_kind in prior to changing the room.
transition_kind = 100; // Squeeze from right
room_goto_next();
Additionally, you can change the speed of the transition with setting transition_steps. It controls how many times the script is called during transition. The larger the number is, the slower the transition gets and takes longer to complete. (With the default value of 80, it takes about 1.2 seconds.)

Link Updated: 6th Mar 2008
- Ripple effect is now less blocky
- added two sample effects
- some minor code refine for Metroid transition

Edited by torigara, 15 January 2011 - 04:30 PM.

  • 2

#2 soccer99

soccer99

    Unschooled Developer

  • GMC Member
  • 524 posts

Posted 04 December 2008 - 02:24 AM

Wow this is awesome! I especially liked the 3rd example.
  • 0
I am a programmer and filmmaker.

Working in Hollywood!

#3 King Killa

King Killa

    <-- ?Which Way? -->

  • New Member
  • 572 posts

Posted 08 December 2008 - 05:28 AM

Very nice - informative and helpful. This should be a lot of help to me and many others.
  • 0

#4 2d_games

2d_games

    GMC Member

  • GMC Member
  • 1503 posts
  • Version:GM8

Posted 11 December 2008 - 12:05 AM

I liked it and understood just about all of it.(Everything except the surfaces.)

I do have one question though, when implementing the metroid style transition into my game, all but one thing confused me. TR_RIGHT and TR_LEFT. They are not part of GM's functions yet they light up as such. When I tried to use this in my game I got an error for an unknown variable.

I know why and its because when I put these into my game, it doesn't light up at all which clearly means I'm missing something improtant. What am I missing? Are you using an extention? Any scripts I left out other than enter_gate and scr_tr_gate?
  • 0

#5 xot

xot

    GMC Dismember

  • GMC Elder
  • 4777 posts
  • Version:GM:Studio

Posted 11 December 2008 - 12:35 AM

I do have one question though, when implementing the metroid style transition into my game, all but one thing confused me. TR_RIGHT and TR_LEFT. They are not part of GM's functions yet they light up as such. When I tried to use this in my game I got an error for an unknown variable.


Those are constants that torigara sets in "Global Game Settings".
  • 0
GMLscripts.com, rise from your grave!

#6 2d_games

2d_games

    GMC Member

  • GMC Member
  • 1503 posts
  • Version:GM8

Posted 11 December 2008 - 12:39 AM

I do have one question though, when implementing the metroid style transition into my game, all but one thing confused me. TR_RIGHT and TR_LEFT. They are not part of GM's functions yet they light up as such. When I tried to use this in my game I got an error for an unknown variable.


Those are constants that torigara sets in "Global Game Settings".


EDIT:I fixed it and got it working now.

Edited by gamemakernooby, 11 December 2008 - 08:26 PM.

  • 0

#7 Very Melon

Very Melon

    GMC Member

  • New Member
  • 118 posts

Posted 11 December 2008 - 08:22 PM

This is an excellent example, it's really helpful when there are examples made which explain the less used actions of GM.

~Very Melon
  • 0
Come find out what you are!
Current Projects:
Metroid Hazard
GS Platformer
Castlevania: Dracula's Resurrection (/working title)

#8 conman124

conman124

    The Almighty!

  • New Member
  • 282 posts

Posted 12 December 2008 - 02:47 AM

Very nice! I didn't really understand the room transitions until this.

Thank you,
Conman124
  • 0

"We have no government armed with power capable of contending with human passions unbridled by morality and religion . . .
our Constitution was made only for a moral and religious people. It is wholly inadequate to the government of any other." - John Adams


#9 Broxter

Broxter

    Jack Brockley

  • GMC Member
  • 540 posts
  • Version:GM:Studio

Posted 19 December 2008 - 10:29 AM

Wow, are we free to use the cool effects in the second example?

- Broxter
  • 0

#10 IceMetalPunk

IceMetalPunk

    InfiniteIMPerfection

  • GMC Elder
  • 9603 posts
  • Version:GM:Studio

Posted 22 December 2008 - 08:04 AM

Nice ones :unsure: . One thing I don't understand, though. In your Metroid example, you reference the global variables gate_x[1] and gate_y[1] a few times. However, I can't for the life of me find where they are set. I tried searching in scripts for it, looked through the object codes, but I couldn't find it. I'm now pulling my hair out trying to understand how a variable that was never set could be referenced, and everything works fine.

Obviously I'm missing something...mind telling me what it is :P ?

-IMP ;) :)
  • 0

:GM123: Are you an artist who likes creating original creature designs? Maybe you can help out with Elementa here! Give it a look; you might like the idea :)

:bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny:


#11 2d_games

2d_games

    GMC Member

  • GMC Member
  • 1503 posts
  • Version:GM8

Posted 22 December 2008 - 11:49 PM

Nice ones :unsure: . One thing I don't understand, though. In your Metroid example, you reference the global variables gate_x[1] and gate_y[1] a few times. However, I can't for the life of me find where they are set. I tried searching in scripts for it, looked through the object codes, but I couldn't find it. I'm now pulling my hair out trying to understand how a variable that was never set could be referenced, and everything works fine.

Obviously I'm missing something...mind telling me what it is :P ?

-IMP ;) :)


In the enter_gate script, near the top, it declares some variables:

global.gate_x[0] = argument1.x;
global.gate_y[0] = argument1.y;

Edited by gamemakernooby, 22 December 2008 - 11:49 PM.

  • 0

#12 IceMetalPunk

IceMetalPunk

    InfiniteIMPerfection

  • GMC Elder
  • 9603 posts
  • Version:GM:Studio

Posted 23 December 2008 - 05:43 AM

Yes, that sets gate_x[0] and gate_y[0]. But where are gate_x[1] and gate_y[1] set?


-IMP :D ;)
  • 0

:GM123: Are you an artist who likes creating original creature designs? Maybe you can help out with Elementa here! Give it a look; you might like the idea :)

:bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny: :excl: :bunny:


#13 torigara

torigara

    GMC Member

  • GMC Member
  • 6507 posts

Posted 19 January 2009 - 01:33 PM

But where are gate_x[1] and gate_y[1] set?

They're set in the room start event of the player.

When a room transition takes place, GM preliminarily executes the create, room start and draw events in the next room to prepare the image. The example uses it to get the position of the exit.
  • 0

#14 Malkierian

Malkierian

    GMC Member

  • New Member
  • 12 posts

Posted 23 March 2009 - 04:42 AM

This really is helpful, but a few questions.

First, where are the arguments set for the transitions (i.e., where are the transition scripts called from in the first place where you set the surfaces? I just don't understand how to tell it what the surfaces are that it's using for the transitions)?

Second, should I be able to do a Super Mario Bros 3 type transition (where it sets pixels to black in a clockwise spiral from the outside to inside) in one transition or would I have to use two?
  • 0

#15 Squiggy2

Squiggy2

    GMC Member

  • New Member
  • 159 posts

Posted 13 April 2009 - 12:32 AM

I love this example it helped me so much, I cannt downlaod any extensions so im am so glad there is another way :P :P ;) :P :P
  • 0

#16 p@lik

p@lik

    GMC Member

  • GMC Member
  • 115 posts

Posted 18 April 2009 - 03:16 AM

sweet i like number 3
  • 0
I only use gm7 pro and of my question/anwsers apply to gm7 pro

#17 Yambam

Yambam

    GMC Member

  • GMC Member
  • 644 posts
  • Version:GM8

Posted 23 April 2009 - 07:30 PM

i dont get how to make that gate transion but i want to use it ;)
  • 0

green-banner.png

If you have any problems with GameMaker, you can PM me. ;D


#18 Titanium

Titanium

    the perfectionist

  • GMC Member
  • 1166 posts

Posted 01 September 2009 - 12:57 AM

I must say this is the best Transition Tutorial. It works perfectly without glitches, AND, it's very informative. I love it. 100/10!!! I love the comments... seriously... You have more comments than actual code which is pretty helpful.
  • 0
ljrk.png
Please Play My Games.

#19 Itachifan

Itachifan

    GMC Member

  • GMC Member
  • 765 posts
  • Version:GM8

Posted 15 October 2009 - 01:55 AM

Darn, this looks so cool. If only it was for unregistered.

Anyways, do you think a room transition like this one could be made?


(In 0;32 and in 5:59)



http://www.youtube.c...feature=related
  • 0

"A cute girl stopped me on the way, so I danced."-Kakashi Hatake

My Youtube Account. I do Let's Plays!

My LiveStream Account


#20 pikachu123

pikachu123

    Pika, pika, pikachu!

  • GMC Member
  • 580 posts
  • Version:GM8

Posted 13 February 2010 - 07:07 PM

I do have one question though, when implementing the metroid style transition into my game, all but one thing confused me. TR_RIGHT and TR_LEFT. They are not part of GM's functions yet they light up as such. When I tried to use this in my game I got an error for an unknown variable.


Those are constants that torigara sets in "Global Game Settings".


EDIT:I fixed it and got it working now.

How did you type the TR_LEFT and the TR_RIGHT etc. in? it won't let me
Nvm figured it out

Edited by pikachu123, 13 February 2010 - 07:10 PM.

  • 0


#21 Bjornacorn

Bjornacorn

    World of Warcraft

  • New Member
  • 197 posts

Posted 06 July 2010 - 07:49 AM

I've always wondered if this was possible. Thank you, torigara. You walkthrough made sense to me.
  • 0
If this post helped, or is useful, press this button------------------------------------------------------------------------------------------>Below This

#22 imam_mashur

imam_mashur

    GMC Member

  • New Member
  • 282 posts

Posted 11 November 2010 - 10:24 AM

AWESOME...
5/5

  • 0

Sorry if my english is BAD. I tried my best to study english.

Simple Menu Example---Draw your health bar
Posted ImagePosted ImagePosted ImagePosted Image


#23 Wooderson

Wooderson

    GMC Member

  • New Member
  • 2 posts

Posted 17 November 2010 - 02:15 AM

how do I create a new room with this? cause every time i try it says the room doesn't exist... am i missing something?, or can i only work with the previously created rooms?
  • 0

#24 torigara

torigara

    GMC Member

  • GMC Member
  • 6507 posts

Posted 19 November 2010 - 02:50 AM

how do I create a new room with this? cause every time i try it says the room doesn't exist...

Supposing that you're using the third example, every room should contain an instance of obj_controller. In the room editor, hold Ctrl and right-click the instance, choose "Creation Code", and you will see a piece of code that looks like following.
// Set indices of room at four sides (see do_transition)
tr_room[TR_LEFT] = room_east;
tr_room[TR_RIGHT] = room_west;
tr_room[TR_UP] = room_north;
tr_room[TR_DOWN] = room_south;
You're supposed to specify the next room at each side in this way. (Take a look into the script do_transition for further description.)
  • 0

#25 WannabeGod

WannabeGod

    GMC Member

  • New Member
  • 2 posts

Posted 19 November 2010 - 09:40 AM

where are the arguments set for the transitions (i.e., where are the transition scripts called from in the first place where you set the surfaces? I just don't understand how to tell it what the surfaces are that it's using for the transitions)?

You don't need to set them, gamemaker inputs the surfaces of the old and new room in the transition script.
All the arguments are actually predefined and thrown in by gm.

Edited by WannabeGod, 19 November 2010 - 09:42 AM.

  • 0

#26 goldage5

goldage5

    GMC Member

  • GMC Member
  • 152 posts

Posted 23 December 2010 - 05:25 PM

link broken!!!!!
  • 0

#27 shilohbrown

shilohbrown

    GMC Member

  • New Member
  • 1 posts

Posted 13 January 2011 - 02:02 AM

The ninja got closer and cuborm a blast got the ninja.
  • 0

#28 Pro Pro.

Pro Pro.

    GMC Member

  • GMC Member
  • 734 posts

Posted 14 January 2011 - 06:03 AM

can someone re-upload this, or pm me if you have the files? Its the only custom transition example i can find.
  • 0

#29 Slajmboll

Slajmboll

    GMC Member

  • GMC Member
  • 71 posts
  • Version:GM:Studio

Posted 20 March 2011 - 11:31 PM

Hello you all. I'm kinda having trouble with this (I also recently started to use GM, so that makes sense I guess). :)

Anyhow, I'm getting this message when going to the right border of the screen:

"ERROR in
action number 4
of Keyboard Event for <Right> Key
for object kara:

In script do_transition:
Error in code at line 11:
next_room = obj_controller.tr_room[argument0];
^
at position 14: Unknown variable obj_controller
"


My creation code in the room seems ok I think (only want one entrance, to the right):

"// Set indices of room at four sides (see do_transition)
tr_room[TR_LEFT] = -1;
tr_room[TR_RIGHT] = rm_room0;
tr_room[TR_UP] = -1;
tr_room[TR_DOWN] = -1;"


Information about object:

Sprite: character
Solid: false
Visible: true
Depth: 0
Persistent: true
Parent: <no parent>
Mask: <same as sprite>

Step Event:
if relative position (0,1) is collision free for Only solid objects
set the gravity to 0.5 in direction 270
else
set the gravity to 0 in direction 270
if vspeed is larger than 12
set the vertical speed to 12

Collision Event with object wall:
move in direction direction at most 12 till a contact with solid objects
set the vertical speed to 0


Keyboard Event for <Left> Key:
if relative position (-4,0) is collision free for Only solid objects
jump relative to position (-4,0)

Keyboard Event for <Up> Key:
if relative position (0,1) gives a collision with Only solid objects
set the vertical speed to -10

Keyboard Event for <Right> Key:
if relative position (4,0) is collision free for Only solid objects
jump relative to position (4,0)
if object is aligned with grid with cells of 0 by 32 pixels
execute code:

if (x+32 >= room_width) {
// Go to the room to the right when the player tries to go beyond the right border of the room
do_transition(TR_RIGHT);
}
else {
hspeed = 4;
vspeed = 0;
}


I have no clue, is there something specifik I should change in the scripts? I deleted the teleportscript, gatescript and font, since I didnt have use for it. Hmm. Anway, I would be so thankful for some help. I offer cake and love. And sorry for my crappy english.
  • 0

#30 abaddamn

abaddamn

    GMC Member

  • GMC Member
  • 38 posts

Posted 12 July 2011 - 02:41 AM

Hello you all. I'm kinda having trouble with this (I also recently started to use GM, so that makes sense I guess). :)

Anyhow, I'm getting this message when going to the right border of the screen:

"ERROR in
action number 4
of Keyboard Event for <Right> Key
for object kara:

In script do_transition:
Error in code at line 11:
next_room = obj_controller.tr_room[argument0];
^
at position 14: Unknown variable obj_controller
"


My creation code in the room seems ok I think (only want one entrance, to the right):

...

I have no clue, is there something specifik I should change in the scripts? I deleted the teleportscript, gatescript and font, since I didnt have use for it. Hmm. Anway, I would be so thankful for some help. I offer cake and love. And sorry for my crappy english.


The obj_controller needs to be in the same room when the transition takes place. That's why it doesn't work. Have a look in Torigara's Room transition file.

Otherwise you can just change the 'next_room=obj_controller.tr_room[argument0]' -> 'next_room=your_room' and then that should work fine.


Question to Torigara and anyone who know how to deal with GM Surfaces...
There is an issue with the room transition script. I've implemented your script to make the room transition (specifically the push transitions) and they are great - except for one nagging big problem:

During the Transition - alpha around the trees removes the underlayer
and the buffered image from the previous frame seem to appear underneath.
Posted Image

Don't worry about it - I've figured it out already.
The solution is draw_clear_alpha(0,0), put it in before the transition part of the script.

Edited by abaddamn, 13 July 2011 - 01:06 AM.

  • 0

#31 Desert Dog

Desert Dog

    GMC Member

  • GMC Elder
  • 6409 posts
  • Version:Unknown

Posted 03 April 2012 - 08:59 PM

Evil bump coming up. Haven't commented on these before, but this really is great stuff!
  • 0
HTML5 games for mobile:
HexDogs Bugz Burn! Captain George Golfing Block Memory

Games for Androids
*NEW* Word Dog - Published by Dangerous_Dave


Code: General Array Functions - GM-S friendly. sorting, shuffling. Includes a quicksort.
Use the quicksort to sort ds_lists 10-18 times faster than ds_list_sort()!

#32 Epixel

Epixel

    GMC Member

  • New Member
  • 3 posts
  • Version:GM:HTML5

Posted 14 April 2012 - 09:56 PM

Hi!

I really, REALLY want to use your teleport transition, but i cannot rip it from your example!
Do you have an example with only THAT transition?
  • 0

#33 RangerX

RangerX

    GMC Member

  • GMC Member
  • 1144 posts
  • Version:GM8.1

Posted 20 September 2012 - 07:34 PM

Bumping this because apparently I am dumb.
I don't know how to implement those transitions into my games. I look at Tori's GML in his "object control" and "obj button" and I don't even see where he calls for his transition scripts. There's something I'm not getting...

Could someone tell me what I am missing there or direct me to a TUTORIAL with step by step examples on how to create my own transitions? (fade in/out if possible). I don't want some "here's a gm example file and then figure it out" kind of "tutorial". I'm too dumb for that apparently.


EDIT:
oh well, looks like I created my own "fade in / fade out" transitions. They also work after loading a game so I am satisfied with it for now.

Edited by RangerX, 25 September 2012 - 11:19 AM.

  • 0

----------------------------------------- Looking for feedback! -------------------------------------------------------

The Life Ruby (Metroidvania platformer / Skills platformer)

(alpha section)

http://gmc.yoyogames...opic=658670&hl=

 


#34 Brock Lee

Brock Lee

    GMC Member

  • GMC Member
  • 24 posts
  • Version:GM7

Posted 18 December 2012 - 09:47 PM

My God, these transitions are amazing. I LOVE YOU!
  • 0

#35 TheouAegis

TheouAegis

    GMC Member

  • GMC Member
  • 11130 posts
  • Version:GM8

Posted 10 February 2013 - 02:04 AM

Greatest bump in the history of mankind!

So far starters, a shameless plug!

http://gmc.yoyogames...=0#entry3903326

That's a link to my "tutorial" on a Castlevania-style room transition (Classicvania, not crappy IGAvania). I just recently updated it. I wrote up that room transition (the original version is also in the demo and is hidden in the spoiler tag in the first post) based on torigara's tutorial here. Yes, it took a lot of trial and error to get down, but it can be done and my "tutorial" proves it! (Mine and some of the Metroid engines floating around out there.)

I wanted to add a couple things to tori's tutorial too. First off, you don't need to declare a variable during a transition: it will automatically be script-local. In other words, you don't need
var fraction;
Torigara did that in his tutorial. Also, while it does help you read your script by assigning arguments to custom variables, it does waste cycles. So if you can read a script fine using just "argument0' or "argument1" or "argument2" instead of special variables like torigara does, then that would be best.

Also, even though room transitions literally freeze your game while processed, you can still do things "outside" the transition while it's running. Actions which affect objects, tiles or backgrounds will affect the objects, tiles, and backgrounds in the next room. This means you can set the player's coordinates in the next room during the room transition, for example (I do this in my "tutorial").

You can play sounds during a transition as well. If you've ever played Castlevania 3 on the NES, when a door opens it makes a slamming sound, then again when it shuts. That can be done with a custom transition in Game Maker!

If you really wanted, you could make a message box pop up during a transition. This is very, very, very, extremely useful when trying to debug your transitions.

To make scripting a timeline-style room transition easier on yourself, first multiply argument4 by transition_steps and save it in another variable like so:
argument15 = argument4 * transition_steps;
You can then reference that variable. The reason for this is argument4 is a fraction. It's easier to work with integers than it is to work with fractions, I think.


This bump made possible by torigara, whose tutorial here helped me make my own complex transition. :thanks:

Edited by TheouAegis, 10 February 2013 - 02:05 AM.

  • 0
"Do not think about where you want to be and how to get there; think about what you want to do and how to do it." -Theou Aegis

#36 sombra

sombra

    GMC Member

  • GMC Member
  • 85 posts
  • Version:GM8

Posted 18 February 2014 - 10:21 AM

Bumping this hoping someone can help me.

 

I'm having trouble on trying to add the  fade out/in transition (example1) to my plattform game. I'm using views, i dunno if this is related to my problem. What happening is the fade out works ok, but the fade in draws the opposite side of the next room

 

 

Let's say, if I'm going from room1 to room2, surface for previous room is displayed correctly, but the second surface (the next room image) shows the END of that room, not the beginning

 

If i go from room2 to room1, the "next room surface" shows the BEGINNING of room1 instead of its END. I have really no idea what's going on here.  :(

 

 

 

Thank you.


Edited by sombra, 18 February 2014 - 10:32 AM.

  • 0

#37 Lazy Brain Games

Lazy Brain Games

    GMC Member

  • GMC Member
  • 141 posts

Posted 17 July 2014 - 12:02 AM

I'm using some of this code for a project, and it works awesome! One thing I can't seem to figure out is how exactly GM is defining s_next. For various reasons I'd like to manipulate what part of the next room is being drawn, but I'm not sure how the surface controlling the next room's image is managed. I've dug through the code, but I can't seem to come up with anything! Any pointers are greatly appreciated :)

 

Cheers,


  • 0

#38 TheouAegis

TheouAegis

    GMC Member

  • GMC Member
  • 11130 posts
  • Version:GM8

Posted 30 July 2014 - 07:11 PM

Sounds like the same issue for both of you. In the Create Event or Room Start Event (or code), you need to reset the position of the view. Or do that in the Draw Event of some self-destructing controller object. You could even do it in the transition script itself, if you wanted.


  • 0
"Do not think about where you want to be and how to get there; think about what you want to do and how to do it." -Theou Aegis




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users