Get sprite position/tile/palette etc.
Moderator: Stef
Get sprite position/tile/palette etc.
Is there any function in SGDK that allows to directly get (for example) position of sprite?
-
- Very interested
- Posts: 117
- Joined: Sun Jan 02, 2011 9:14 pm
- Contact:
-
- Very interested
- Posts: 2443
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
VRAM reads are slow and can cause issues with mixed writes if you aren't careful. Reading out from that same cache would be the fastest way to get the info, I imagine the cache is just straight DMA'd into VRAM when needed.
The data does not change in VRAM on its own so there's not a whole lot need to go poke at it directly.
The data does not change in VRAM on its own so there's not a whole lot need to go poke at it directly.
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen