Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

RMXP, starting out... need some help

This is my first time using RMXP, and I'm working on a little project. I've read several tutorials here and watched some tutorials in youtube, but I'm still running into trouble.

I'll try to explain what I'm trying to do:
In my intro cutscene, a guy is sitting by a fire and there is a sort of an altar nearby. The screen flashes and a person appears at the altar, asleep. The guy by the fire turns around, gives the exclamation animation and walks toward the newly appeared person to wake him up.

Now I've created an event that goes like this:

(Trigger set to parallel process)

Change Transparent Flag: Transparency
Wait 20 frames
Screen flash @ 10
Control switches [0001] = on (and the switch is on the 2nd event page, to stop the flash from looping)
Changed graphic into a "down" sprite
Changed transparent flag back to normal

So far this causes the altar to be empty at the beginning of the game, then a flash occurs, revealing the sleeping guy. Here is were I start running into problems.

1st problem: The sleeping guy is movable by the directional arrows. I don't want him to move till the end of the cutscene.

2nd problem: After the previous commands I have entered the following:

Wait 20 frames
Other guy (by the fire) turn around 180
Exclamation Animation

However this set of commands do not initiate...

Any help would be appreciated.
 
You should use the autorun trigger instead of the parallel process.  What parallel process does is it runs in the background while the player can still move around and such.  In autorun, it waits until the event is finished.  Also, you'll need to turn on a self switch after the event is finished and create a new event page with the self switch as a conditional.  This prevents the event from looping.

~Guardian1239
 
Thanks for the reply.

I changed it into autorun, and that did solve the problem but introduced another. Now when I first start the game the character that is supposed to be invisible appears very briefly before dissappearing and reappearing again with the flash, whereas with parallel processing, he'd be invisible from the start... hmm
 
Worked like a charm :thumb:

Now I'm trying to make the guy by the fire move toward the sleeping guy.

I inserted something like: move right, move right, move up, move up, move right move right. He would only take the first right move and then stop..

EDIT: NVM worked
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top