Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Doors??
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#7
RE: Doors??

(08-18-2012, 09:38 PM)Statyk Wrote: That's too much work.

Not to mention thinking about naming conventions for the sake of minimizing code.

(08-18-2012, 10:13 PM)beecake Wrote: You mean it is teleporting?

Yeah, teleporting is involved. As for your code, i would have tried to figure out a way to use the same interact callback for teleporting the player in and out of the rooms. For example, using one local map variable of the int type for keeping track of whether or not the user is in a room. I would give the two player start areas the name of the door with a prefix (though a suffix would work too) of the exit states of the player (i.e. "exit" and "enter"). I don't think there would be any issue with the one local map variable, as the user can only interact with one door at a time. 0 would represent that the player is outside of a room, 1 would represent that the player is inside the room.

Tutorials: From Noob to Pro
(This post was last modified: 08-18-2012, 10:24 PM by Your Computer.)
08-18-2012, 10:21 PM
Website Find


Messages In This Thread
Doors?? - by Brothersvv09 - 08-18-2012, 09:22 PM
RE: Doors?? - by Melvin - 08-18-2012, 09:29 PM
RE: Doors?? - by Your Computer - 08-18-2012, 09:32 PM
RE: Doors?? - by Statyk - 08-18-2012, 09:38 PM
RE: Doors?? - by Melvin - 08-18-2012, 10:13 PM
RE: Doors?? - by Your Computer - 08-18-2012, 10:21 PM
RE: Doors?? - by FlawlessHappiness - 08-18-2012, 10:13 PM



Users browsing this thread: 1 Guest(s)