M-77 wrote: ↑Tue Jul 23, 2019 4:06 pm
Hello bonnie_641, can you tell us some more how to implement your above code?
Just copy+paste it to the "Softwar" rpg code? And to where to exactly?
Sorry for not answering in time (I didn't have internet access during those days).
What I wrote was a hypothesis that can be implemented in my code (the zankizuna code I couldn't put in my game, so I'll look for another alternative).
When I get it ready, I'll bring it up.
zankizuna wrote: ↑Thu Jul 25, 2019 2:38 am
Assuming our player is at the true center position:
Depending on what key is clicked, there will be a resulting reaction from the sidekick, in position and direction.
(..)
Good luck uguu
Will try to code this too if i get time on PC.
Hihi
I give you good luck with that task (if you do it is because you are a genius, because as you say is a very complicated method -as far as code is concerned-).
What I'll do is link two images by event per coordinate to give the illusion that there are two characters, but in practice will be only one. If it works, I'll share it
I speak and write in Spanish. I use an English-Spanish translator to express myself in this forum. If I make any mistakes, please forgive me.
I try my best to give an answer according to your question.
zankizuna wrote: ↑Thu Jul 25, 2019 2:38 am
The sidekick following around can be pretty hard.
Let me try to explain.
Assuming our player is at the true center position:
Depending on what key is clicked, there will be a resulting reaction from the sidekick, in position and direction.
Sidekick should always be behind the player, so when you move north, he/she also moves north
They will execute the previous movement you made.
We should be recording which direction was clicked before. That's what the sidekick should use as a reference to what direction he/she should face to.
Include sidekick in the same screen where the player image is. Sidekick has multiple directional sprites, a dynamic displayable with Player's previous direction to change direction
give the sidekick an "at" statement that references a transform you define that has variables whose values change upon movement .
When you press up, the sidekick will be on south of the player, left, then they go east. And so on.
We are only making an illusion of movement as only the tileset background is actually moving.
Good luck uguu
Will try to code this too if i get time on PC.
Hihi
Hi, I tried your code and succeeded
But i have some problem
How to switch control with key to mouse?
I want to make some mobile games
Sorry I'm not good at English and code too
Thank
Hi, I tried your code and succeeded
But i have some problem
How to switch control with key to mouse?
I want to make some mobile games
Sorry I'm not good at English and code too
Thank
Hello!
if you need directional buttons just replace