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
Script Help Modify Room on Script Area?
Mipz Offline
Junior Member

Posts: 3
Threads: 2
Joined: May 2014
Reputation: 0
#3
RE: Modify Room on Script Area?

(05-09-2014, 07:20 AM)Romulator Wrote: Use option 2! Smile It saves you from having to create walls which can be made visible/invisible.

PHP Code: (Select All)
void TeleportPlayer(stringasStartPosName); 
Instantly teleports the player to the target StartPos.

IIRC, if you put the PlayerStart box not necessarily in the floor, but slightly above and within the script area, the player won't easily notice. FlawlessHappiness did this very well in our Many Hands project. I have never done it before myself, but he should be able to provide a really good insight. While I'm certain he'll come across this thread when he is online next (should be within the next few hours), feel free to drop him a personal message. I think he would be more than happy to help!

An alternate sequence you could do is perhaps make the screen fade out for an event, then when the player comes to, they may look like they are within the same environment, but is actually in the new area Smile

I'd be interested in knowing how he handled option two. Currently I have a camera shake event, but it the way the player changes direction is quite noticeable. I wonder if there's a way to preserve direction?

Either way, hopefully I'll hear from him!
Thanks!
05-09-2014, 07:28 AM
Find


Messages In This Thread
Modify Room on Script Area? - by Mipz - 05-09-2014, 05:43 AM
RE: Modify Room on Script Area? - by Romulator - 05-09-2014, 07:20 AM
RE: Modify Room on Script Area? - by Mipz - 05-09-2014, 07:28 AM
RE: Modify Room on Script Area? - by Mudbill - 05-09-2014, 09:19 AM



Users browsing this thread: 1 Guest(s)