lowne / xCodea

a live execution environment for large Codea projects
12 stars 1 forks source link

Physics/graphics issue #7

Open Spoddles opened 10 years ago

Spoddles commented 10 years ago

Hi. Noob here. Gave up on Aircode because it crashed constantly. xCodea looks great, however I have a problem that some googling hasn't shed any light upon. My app uses physics and the raising of objects on the screen is done through applyForce - the longer you hold finger down the longer the force is applied. In Codea and in the xCode compiled project the effect on the objects is consistent but in the sandboxed xCodea environment the force applied in the same way (same code of course) sends the object accelerating and moving at a significantly higher speed. eg to raise the object from bottom to top normally takes 3 secs but it's about 1.5 seconds in xCodea. Also my two main sprites drawn on screen are about half the size when running in Codea or compiled version. Other sprites draw at correct size. Draw frame is generated using setContext.

Am I missing something obvious or is there something in a Read Me I didn't see? Are variables clashing with xCodea? Aliens? Look at the size of the two bats in these 2 images. image image