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

Login with username, password and session length
Search:     Advanced search
6178 Posts in 740 Topics by 1205 Members
Latest Member: andermoo
* Home Help Search Login Register
+  Euflorium
|-+  Eufloria
| |-+  User levels and modifications
| | |-+  Script examples
« previous next »
Pages: [1] Print
Author Topic: Script examples  (Read 2144 times)
Alex
Administrator
Old Oak
*****
Posts: 878


View Profile Email
« on: July 29, 2009, 10:43:39 PM »

Setup script examples

Adding a tree with a starting level of 2 (need to level up once to plant the root)
(click to show/hide)

Add a tree with a flower or mine
(click to show/hide)

Add a superseedling tree
(click to show/hide)

Have an asteroid with superseedlings on it at the start
(click to show/hide)



Level logic examples


Adding a scripted section of a fixed duration:
(click to show/hide)
Of course, you can also check the time any other point e.g.
(click to show/hide)


Drawing examples

Here's a code block that shows some stuff being drawn in the level draw routine, including drawing stuff at a fixed size on screen, checking to see if something is on the screen and levels of detail:
(click to show/hide)

callback examples

oneshot asteroid taken script example
(click to show/hide)

etc
« Last Edit: March 24, 2010, 03:01:46 PM by Alex » Logged
annikk.exe
Achievers
Old Oak
****
Posts: 535



View Profile
« Reply #1 on: January 20, 2010, 02:41:51 PM »

So did you just forget to add the code to your post or something?  :>
Logged
Rudolf
Administrator
Arboreal Being
*****
Posts: 414


View Profile Email
« Reply #2 on: January 23, 2010, 10:33:54 AM »

No it is all there under the spoiler buttons.
Does this now work for you?
Logged
annikk.exe
Achievers
Old Oak
****
Posts: 535



View Profile
« Reply #3 on: January 23, 2010, 04:21:05 PM »

Not seeing any spoiler buttons...
I don't think this is merely a graphical bug because when I quote the OP, there is still no code in there.

I administer an SMF-based forum for the band Angelspit.  If you have access to the admin panel, check the member rank permissions - maybe I am erroneously not allowed to see spoiler'd stuff or something? :>

I'll go update my browser and flash and java and so on in the mean time, in case it's that.  Win XP, Firefox, incidentally.
Logged
Rudolf
Administrator
Arboreal Being
*****
Posts: 414


View Profile Email
« Reply #4 on: January 23, 2010, 04:31:31 PM »

Hmm I think you may have been right...
Which would explain why so few user levels have been made.... :-(

Try again.. see if that is better..
Logged
annikk.exe
Achievers
Old Oak
****
Posts: 535



View Profile
« Reply #5 on: January 23, 2010, 04:46:52 PM »

Working now ^_^
Logged
Harsha
Seedling
*
Posts: 27


View Profile
« Reply #6 on: March 22, 2010, 01:11:05 PM »

Hey non members will not be able to see the spoiler buttons at all.. Is that okay? Undecided
Logged
Eufloria Admin
Administrator
Seedling
*****
Posts: 30



View Profile
« Reply #7 on: March 22, 2010, 01:54:57 PM »

Fixed.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

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