Tellaportation

Non-platform specific questions.

Tellaportation

Postby Turon » Tue Feb 05, 2013 6:03 pm

I usually do Tellaportation in games using the Move To widget but I am finding it does not always do what I
Whatnot it to do, is There a better way of doing Tellaportation? :roll:
Turon
 
Posts: 862
Joined: Sun Jan 24, 2010 5:23 pm
Score: 32 Give a positive score

Re: Tellaportation

Postby skydereign » Tue Feb 05, 2013 6:19 pm

Yes, MoveTo shouldn't be used for teleporting actors around. It moves actors gradually, which isn't what you want. Instead, you should just manipulate the xy variables directly. For instance, a MoveTo teleporting the event actor to (500, 100) can be done like this.
Code: Select all
x = 500;
y = 100;
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Tellaportation

Postby Turon » Thu Feb 07, 2013 6:40 am

Thankyou Skydereign! :)
Turon
 
Posts: 862
Joined: Sun Jan 24, 2010 5:23 pm
Score: 32 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron