Hi all,
@eri0o : the fix for the rotation with dynamicsprites worked for me, thank you !
I noticed a problem with the GUIControl.GetByName function : I didn't change anything in my game, just ported it to AGS 4.0 (last build, the fix erioo sent me), and I have a null pointer instead of something working like before.
For example, I have a button called "Button1" in my game (it's the script name of the button). Here's my code in game_start function :
Code: ags
@eri0o : the fix for the rotation with dynamicsprites worked for me, thank you !
I noticed a problem with the GUIControl.GetByName function : I didn't change anything in my game, just ported it to AGS 4.0 (last build, the fix erioo sent me), and I have a null pointer instead of something working like before.
For example, I have a button called "Button1" in my game (it's the script name of the button). Here's my code in game_start function :
int u=1;
GUIControl *g=GUIControl.GetByName(String.Format("Button%d", u));
u=g.ID; // error is here, g appears to be a null pointer, whereas it exists in my GUI !
Display("%d", u);