Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Snow Fx 
 
where I can change the snow script variables?

thanks
 



 
mimoson999Send private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Snow Fx 
 
hey,

in the snow_fx.js  which is located in templates/common/js/
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Snow Fx 
 
but there you can change the algorythm I want to change vars like size, speed...
 



 
mimoson999Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Snow Fx 
 
take a look at the first 30 lines of this file!

read and try to understand.
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Snow Fx 
 
what I am trying to say it's that the vars

Code: [Download] [Hide] [Select]
var pictureWidth = 10;            //the width of the snowflakes
var pictureHeight = 12;           //the height of the snowflakes
var numFlakes = 20;               //the number of snowflakes
var downSpeed = 0.01;             //the falling speed of snowflakes (portion of screen per 100 ms)
var lrFlakes = 10;                //the speed that the snowflakes should swing from side to side


are not defined in the file snow_fx.js, and I want to know where inside Icy phoenix are this vars defined and I can change them

Thanks for your time
 



 
mimoson999Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Snow Fx 
 
hey... sorry for the late reply...

i just found the file  

please take a look into templates/mg_themes/overall_include.tpl

and let me know
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Snow Fx 
 
Ok, found it.

I don't have that file because of a older version but the vars are inside overall_header.tpl in my version

thanks   
 



 
mimoson999Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Snow Fx 
 
ahhh ok...

glad that you solved your problem
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron