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.

Issue with event...

Ok, on my first map (this is the intro of the game) my event goes like this:

@>Set Move Route: Player
: :$>Change Opacity: 0
@>Set Move Route: Player
: :$>Wait: 13 frame(s)
@>Wait for move's completion
@>Set Move Route: Player
: :$>Change Speed: 1
: :$>Change Opacity: 255
@>Wait for move's completion
@>Set Move Route: Player
: :$>Change Speed: 5
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
@>Wait for move's completion
@>Control Self Switch A=ON
@>



and this event is set to parallel process. As soon as the game cuts on, the main character runs on to the screen with this page in the event. Page two is self switch A:

Self Switch A is ON on this page:
@>Text: ??? : NO!!!
@>Text: ??? : Please! WAIT!!!
@>Control Self Switch B=ON
@>

Now page three cuts on after he says all this..

Self Switch B is ON on this page:
@>Set Move Route: Player
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
@>Wait for Move's Completion
@>Set Move Route: Player
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Move Down
: :$>Turn Right
: :$>Change Speed: 4
@>Control Switches [0001: OpeningCS]=ON
@>


Now. The character has now moved from the first map to the second map and has ran down and across the second map to an area where he suddenly stops, when he stops a demon appears near him flashing a few times, then fully appearing and walking down. Then I want the demon to start talking and while he is in the middle of talking the main character runs to the right a bit, stops, then looks down towards where the demon is standing, which will be about 5-10 steps below him once the main char is there. It isn't working though.. the demon disappears and the char runs to the right, then looks down, then continues doing that sequence.. here is the code for Switch 0001 that just got turned on..

Switch 0001: OpeningCS is ON on this event:
It is a parallel process..
@>Wait: 100 frames(s) <----------------this is so he will start flashing and appear once the character has moved to this map and stopped.
@>Set Move Route: This event
: :$>Graphic: "097-Monster11', 0, 2, 0
: :$>Wait: 7 frame(s)
: :$>Graphic: (None)
: :$>Wait: 5 frame(s)
: :$>Graphic: "097-Monster11', 0, 2, 0
: :$>Wait: 2 frame(s)
: :$>Graphic: (None)
: :$>Wait: 2 frame(s)
: :$>Graphic: "097-Monster11', 0, 2, 0
: :$>Wait: 2 frame(s)
: :$>Graphic: (None)
: :$>Wait: 2 frame(s)
: :$>Graphic: "097-Monster11', 0, 2, 0
@>Wait for Move's Completion
@>Set Move Route: This event
: :$>Wait: 10 frame(s)
: :$>Move Down
: :$>Wait: 4 frame(s)
: :$>Move Down
: :$>Wait: 4 frame(s)
: :$>Move Down
: :$>Wait: 4 frame(s)
: :$>Move Down
@>Wait for Move's Completion
@>Control Self Switch: A=ON
@>Control Switches: [0001:Opening CS]=OFF
@>



Now the next page:

Self Switch A is ON on this page:
Parallel process again.. and the graphic is set to the graphic of the monster
@>Text: Bane : Finally..
@>Text: Bane : Finally..
: : Now give it back.
@>Control Self Switch: B=ON
@>Control Self Switch: C=ON
@>Control Self Switch: A=OFF


