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 / BUG: virtual button with view offset

Author
Message
Parry
AGK Developer
14
Years of Service
User Offline
Joined: 16th Dec 2009
Location: Swampstone
Posted: 30th Oct 2019 15:43 Edited at: 30th Oct 2019 17:13
The button becomes unclickable after setting view and zoom. It seems like we need a FixToScreen command for buttons? Didn't have this issue in earlier versions.

Simple example that will demo this bug. Tested in Visual Studio 2015 32-bit version.

Edit: also the same issue with the onscreen virtual joystick



Cheers!
Parry
Counterparry
DarkDIRE RPG a roguelike game build with AppGameKit Tier 2
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 31st Oct 2019 18:57 Edited at: 31st Oct 2019 18:59
+1 on this, in Tier 1 Classic.

Also, there was a work-around posted recently re: "updating" button position vs offset that doesn't work for my (few yr old) android phone.

I'll be looking at making my own v-buttons/joysticks using sprites, next, but the built-in functions should b fixed as a "minimum basic" feature that should work without a hitch, as is.

Xaby
FPSC Reloaded TGC Backer
17
Years of Service
User Offline
Joined: 17th Apr 2007
Location: Berlin
Posted: 11th Nov 2019 19:19
It is also a problem with Tier 2 C++ source code.
Makes it nearly a useless button

Strange thing is, clicking with mouse arrow hits the right spot, but using a finger, doesnt. So maybe this is only touch related?
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 11th Nov 2019 20:11
I think this was mentioned in another thread and is being fixed
AliceSim1
5
Years of Service
User Offline
Joined: 15th Oct 2018
Location: Barcelona
Posted: 12th Nov 2019 14:57
Hello!
In this update I found the bug, for my game,
It affects virtual buttons, if it is a bug:
https://forum.thegamecreators.com/thread/225185#msg2650083

I'm not the only one, I hope they repair it.
It makes no sense that virtual buttons scroll or zoom, like sprites / texts.
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 22nd Nov 2019 11:38

Login to post a reply

Server time is: 2024-04-23 21:18:28
Your offset time is: 2024-04-23 21:18:28