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.

AppGameKit Classic Chat / Wonky boxes AGK v2

Author
Message
Euphoria
18
Years of Service
User Offline
Joined: 21st Feb 2006
Location: United Kingdom
Posted: 11th Apr 2015 20:15
Hi there,

Just starting experimenting with AppGameKit (got it via steam). Thought I would keep it simple and draw a grid (with spacing). However for some reason the boxes are coming out wonky towards the bottom right of the grid. Is there some simple newbie thing I am missing here?



Thanks in advance

Attachments

Login to view attachments
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 11th Apr 2015 20:39 Edited at: 11th Apr 2015 20:57
emm, happens only in full screen ...
me look for it
.. agree its different from using a line
its something for paul.



AGK 108 (B)19 + AppGameKit V2 Alpha .. : Windows 8.1 Pro 64 Bit : AMD Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)
Euphoria
18
Years of Service
User Offline
Joined: 21st Feb 2006
Location: United Kingdom
Posted: 11th Apr 2015 21:26 Edited at: 11th Apr 2015 21:28
Ahh yeah the lines work fine, I'll use that for now. Looks like something funky going on with the DrawBox function.


Thanks for your help
DennisW
16
Years of Service
User Offline
Joined: 15th Jun 2008
Location: Ohio
Posted: 14th Apr 2015 03:34
When I changed the code to +1 it looked ok to me.



Ham and Eggs Breakfast
The Chicken was involved the Pig was Committed
AGK Community Tester
Polaraul
9
Years of Service
User Offline
Joined: 13th Dec 2014
Location:
Posted: 14th Apr 2015 03:48 Edited at: 14th Apr 2015 04:21
Hi Dennis. I tested your +1 code above on a Nexus 7, and the boxes are all wonky, so it may be dependent on the resolution of the device. I had the same issue http://steamcommunity.com/app/325180/discussions/0/611703709828808547/

DennisW
16
Years of Service
User Offline
Joined: 15th Jun 2008
Location: Ohio
Posted: 14th Apr 2015 03:59
Ok I was just looking at it in windows. I have a nexus 7 so I will give it a try.

Ham and Eggs Breakfast
The Chicken was involved the Pig was Committed
AGK Community Tester
DennisW
16
Years of Service
User Offline
Joined: 15th Jun 2008
Location: Ohio
Posted: 14th Apr 2015 05:15
I tried it out on the nexus and I did get some strange looking square's so like you said about the display size. So then I tried it out on a Acer 10 inch tablet. I was hoping that would change, but I came up with the same problem on the ten inch tablet.Maybe Paul will have a answer Good luck. Sorry I could not help

Dennis

Ham and Eggs Breakfast
The Chicken was involved the Pig was Committed
AGK Community Tester
Polaraul
9
Years of Service
User Offline
Joined: 13th Dec 2014
Location:
Posted: 14th Apr 2015 13:08
No problems Dennis. I ended up using the function supplied by Markus, it actually makes more sense and works better than the TGC DrawBox command

Tone Dialer
Valued Member
19
Years of Service
User Offline
Joined: 17th Oct 2005
Location: England, well a town in it !
Posted: 19th Apr 2015 20:06 Edited at: 19th Apr 2015 20:07
@Paul

DrawBox in Ver 2.0.13 still suffers from this problem, further investigation seems to show that the 'wonky box' problem only occurs on unfilled boxes.

A slightly modified example shows this.

There are workarounds, but please take a look when you get time.



Login to post a reply

Server time is: 2024-11-25 20:27:08
Your offset time is: 2024-11-25 20:27:08