Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / Help! Problem with DrawBox, DrawLine, etc.

Author
Message
Diegs
9
Years of Service
User Offline
Joined: 27th Oct 2015
Location:
Posted: 2nd Nov 2015 23:24
Hi all!

I have little problem when use DrawBox (or DrawLine etc.) and SetViewZoom( zoom# ).

If I change the value zoom# (es.: 2.0) the sprites are scaled correctly, but the Box (Line, elipse etc) remain at the same size.

I use the AppGameKit Trial version and I dont'know if in final version they works correctly !

Sorry for my bad english I'm Italian!

This is my test code:
Rich Dersheimer
AGK Developer
15
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 21st Nov 2015 06:48
From the help file for DrawBox()...

"The XY coordinates are in screen coordinates so are not affected by the SetViewOffset command."

So one would expect the draw coords are not affected by SetViewZoom either.

Login to post a reply

Server time is: 2024-11-24 12:21:59
Your offset time is: 2024-11-24 12:21:59