Graal Forums  

Go Back   Graal Forums > Development Forums > Level Design
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 03-21-2002, 09:45 PM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
It is wise to set constants in your scripts so you know WHY you have a number where you have it...

such as

if(created) pi = 3.1415;

so you know instead of having to type 3.1415 every time you want to use pi, just type pi its far more understandable.
And ammon, Why us % (mod) in that way? Itlowers the general efficiency of the script, thx kai for pointing this out...

Its not supose to be used in that way. rather in an if statement.

you sghould just do if(this.a > blah) this.a = 0;
__________________

subliminal message: 1+1=3
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:44 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.