Jump to content


pedrosorio

Member Since 03 Mar 2007
Offline Last Active Aug 01 2013 02:33 PM

Posts I've Made

In Topic: All this talk of Pi has got Scott hungry

04 December 2011 - 12:25 AM

Now this got me excited. GM running on Linux... dream :tongue:

In Topic: Terraform Demo

04 November 2011 - 12:39 PM

No performance issues for me on chromium. However I'm on the "1st year exam" and I can't do that level with less than 6 axes, it's driving me crazy xD

P.S.: Ignore the above, I didn't know you could use the shovel in a terrain with seeds.

In Topic: Multi-Touch in GM:HTML5

20 October 2011 - 01:10 AM

Check out YoYo_AddVirtualKey()

In Topic: Platformer collision

14 October 2011 - 11:13 AM

No... JavaScript does recognise things are INTs, and it will go faster if you do that. You can cast to an INT using floor() (etc.) or an INT operation like <<, &, |. But you can also cast it quickly using "~~" (NOT NOT). JavaScript compilers recognise this as a "cast it quick" method. GameMake doesn't use float, but double (as does JavaScript though), and these are slooooow. So once you cast your variable to an INT with the AND, your variable WILL hold the INT value, and JavaSrcipt will go a little quicker.


About twice as fast in my chrome:

http://jsperf.com/floor-x16-vs-x-ff0

In Topic: Project Spartan reveals HTML5 platform

12 October 2011 - 06:13 PM

"Credits is not supported within iOS native apps or web apps running within the Facebook iOS app."

http://developers.fa.../guides/mobile/