View Single Post
  #11  
Old 08-09-2010, 09:21 PM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by Liberated View Post
Tig should know right? He made a similar system for GK didn't he?
Quote:
Originally Posted by cbk1994 View Post
Kingdoms has custom level links, e.g. levels won't fade out when using actual level links on Kingdoms.
Yep, I actually refuse to use default linking in any of my projects because I find that it's insecure, glitchy, and difficult to manage.

I always use custom linking joined to a class. That way if I want to edit the linking process later, I can do so. Also, it prevents several glitches.

An example of a custom link on one of my most recent projects:
PHP Code:
function onCreated() {
  
this.setShape(16432);
  
this.warplevel "newlevel.nw";
  
this.warpcoordinates = {3020};
  
this.dir 2;
}
join("warpfield"); 
When the player touches the warp field facing this.dir's direction, it schedules an event to warp the player in 0.125 seconds and sends a trigger to a clientside weapon that triggers a fading of the screen for 0.1 seconds. Then, also in the clientside weapon, onPlayerEnters() un-fades the screen.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote