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 / Problem with DrawBox, DrawLine etc....

Author
Message
Diegs
8
Years of Service
User Offline
Joined: 27th Oct 2015
Location:
Posted: 2nd Nov 2015 23:25
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:
Mike Archer
9
Years of Service
User Offline
Joined: 19th Feb 2015
Location: Wales
Posted: 3rd Nov 2015 22:50
I think this is correct as drawbox uses 'screen' coordinates rather than 'world' coordinates, and as such is not affected by zoom.

Login to post a reply

Server time is: 2024-04-18 12:09:07
Your offset time is: 2024-04-18 12:09:07