LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

Splinking all main sprites to parent acting as camera?

Root / Programming Questions / [.]

Gaelstrom_ValenceCreated:
I wasn't sure of a more succinct way to to put this, but uhh. Doing that, and moving the parent around with the background, verses using something like
CamX=PlayerX-HalfScreenX
CamY=PlayerY-HalfScreenY

FOR CNT=SPMIN to SPMAX
SPOFS CNT,SPX-CamX,SPY-CamY
NEXT
Or in my case, I'm experimenting with using SPFUNC to handle all sprite related things, which means calculating and offsetting each sprite one after the other, rather than calculating all at once then offsetting all at once like above, SPLINKing being the only I can think of getting accurate results. Would it be better, or worse in the long run?

It would work, but you'll have to use SPHOME to offset each sprite from the camera so you can't use SPANIM on individual sprites. This may or may not be a problem.

It would work, but you'll have to use SPHOME to offset each sprite from the camera so you can't use SPANIM on individual sprites. This may or may not be a problem.
What do you mean exactly?

It would work, but you'll have to use SPHOME to offset each sprite from the camera so you can't use SPANIM on individual sprites. This may or may not be a problem.
What do you mean exactly?
Oh, I just did some testing. Apparently SPLINK works differently than how I had thought. (I expected SPOFS to not work on sprites that have been SPLINKed, but it seems to work fine). I don't think there are any problems with using SPLINK here, then. (I guess it was probably designed for situations like this)

It would work, but you'll have to use SPHOME to offset each sprite from the camera so you can't use SPANIM on individual sprites. This may or may not be a problem.
What do you mean exactly?
Oh, I just did some testing. Apparently SPLINK works differently than how I had thought. (I expected SPOFS to not work on sprites that have been SPLINKed, but it seems to work fine). I don't think there are any problems with using SPLINK here, then. (I guess it was probably designed for situations like this)
Sweeeeeet.