|Anonymous | Login | Signup for a new account||2017-11-24 18:11 GMT|
|My View | View Issues | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0025508||Runner||Variables||Public||2017-02-01 11:35||2017-11-02 15:06|
|Assigned To||Russell Kay|
|Priority||Medium||Severity||C - General||Reproducibility||100%|
|Summary||0025508: Variables: Issues with IDs getting mixed up on HTML5 [because of difference vs Windows and both being wrong]|
|Description||In my current project that I developed since earlier beta. The ID of the objects and sprites seems to get mixed up when running in HTML5.|
I can set a sprite_index to a certain sprite by using its name and another sprite will be used. I destroy an object and it destroys the wrong object(in this projects case, its my player it destroys).
Please see the sample URL for the problem I'm facing.
|Additional Information||Original helpdesk ticket: http://help.yoyogames.com/tickets/119359 [^]|
|2.x Runtime Version|
|2.x Runtime Version Verified In|
Mike Dailly (Manager)
edited on: 2017-04-24 14:29
Example is bugged.
"activate_next_unit" on player is checking an empty list, which returns "undefined". In the Native runner doing a "with()" using the "undefined" result, which is being cast to 0 - which is the oPlayer object.
So by a total fluke, the game works.
HTML5 has been made consistently wrong for now. Windows version needs fixing so it throws a code error, then HTML5 change can be reverted.
Bug number has been added to source comment for easy finding.
|Copyright © 2000 - 2017 MantisBT Team|