The third page is self switch C set to ON and the graphic of the monster (just so the monster will stay visible and stand there without disappearing, although it isn't working properly..) and it's parallel process


The fourth page is sel switch B set to ON:
Parallel process again..
This process is to make the main character move
@>Wait: 12 frame(s)
@>Set Move Route: Player
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Move Right
: :$>Turn Down
@>Wait for Move's Completion
@>


Now, the whole reason the monster is saying what he is saying is because there is going to be a girl in front of him (the main char and monster are now standing on a cliff) and the main char is there because he is trying to get the girl before the monster/demon can hurt her.. she is holding a valuable item that the monster wants.

WHY is this not working properly?

Thanks!!
Trevor
 

Star

Sponsor

HOLY CRAP. I think I'm gonna have to mirror this in order to see what your doing, But even so. Could you like post your little demo so I can fix it on screen instead of doing all this. I just tried to mirror it and I just realized I have no idea when your character transfers maps. INFACT I don't think you're doing it right. You should have the player transfer maps on the actual event instead of doing a player touch thing. Which could be the cause of all your problems. And plus most of these things should be set as an autorun. It's safer that way.
 
Ya I would be glad to post it for you! Where can I do it or how can I do it? I also don't really know how all this works.. it's definitely not top-down like Java and it's making it hard to construct the events how I want.. also I don't know the properties of switches like self switches, like do they cut themselves off or do I have to cut them off at the end of their page, etc.

So, where can I host the file for you to mirror?
 

Star

Sponsor

MusiciMake80":2t10jztx said:
Ya I would be glad to post it for you! Where can I do it or how can I do it? I also don't really know how all this works.. it's definitely not top-down like Java and it's making it hard to construct the events how I want.. also I don't know the properties of switches like self switches, like do they cut themselves off or do I have to cut them off at the end of their page, etc.

So, where can I host the file for you to mirror?
try www.filefront.com

Oh I forgot to ask if you're using XP or VX. I hope it's XP XD. But I think the eventing is the same. But if it's VX I guess I can download the trial and see what's going on. I'm a pretty advanced Eventer if I do say so myself. Self Switches usually stay the way they are even if you change maps. They work just like regular switches except they aren't global they are just for that event you're working in
 
Btw, the first event is bottom left corner of first map and second event is on second page in the middle of where the play stops on the mountain just look around its in the middle of a brown area
 

Star

Sponsor

MusiciMake80":6199b10h said:
You didn't upload the right thing LOL. You're probably new at this. But Go to your RPG maker XP game. Under File. Click Compress Game Data. Pick a folder "Don't click Encrypt Archive" Cause that won't allow me to see the events. After you finish compressing it you should see a little exe thing created in the folder you picked. Then upload it. I can't see your events until you do that.

Thanks
 
Is it working?



Oh, and is there a better way to make the second event start right when the player turns towards the monster's direction at the end of the first event? I used wait: 100 frames I think, and it works properly, but for future reference how would I make it start after he stopped without doing that?
 

Star

Sponsor

Sorry that took a while I had to go walking with my mom.

Okay here is your problem. On the second event page of the demon you turn on self switch C and B at the same time

Since the fourth event page is the last page it will automatically revert to that. And you don't have a character graphic there so the demon will disappear. Plus it's parallel process with no switch instead of an "autorun or parallel process that shuts off with a switch". So your character will keep running the cycle

You also have A LOT of unnecessary switches. It's tough to get used too, but you shouldn't really flip switches until scenes are over with or you want something to activate. Like an event, item, quest, something.

Here. I'll upload the same demo with the fixed thing

http://files.filefront.com/Game2exe/;13 ... einfo.html
 
Thank you!!!!! It worked and I understand what you're saying!

Now, if I wanted the character walk AS the monster's second text box was coming up and while the text is typing out, how would I do that?
 

Star

Sponsor

MusiciMake80":373ebud7 said:
Thank you!!!!! It worked and I understand what you're saying!

Now, if I wanted the character walk AS the monster's second text box was coming up and while the text is typing out, how would I do that?

Get rid of Wait till moves completion and have your players move route come first and then the text come second Then the player will move while the text is typing

Oh, and is there a better way to make the second event start right when the player turns towards the monster's direction at the end of the first event? I used wait: 100 frames I think, and it works properly, but for future reference how would I make it start after he stopped without doing that?

There are plenty of ways of doing this. Let me reupload the demo with what you should do. It's just variables and conditional branches under a parallel process that ask when your character has reached the map coordinates of X = 24 and Y = 25

http://files.filefront.com/Game3exe/;13 ... einfo.html
 
Muahaha, I figured out how to add a branch where it does something only once he is facing towards the monster too :) thanks a ton man. Learned a bunch from this. I see that for the variables and such you changed the event to parallel process instead of autorun.. why is that?
 

Star

Sponsor

MusiciMake80":6egnxfxm said:
Muahaha, I figured out how to add a branch where it does something only once he is facing towards the monster too :) thanks a ton man. Learned a bunch from this. I see that for the variables and such you changed the event to parallel process instead of autorun.. why is that?
I checked my PM's. But sorry, I really can't help you, I got too much on my hands helping other people. I can help with event issues such as this.

I changed it to a parallel process because if set to an autorun and if the conditions set by a conditional branch are not met right away the game will freeze.
 

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