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.

something wrong with my character

hey guys, i have a problem for some reason when i set my character which is my own sprite character which i uploaded from the internet...it keeps running in one spot so even if im not moving him with the arrow keys he keeps running in that one spot. he isn;t moving around the screen if that is what u think. in that one square he is just running and it's wierd. can u tell me how to fix this so that way when he aint moving he just stands instead of runs.

thanks for your time and help.
 
Sounds like you somehow turned the Stop Animation ON. Try turning it off with a Set Move Route command. (Remember, the animation when you're stopped is the "Stop Animation," just like the animation when you're walking is the "Walk Animation.")
 
Unka Josh":t49p4ss5 said:
Sounds like you somehow turned the Stop Animation ON. Try turning it off with a Set Move Route command. (Remember, the animation when you're stopped is the "Stop Animation," just like the animation when you're walking is the "Walk Animation.")


Okay i cant figure it out when the character is set as my main character (actor, or player starting position) is starts to run in one spot. but when i set the same character on the map but not have him as the main character it stands still in one spot which. so i dont understand if its the same character why r they working differently. the main character isn't working but the other character is.
 
Ah.

Key concept time, here:

They are not the same character. They may have the same graphics, but an event, no matter what graphics you have for it, is not the party. An event is an event. It may be a bush, a door, a pit trap, a monster, a treasure chest, or a princess to rescue, but it's not a party member.

They really don't have anything to do with each other, in fact.

Just to double-check your problem: Your main character can move around the map, right? But just keeps running in place even when you aren't moving him?

If that's what it is, the Stop Animation for the player has been turned on somehow, either through a script, an event command, or the kind of error that might make you need to start a new project.
 
Unka Josh":1kzlej35 said:
Ah.

Key concept time, here:

They are not the same character. They may have the same graphics, but an event, no matter what graphics you have for it, is not the party. An event is an event. It may be a bush, a door, a pit trap, a monster, a treasure chest, or a princess to rescue, but it's not a party member.

They really don't have anything to do with each other, in fact.

Just to double-check your problem: Your main character can move around the map, right? But just keeps running in place even when you aren't moving him?

If that's what it is, the Stop Animation for the player has been turned on somehow, either through a script, an event command, or the kind of error that might make you need to start a new project.


I can't make a new project because im using XAS Hero 3.5 is there some oter way i can fix this without having to make a new project.
 
I don't see why you can't make a new project, and just copy the script over. Copy-paste is the usual way to use scripts, after all.

If it's an issue with the script, I can't really help you-- I do not know that script. If it's a restart-the-project error, well, restart the project, copying scripts and the like over.

If it's an event, though, all you'd need is a single autorun event at the beginning that turns Stop Animation OFF for the main character, and then turns itself off.
 
Unka Josh":w0k0a0f7 said:
I don't see why you can't make a new project, and just copy the script over. Copy-paste is the usual way to use scripts, after all.

If it's an issue with the script, I can't really help you-- I do not know that script. If it's a restart-the-project error, well, restart the project, copying scripts and the like over.

If it's an event, though, all you'd need is a single autorun event at the beginning that turns Stop Animation OFF for the main character, and then turns itself off.

I tried copying the script over to new projects but the thing is whenever i do and try to playtest it says error so i have to add absolutly everything from the XAS to the new project and i mean everything from graphics to sounds. and when i do this it causes same thing with the character with the new project. but i think it might be the event. so can u tell me about the thing u were talking about for what i have to do. something about single autorun event at the beginning to turn of the stop animation. how can i do that?

btw thanks very much for you help

okay ive been trying to do wat u told me so wat has happened so far is i sort of fixed the player. now he doesnt run in one spot. but now i can't even move him around the map. wat do i do? if u noe how to fix this event situation can u plz explain to me in detail.

thanks for your time
 
Ah. I suspect that what you did was 1) create an Autorun event, but then 2) Didn't have it turn itself off.

If you do that, the game will generally lock.

Here's what you need to do:

Make the event a two-page event. The first page will be Autorun, have the Set Move Route command, and then finish with Control Self-Switches: Self Switch A ON.

The second page won't be Autorun, will have no commands at all, and-- very important-- will have the Page Conditions set to Self Switch A is ON.

See, normally, Autorun and Parallel Process events just keep cycling through their commands until you tell them to stop. They need to be told to stop.

So, the second page and the Self Switch.

Was that clear? I could post a screenshot, if necessary.
 
Unka Josh":3bvnlnga said:
Ah. I suspect that what you did was 1) create an Autorun event, but then 2) Didn't have it turn itself off.

If you do that, the game will generally lock.

Here's what you need to do:

Make the event a two-page event. The first page will be Autorun, have the Set Move Route command, and then finish with Control Self-Switches: Self Switch A ON.

The second page won't be Autorun, will have no commands at all, and-- very important-- will have the Page Conditions set to Self Switch A is ON.

See, normally, Autorun and Parallel Process events just keep cycling through their commands until you tell them to stop. They need to be told to stop.

So, the second page and the Self Switch.

Was that clear? I could post a screenshot, if necessary.


srry but ya would u mind posting some screen shots cuz i tried folowing wat u said but after doing so my character does the same thing of running in the same spot again and i dont noe y. so maybe im doing something wrong here. would u mind posting some screen shots plz.
 
StopThat.png


StopThat2.png


However, if your event looked anything like that, then I'm afraid that the problem is almost certainly the script. If that's the case, you should go to the Script Support section of these forums and ask for help with it.
 
Unka Josh":jz9tn9wg said:
StopThat.png


StopThat2.png


However, if your event looked anything like that, then I'm afraid that the problem is almost certainly the script. If that's the case, you should go to the Script Support section of these forums and ask for help with it.

ya...it looked just like that. it stopped running in place but it wont even let me move my character.

okay so im going to have to get help with the script.
 

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