Hi all, using SPR_setPosition(spr,0,0); ...
The value of spr.x and spr.y is 128
If possible change this to works how the old struct SpriteDef where spr.x and spr.y values was 0, in my opinion it's a little uncomfortable.
On the other hand, using rescomp to change frames automatically, randomly spr[0] stops the frame changing, I update all sprites together using SPR_update (spr,MAX_SPRITE); maybe can be a bug of spr_engine??
Position in new Sprite struct
Moderator: Stef
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Hi,
Thanks for reporting the problem here, also that also issue experience sharing about SGDK
Modifying the sprite position is not a big deal but honestly that new way is definitely more comfortable as sprite position is directly what you get on screen where before i was using internal VDP position which are shifted by -128.
For the other problem (automatic frame changing), can you post an example ? i used it severals time without experiencing any problems. Thanks !
Thanks for reporting the problem here, also that also issue experience sharing about SGDK
Modifying the sprite position is not a big deal but honestly that new way is definitely more comfortable as sprite position is directly what you get on screen where before i was using internal VDP position which are shifted by -128.
For the other problem (automatic frame changing), can you post an example ? i used it severals time without experiencing any problems. Thanks !