Page 1 of 1
teleport tutorial
Posted:
Wed Sep 23, 2009 10:39 pm
by superman123
a little tutorial i made
Re: teleport tutorial
Posted:
Thu Sep 24, 2009 4:14 pm
by Camper1995
Good idea! But its better to make physical respone when player touch any side of platform and then make
when you touch hole (that white circle) just MOVE TO that 22nd circle
- Code: Select all
Good luck
CampeR
Re: teleport tutorial
Posted:
Thu Sep 24, 2009 10:45 pm
by superman123
im in developement of flash ball 2
Re: teleport tutorial
Posted:
Fri Sep 25, 2009 12:00 pm
by Camper1995
Good luck man
Re: teleport tutorial
Posted:
Fri Sep 25, 2009 8:00 pm
by superman123
thanks
Re: teleport tutorial
Posted:
Sat Sep 26, 2009 1:55 pm
by superman123
developement for flash ball2 is at a pause so i am going to make tutorials to help other people
Re: teleport tutorial
Posted:
Sat Sep 26, 2009 2:08 pm
by Camper1995
Well man. First search what tutorials are all ready maked. Then, make your own.
so dont make tutorials that exisit.
Good luck
Re: teleport tutorial
Posted:
Tue Feb 01, 2011 1:17 am
by 247wkman
the problem is that a 'move to' event is incremental like auto tweening in 3d. Even with the velocity up high and 'make inviable if velocity higher than five' is only an attempt to desguise the fact the actor is physically moving over distance- and this will probably lead to eratic problems if the actor collides into anything along the way. the way to do it would be to remove the actor from the game and relocate it by DESTROY ACTOR and CREATE ACTOR. i have not figured this out just yet but i think you have to do it by putting a seperate actor that sits on the sideline out of sight- it will contain all the 'destroy when's and create where' comands (as ged wont let a actor create itself it seems so a separate proxy actor has to implement it) i made a ged- the boss actor has 2 key down events: 1st to destroy, 2nd to create (both using spacebar) i'm sure you could substitute key down with a collide event.
edit: just changed the attacted file to be an actual ged file and not win exe. press left key to move and space bar to destroy bob! key up creates at location relitive to boss. this might be ok for jumping from one side of the room to the other but i guess only code (don't know any yet) will allow for conditions like random jump or port to port and context situations.- this really should be a 'draw' function, draw is set to be a trigger, but it would be good if it was in the responce list, so you could simply say key down, draw at these new coordinates/at this actors location or relitive to.
Re: teleport tutorial
Posted:
Thu Feb 03, 2011 11:32 pm
by Game A Gogo
one thing you could do is disable collision when you call the moveto function with "CollisionState("Event Actor",DISABLED);" change Event Actor if it's called on a different actor. and with the moveto finish function on the moving actor, do "CollisionState("Event Actor",ENABLED);"