How/why X position of sprite changes when screen turns off.
Interesting. Do you specifically set an x,y location in the Screen.Initialize event handler? The sprite might revert to the position specified in the Designer Properties or whatever position is coded in the Screen.Initialize block when the screen "goes off." Do you mean when the phone goes to sleep or you change screens or what Richard?
This might be designed behavior (and you might have to continually 'remember' the sprite's last known location and code that into the Initialize block?). This might be a reaction to how you code the sprite position or how you set the height/width of the Canvas control. It might be a bug.In that case, congratulations, you may be the first to report it. :( And we would appreciate more information.
Could you tell us more and perhaps provide a screen shot of what happens ... the sprite on the screen and a screen capture of relevant blocks.?
I will post APK after I clean all other mess on that screen and confirm the result.
Please do NOT post an apk in this forum Richard. Posting apk files in this forum violates the forum policy. They are not permitted.
It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.
댓글 없음:
댓글 쓰기