Understanding the language, error messages, etc.
Post a reply

Need help with warping

Fri Feb 27, 2015 1:39 pm

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

Sat Feb 28, 2015 6:14 pm

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

Sun Mar 01, 2015 7:56 am

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
Wormhole_Moving.gif (216.89 KiB) Viewed 3625 times

Re: Need help with warping

Tue May 05, 2015 9:28 pm

Are you talking about something like the intro to GB Pokemon battles or Link to the Past world change?
Post a reply