RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Need Help!

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 83
Ok im makeing a sonic rpg and i want to make it to when it turns night sonic transforms into werehog i have a script that changes the tint depending on the time but if someone can help that be nice

****
kikiki
Rep:
Level 84
Hi
...
i have no idea what you even said.
Hi

**
Rep: +0/-0Level 83
I have a script that turns the game to day and night depending on the clock on my computer. And I want to make it whenever it turns night time Sonic transforms into warehog sonic. Is this possible

****
kikiki
Rep:
Level 84
Hi
Hmm.. I'm not good with scripts, but you can actually change the hero's charset animation. But that's in events...
Hi

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
Event it. Don't script it.

anyways, with the script you have now, just make a common event like this:

Parallel Process [On if the switch for NIGHT is ON]
>FadeOut Screen
>Change Character[sonic] into [weresonic]
>FadeIn Screen

Make another common event for when it's DAY time like this:

Parallel Process [On if the switch for DAY is ON]
>FadeOut Screen
>Change Character[weresonic] into [sonic]
>FadeIn Screen

Done. You could do this all in one common event, but this would make it probably easier for you to manage if you didn't know you could do this...


**
Rep: +0/-0Level 83
thnx for the help

*
Rep:
Level 87
With a common event controlled by a switch, won't the character continually be changing?

Frame 1: Oh - the NIGHT switch is on.  Let's change the character to a werewolf
Frame 2: Oh - the NIGHT switch is still on.  Let's change the character to a werewolf, even though it's already a werewolf
Frame 3: Oh - the NIGHT switch is still on.    You get the picture.
...
Frame 9878: Oh - the DAY switch just went on.  Let's change the character to Sonic.
Frame 9879: The DAY switch is still on.  Let's change the character to Sonic, even though it's already Sonic.


Change the graphic wherever you set the switch to control day/night, and it'll be done once, at the right time, and not again until you NEED it to change ;)
Always remember you're unique.
Just like everybody else.

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
I don't want to sit here discussion the basics of how to do this. It's too easy and I'm really sleepy and I don't want to mistype something weird and just confuse people ;o  If this is truly still an issue I have no prob writing down EVERYTHING you'll have to change instead of just retyping the ~bare basics~ like I did before.

***
Rep:
Level 84
It's human to misdo
Ok im makeing a sonic rpg and i want to make it to when it turns night sonic transforms into werehog i have a script that changes the tint depending on the time but if someone can help that be nice


Late reply:
So, you took my idea after all.
Well, lets see how good it's going to be.