Transition between rooms / doors

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

Transition between rooms / doors

Postby sillydraco » Sun Feb 27, 2011 4:14 am

okay, so im making an overview rpg, LOZ style :D now im working on doors, and i got them working fine but i wanna have like, the fade to black then teleport to next area, then fade back to normal. i have an actor named "transition" that goes over the "view". it is just solid black, and i want to use it by changing its transparency from 0.0 to 1.0 so it looks like the game fades out then back in. but im not sure what im doing wrong >.> it worked okay, but it was just a blip...you could barely tell it even happened! so i made a variable "fade" that would count to 10 before subtracting .01 from "transition"s transp.

now its not even doing anything anymore :/ i dunno, maybe someone else can point out what im doin wrong while i work on something else x3
Attachments
screeny.jpg
Cave.zip
(828.52 KiB) Downloaded 154 times
Time for sleepy, dream of new things...new life, new reality, new wings.
Image
User avatar
sillydraco
 
Posts: 71
Joined: Fri Apr 03, 2009 7:54 am
Score: 3 Give a positive score

Re: Transition between rooms / doors

Postby sillydraco » Sun Feb 27, 2011 6:05 am

well i came back after having dinner and kinda... fixed it? i did it a different way tho, i used an animation and played with the animpos instead of messing with transparency. it works now!

also, btw in case anyone couldnt figure it out, the door is the hole under the three trees :3
Attachments
screeny.jpg
Cave.zip
(817.88 KiB) Downloaded 145 times
Time for sleepy, dream of new things...new life, new reality, new wings.
Image
User avatar
sillydraco
 
Posts: 71
Joined: Fri Apr 03, 2009 7:54 am
Score: 3 Give a positive score

Re: Transition between rooms / doors

Postby Hblade » Sun Feb 27, 2011 1:23 pm

Ah, I'm looking forward to this game getting done a ltitle more :D

I was gonna say you can try making an actor the same size as the width and height of the view, and the actor be all black, then have him fade in with some variable switching. Same with fading out xD
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: Transition between rooms / doors

Postby sillydraco » Mon Feb 28, 2011 5:29 am

perhaps a randomizing script? ive looked around for some good randomizing scripts, so far i havent seen any good ones :< and if youve seen my other sidescroller game, ill probably add the same sort of features in the way of menu and items and such :3
Time for sleepy, dream of new things...new life, new reality, new wings.
Image
User avatar
sillydraco
 
Posts: 71
Joined: Fri Apr 03, 2009 7:54 am
Score: 3 Give a positive score

Re: Transition between rooms / doors

Postby JimJamJom56 » Thu Jul 21, 2011 8:26 am

To make the black box fade in I would put a timer that repeats 10 times, and put
Code: Select all
transp = transp - 0.1;
into the script editor. Then to make it fade out use another timer and put
Code: Select all
transp = transp + 0.1;
.
Don't be surprised if I say something Pocket PC related :P

Press any key to continue, or any other key to cancel.
User avatar
JimJamJom56
 
Posts: 36
Joined: Fri Jun 24, 2011 3:48 pm
Location: Behind You
Score: 2 Give a positive score


Return to Advanced Topics

Who is online

Users browsing this forum: No registered users and 1 guest