forum

[.osb-code]New value-type for endtime (+n)

posted
Total Posts
5
This is a feature request. Feature requests can be voted up by supporters.
Current Priority: +0
Topic Starter
Bara-
Uhm, so one of the most annoying things with SB'ing is imo the need to constantly search the end of the objects' code to work properly (for example in snow/rings/etc.)
Can you please add an option to write lines as the following
_Action,Easing,Startvalue,+Extratimeuntiltheendvalue,....
Then
_M,0,123,+123,360,240
would be the same as
_M,0,123,246,360,240

While it technically does not matter for some things (Lyrics, BG movements) It's really helpful for things which follow the beat, and are not possible via loops such as the rings (as the M-values are different everytime, but the difference in starttime/endtime is the same everytime
XinCrin
Totally unnecesary if you use any programming language/tool or whatever that you want to use.

(A better feature request) Since We can store variables at .osb, It could work:

[Variables]
$start = 10
$beat = 120

[Events]
// ...

Sprite,Foreground,Centre,image.png,320,240
_F,0,$start,$start+$beat,1,0

//

_F,0,10,130,1,0

Do math operations with the variables would be better imo
Topic Starter
Bara-
Isn't that (indirectly) what I meant?
Just a different wording
But I agree that might be better
I'll change OP later
XinCrin
You didn't explain it very well :P
Topic Starter
Bara-
I meant the same, except I left out $start, and only did +$beat (so that would be the same as $start+$beat)
Please sign in to reply.

New reply