View Issue Details

IDProjectCategoryView StatusLast Update
0023089Runner[All Projects] FunctionsPublic2017-03-02 15:30
ReporterAndrjus ValkunsAssigned ToFritz 
PriorityNoneSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
PlatformWindowsOSWindows 8OS Version
Product Version 
Target VersionFixed in Version 
Summary0023089: Functions: Virtual keys are causing [code errrors] on YYC platforms
DescriptionWhen I run the game created with "Windows YYC" compiler and start using virtual keys (not when creating them, but when trying to delete them or show them on the screen) I am getting the game crash caused by incorrect type of variable. This happens only on version 1.99.493, but in the Version 1.4.1757 everything works flawlessly and also there is no error if I use "Windows" non-YYC compiler on 1.99.493. Both Windows 7 & 10.

// The following code will cause an error immediately:
global.touch_down = virtual_key_add(100, 100, 50, 50, vk_down);
virtual_key_show(global.touch_down);

// The same will be if I try to delete the virtual key using the function below:
virtual_key_delete(global.touch_down);

Error report:
############################################################################################
FATAL ERROR in
action number 1
of Create Event
for object obj_touch:

virtual_key_show argument 1 incorrect type (5) expecting a Number (YYGI32)
############################################################################################
--------------------------------------------------------------------------------------------
called from - gml_Object_obj_touch_Create_0 (line 20)
Additional InformationOriginal helpdesk ticket: http://help.yoyogames.com/tickets/109483
1.4 Found In1.99.493
2.x Runtime Found In
2.x Runtime Verified In

Activities

centolloman

2016-11-10 09:51

Reporter   ~0050175

Same on iOS YYC

Andrjus Valkuns

2016-11-10 15:05

Reporter   ~0050182

Also the same problem on Android YYC.

Andrjus Valkuns

2016-11-10 15:23

Reporter   ~0050183

Game Maker Studio version 1.4.1763 is affected.