forum

[Solved!] Question about storyboard variables

posted
Total Posts
3
Topic Starter
XetThe
Hi.
I've been trying to do some storyboarding recently, and I was trying to use variables to make the storyboard code look cleaner, but when I try to test the map osu! gives me an error that it couldn't parse the lines with variables on them.

What am I doing wrong?

Some images I think might be useful:

XinCrin
Could you provide the .osb file to check it out?
Topic Starter
XetThe

XinCrin wrote:

Could you provide the .osb file to check it out?
[Variables]
$green=0,255,10
$turquoise=0,255,200
$blue=0,100,200
$magdark=100,0,80
$magenta=255,10,200
$black=0,0,0
$cyan=0,200,255

[Events]
//Background and Video events
//Storyboard Layer 0 (Background)
//Storyboard Layer 1 (Fail)
//Storyboard Layer 2 (Pass)
//Storyboard Layer 3 (Foreground)
Sprite,Foreground,BottomLeft,"bg\bg1.png",0,480
 L,0,4
  MX,0,0,77208,-106,-1130
 S,-2000,0,,0.8
 F,-2000,0,100,0,1
 C,1,0,1684,$green,$turquoise
 C,1,7977,8816,$turquoise,$blue
 C,1,28537,29376,$blue,$magenta
 C,1,46998,56229,$magenta,$black
 C,1,62942,68397,$black,$magdark
 C,1,68816,69236,$magdark,$magenta
 C,1,75530,75949,$magenta,$green
 C,1,77208,81823,$green,$cyan
 C,1,82243,82663,$cyan,$magenta
 C,1,85600,86019,$magenta,$green
 C,1,95670,96089,$green,$magenta
 C,1,102383,109516,$magenta,$black
 C,1,115809,122523,$black,$blue
 C,1,122523,122942,$blue,$turquoise
 C,1,135949,136369,$turquoise,$green
 C,1,149376,149795,$green,$magenta
 C,1,162802,163222,$magenta,$turquoise
 C,1,176229,176649,$turquoise,$blue
 C,1,177907,189236,$blue,$cyan
 C,1,189656,190075,$magenta
//Storyboard Layer 4 (Overlay)
//Storyboard Sound Samples

Edit

so they seem to work now for some reason LOL
Please sign in to reply.

New reply