forum

[Editor|Storyboard] New sprite location

posted
Total Posts
7
This is a feature request. Feature requests can be voted up by supporters.
Current Priority: +1
Topic Starter
Bara-
So we have sprite locations
In Sprite,Background,Centre,"Background-bw.jpg",320,240 - Centre is the location (1 out of 9 possible)
I think location "Object" would be a great addition

If you want to place a sprite near an object, you Always need to look at where the object is, then x+64 and y+54 and such
Why not make that easier, and when an object is rpesent at the starting time of an object, having "Object" (instead of centre for example) would locate the sprite immediately under the hitobject, is x:y is 0:0
This is also better for mods, cause when something is changed, the SB automatically changes with it
I'm not sure if this is doable, but it can cause some great SB's (for much less effort, as doing this all manually is terrible)
abraker
So you mean relative parameters?
Topic Starter
Bara-
Yes
abraker
Why is this not already a thing?
Topic Starter
Bara-
Maybe it's too hard to implement?
Edit: 7200th post
Kawa
"Centre" actually indicates the point of origin on the sprite, rather than its position on the screen/playfield.
(Wafu posted a pretty detailed and useful guide over >here< that also covers the usage of sprite origin).

The "location" part is handled by the 2 coordinates at the end (in this case 320,240) so you would have to somehow work with these instead.

Although I would love to see something like this in the future since it would make stuff quite a bit easier, but I just can't see any easy way of implementing it without changing the entire format of the .osb file. (You would probably have to specifiy which object it follows and such, since just "Object" could refer to any part of the map).

Of course, I could also be entirely wrong and there could be a simple solution~
Topic Starter
Bara-
Oops
Didn't clarify that
Object = Hitobject = Circle/Sliderstart/Sliderreverse/Sliderend
Please sign in to reply.

New reply