- Game Maker Community
- → Viewing Profile: Posts: pedrosorio
pedrosorio
Member Since 03 Mar 2007Offline Last Active Apr 28 2013 09:52 PM
Community Stats
- Group GMC Member
- Active Posts 971
- Profile Views 2950
- Member Title GMC Member
- Age 25 years old
- Birthday April 30, 1988
-
Gender
Male
-
Location
Portugal
-
Interests
Maths, Physics, Biomedical Engineering, Games, Programming, Playing Guitar
Friends
pedrosorio hasn't added any friends yet.
Latest Visitors
Posts I've Made
In Topic: All this talk of Pi has got Scott hungry
04 December 2011 - 12:11 AM
In Topic: Terraform Demo
04 November 2011 - 12:25 PM
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 - 12:56 AM
In Topic: Platformer collision
14 October 2011 - 10:59 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 - 05:59 PM
http://developers.fa.../guides/mobile/
- Game Maker Community
- → Viewing Profile: Posts: pedrosorio
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content
