Need help with warping
Posted:
Fri Feb 27, 2015 1:39 pm
by shimmeringpony
Hello guys,
I need help with something.
I want to have a warping effect when an event is triggered.
Its like having a vortex in the middle.
How can I do that?
Re: Need help with warping
Posted:
Sat Feb 28, 2015 6:14 pm
by Montiey
You could have a rectangle at the center, that when the player is touching, would change the players coordinates or do something else.
In case it's needed, a good way to use the center of the player, and not the top left corner, is by defining the hight and width as variables, and saying something like (player_x + player_width / 2) and (player_y + player_hight / 2)
Re: Need help with warping
Posted:
Sun Mar 01, 2015 7:56 am
by rodot
What do you mean a vortex in the middle, like if you were going through a wormhole like the ones you find in science fiction games/movies like Stargate or Freelancer ?
Something like this ?
- Wormhole_Moving.gif (216.89 KiB) Viewed 3623 times
Re: Need help with warping
Posted:
Tue May 05, 2015 9:28 pm
by batteries
Are you talking about something like the intro to GB Pokemon battles or Link to the Past world change?