[2K3] EVENTS NOT TRIGGERING (ALSO CLIMBING, RUNNING, JUMPING)

Posts

Pages: 1
so, i just started putting together the maps and events for a new game, all very skeletal at the moment. it's the first time i tried implementing run/walk and jump buttons (since there are jumping puzzles and things that chase you).

there are ladders and other scalable surfaces in the game, and i'd like for the character to be able to switch to a climb sprite as she goes up, which i tried to do by way of an on-touch event that switches her to the climb sprite if she walks through it and back to the normal if she walks back, and another at the top with the opposite (probably not the most efficient way, since if a player decides to jump in that direction they could just jump passed it, but i'm an idiot).

doing so made me realize something: events aren't being triggered in my game. since the only thing that could stop them from triggering is other events, and the only other events i've got in the program right now are the run/walk and jump buttons, i guess something in them is stopping it.


those are the common events for the run/walk and the jump. is there something about them that would stop on touch events (they're both pp)? also, is there a better way of implementing all three of the actions? sorry if i seem clueless i'm not very experienced with eventing.
author=voluceris
so, i just started putting together the maps and events for a new game, all very skeletal at the moment. it's the first time i tried implementing run/walk and jump buttons (since there are jumping puzzles and things that chase you).

there are ladders and other scalable surfaces in the game, and i'd like for the character to be able to switch to a climb sprite as she goes up, which i tried to do by way of an on-touch event that switches her to the climb sprite if she walks through it and back to the normal if she walks back, and another at the top with the opposite (probably not the most efficient way, since if a player decides to jump in that direction they could just jump passed it, but i'm an idiot).

doing so made me realize something: events aren't being triggered in my game. since the only thing that could stop them from triggering is other events, and the only other events i've got in the program right now are the run/walk and jump buttons, i guess something in them is stopping it.


those are the common events for the run/walk and the jump. is there something about them that would stop on touch events (they're both pp)? also, is there a better way of implementing all three of the actions? sorry if i seem clueless i'm not very experienced with eventing.

Um...question about your jumping events, are you jumping OVER these events. If you are, I think we've found your problem. XD Yeah, I'm an A-hole when it comes down to getting chances to make jokes, anyways, in all seriousness, I don't see anything wrong with your events here that could cause this. I'll check again later.

5 seconds later edit:Maybe because the switches aren't right. You have certain ones to toggle, instead of turning on and off, what does the toggle do exactly?
I can't say exactly what's the problem since I don't have the full info about what happens during these Move Event commands, but add a Wait 0.1 right after them. Sometimes the Move Event changes need time to execute.

If this doesn't solve the problem, try to duplicate the map events one step further on the ladder. Also duplicate the event that turns the sprite back to normal around the first one.
Here's a screenshot explanation: the pirate face events stand for the climbing sprite, the elf face events stands for revert to normal sprite:



If you still have that problem then there's probably another unknown event that cancels sprite changes or lets the player slip through hero touch/common touch events.
author=pyrodoom
Um...question about your jumping events, are you jumping OVER these events. If you are, I think we've found your problem. XD Yeah, I'm an A-hole when it comes down to getting chances to make jokes, anyways, in all seriousness, I don't see anything wrong with your events here that could cause this. I'll check again later.

5 seconds later edit:Maybe because the switches aren't right. You have certain ones to toggle, instead of turning on and off, what does the toggle do exactly?


i wasn't jumping over them, just walking across the event to see if it would work. and the joke is fine, i don't take much very seriously x)

as for the toggle, it turns running on and off, since i have it set up so pressing shift makes you run, and pressing it again makes you go back to walking. i'm not sure about the toggle in the jumping event. it was me coming back to it a week later, seeing how the run event worked and basically copying it over and changing shift to the decision key. i'm really not sure if toggle is the best way to do either, ahaha...

author=Avee
I can't say exactly what's the problem since I don't have the full info about what happens during these Move Event commands, but add a Wait 0.1 right after them. Sometimes the Move Event changes need time to execute.


ah, the move events are a change graphic and five decrease speeds (to set it to base speed), plus 4 increase speeds for run/3 for walk.

i thought they might be looping or something that stops normal events from triggering? does that happen? since i wasn't actually using run or jump while trying to trigger the climbing events.
Pages: 1