SOLVED HTML5 (camera_get_view_x) returns 0.

Megamini009

Member
Hey, I was just trying out a parralax background using lerp, which worked pretty well in the regular desktop test mode.

So i tried it in HTML5 and it didnt move at all.. after checking the variables, I found that camera_get_view_x was returning "0" at all times in HTML5... strange.

I used a quick fix so it works for me now, but i was curious if anyone had this issue also?

- Mega
 

Megamini009

Member
Figured it out, was an error on my part. HTML5 seems to be less forgiving with errors in code! Was driving me mad ! But all is well now.
 
Top