I use GM:Studio but I have a problem with HTML5 but not with Windows.
The wrong thing is come since the last update (I think)
I have the next code in obj_hoeklb.
<step event>
x=obj_links.x;
y=obj_boven.y;
This works always but since the last update it won't work in HTML5, my sprite won't draw. (Only by HTML5).
I used three times the show_message funcion to see some variables in HTML5.
First:
obj_hoeklb:
show_message('id:'+string(id)+': x:'+string(x)+': y:'+string(y));
Gives the result:
id: 1000024: x:NaN: y:NaN
Second:
obj_hoeklb:
show_message('id:'+string(id)+': x:'+string(obj_links.x)+': y:'+string(obj_boven.y));
Gives the result:
id: 1000024: x:undifened: y:undifened
Third:
obj_links:
show_message('id:'+string(id)+': x:'+string(x)+': y:'+string(y));
Gives the result:
id: 1000024: x:96: y:96
I have no idea how I can fix this.
I am looking for some help.
This is an example.
http://updo.nl/file/2a316c1e.gmz
example.gmz
x=other.x don't work anymore
Started by tomboman, Jun 10 2012 06:18 PM
4 replies to this topic
#1
Posted 10 June 2012 - 06:18 PM
#3
Posted 11 June 2012 - 10:51 AM
This is fixed in an update we are currently testing... it should be out this afternoon.
Russell
Russell
#4
Posted 11 June 2012 - 06:29 PM
This is fixed in an update we are currently testing... it should be out this afternoon.
Russell
Thank you, but this is also for the direction (and I think all of the other automatic variables).
#5
Posted 11 June 2012 - 06:36 PM
It is the same problem... there was a bug in the Javascript compiler which affected them all.
Russell
Russell
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











