Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
kellessdee

Using specified transition within a script [SOLVED]

Question

I am sorry if this has been answered I couldn't manage to find it on google or by searching the forum O.o but should be a quick and easy answer (I hope lol)

 

the issue I am having is specifying a transition file within the RGSS editor.

for example, say when transitioning to a new Menu scene or something.

 

# This is what I am trying to use
Graphics.transition(5, "trans_ripple") # trans_ripple being the filename, 5 being how many frames
# and I have tried
Graphics.transition(5, 'Graphics\Transitions\trans_ripple') # single quotes so \ does not need to be escaped

 

And each time I get file not found error.

According to the help file, the correct syntax is:

Graphics.transition([duration[' date= filename[, vague]]])

Carries out a transition from the screen fixed in Graphics.freeze to the current screen.

 

duration is the number of frames the transition will last. When omitted, this value is set to 8.

 

filename specifies the transition graphic file name. When not specified, a standard fade will be used. Also automatically searches files included in RGSS-RTP and encrypted archives. File extensions may be omitted.

 

I was hoping someone may know what I am doing wrong, does my game NEED to be encrypted just to use specific transitions? That just doesn't seem logical.

Edited by kellessdee

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

LMAO

 

Any moderator or admin who sees this, I have figured this out:

 

i have been using Graphics\Transitions\file_name

 

when it should be Graphics/Transitions/file_name

 

ALSO it should be noted that I must've been asleep at the helm or something, I imported all the transitions to my animations folder :/

 

So you can close this topic PROBLEM SOLVED

 

EDIT: OOps, I guess I coulda edited the original post

Edited by kellessdee

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...