Euflorium
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 10, 2010, 12:40:15 PM

Login with username, password and session length
Search:     Advanced search
6178 Posts in 740 Topics by 1204 Members
Latest Member: bentongmayweather
* Home Help Search Login Register
+  Euflorium
|-+  Eufloria
| |-+  User levels and modifications
| | |-+  Level design demystification / scripting guide - XML
« previous next »
Pages: 1 2 3 [4] Print
Author Topic: Level design demystification / scripting guide - XML  (Read 11975 times)
annikk.exe
Achievers
Old Oak
****
Posts: 535



View Profile
« Reply #45 on: January 25, 2010, 04:23:01 PM »

If there's LUA code to move asteroids, I haven't found it - and believe me I've been looking !

It does seem to be possible to change an asteroid's radius and send distance in Function Level Logic, though.  Send distance works for sure as I have this working in the level I'm working on.  Haven't tried asteroid radius yet, but with the mathematical functions included in the LUA language it should mean it's possible to create asteroids that grow and shrink over time, or depending on how many seeds or trees are on them.  The idea of having "pulsating" asteroids seems pretty cool, and not something I've seen in any levels so far.. :>
« Last Edit: January 25, 2010, 04:25:09 PM by annikk.exe » Logged
Rudolf
Administrator
Arboreal Being
*****
Posts: 414


View Profile Email
« Reply #46 on: January 26, 2010, 09:25:25 AM »

You can also change the level bakground colour which allows you for example to slowly brighten or darken a level :-)
You could make it conditional on events and let the level colourcode how well you are doing. CRAZY TALK!!!
Logged
annikk.exe
Achievers
Old Oak
****
Posts: 535



View Profile
« Reply #47 on: January 26, 2010, 10:03:22 AM »

Yep, you could do a sort of day/night type thing as well.  :>
Haven't tried scripting background colour changes yet, but it's cool to know that this works !  ^_^
Logged
Pages: 1 2 3 [4] Print 
« previous next »
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC