teleport tutorial

Learn how to make certain types of games and use gameEditor.

teleport tutorial

Postby superman123 » Wed Sep 23, 2009 10:39 pm

a little tutorial i made
Attachments
teleport tutorial.zip
i uploaded it as a winrar archive but it still might be a zip folder
(762.17 KiB) Downloaded 287 times
look at my flash ball gamehttp://game-editor.com/forum/viewtopic.php?f=6&t=7285
aerogame websitehttp://www.aeroman.webs.com

(new avitar made with GIMP and it is awesome)
User avatar
superman123
 
Posts: 79
Joined: Tue Jul 28, 2009 7:20 pm
Score: 1 Give a positive score

Re: teleport tutorial

Postby Camper1995 » Thu Sep 24, 2009 4:14 pm

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
:D

CampeR
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: teleport tutorial

Postby superman123 » Thu Sep 24, 2009 10:45 pm

im in developement of flash ball 2
User avatar
superman123
 
Posts: 79
Joined: Tue Jul 28, 2009 7:20 pm
Score: 1 Give a positive score

Re: teleport tutorial

Postby Camper1995 » Fri Sep 25, 2009 12:00 pm

Good luck man ;)
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: teleport tutorial

Postby superman123 » Fri Sep 25, 2009 8:00 pm

thanks
look at my flash ball gamehttp://game-editor.com/forum/viewtopic.php?f=6&t=7285
aerogame websitehttp://www.aeroman.webs.com

(new avitar made with GIMP and it is awesome)
User avatar
superman123
 
Posts: 79
Joined: Tue Jul 28, 2009 7:20 pm
Score: 1 Give a positive score

Re: teleport tutorial

Postby superman123 » Sat Sep 26, 2009 1:55 pm

developement for flash ball2 is at a pause so i am going to make tutorials to help other people
look at my flash ball gamehttp://game-editor.com/forum/viewtopic.php?f=6&t=7285
aerogame websitehttp://www.aeroman.webs.com

(new avitar made with GIMP and it is awesome)
User avatar
superman123
 
Posts: 79
Joined: Tue Jul 28, 2009 7:20 pm
Score: 1 Give a positive score

Re: teleport tutorial

Postby Camper1995 » Sat Sep 26, 2009 2:08 pm

Well man. First search what tutorials are all ready maked. Then, make your own.

so dont make tutorials that exisit. ;)

Good luck :idea:
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: teleport tutorial

Postby 247wkman » Tue Feb 01, 2011 1:17 am

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.
Attachments
press spacebar to telaport!.ged
(996 Bytes) Downloaded 156 times
Last edited by 247wkman on Thu Mar 17, 2011 1:43 am, edited 2 times in total.
247wkman
 
Posts: 67
Joined: Mon Dec 13, 2010 3:55 pm
Score: 3 Give a positive score

Re: teleport tutorial

Postby Game A Gogo » Thu Feb 03, 2011 11:32 pm

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);"
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest