danno55's Forum Posts

  • hi guys

    im trying to get the acceleration values without gravity...I assume that means that the value is the acceleration without gravity added, but I get the same value with either option choosen...gravity is included in the value shown.....

    this is when exporting with cocoonjs to iphone.....

    any ideas? I just want to measure the acceleration of the device...

    thanks!

    Dan

  • hi folks

    so whats the best way to scale for the different aspect ratios on iphones when using cocoonjs? I read the tutorial on scaling for mobile devices but it seems that's not supported by cocoonjs which still seems the best bet for iphone publishing (please correct me if im wrong here)

    thanks!

    Dan

  • hi...how do you return several values with one function?

    thanks!

    Dan

  • oh ok....thanks!

  • blackhornet

    thanks!...but when I create a function with local variable inside of it, why wont it let me select one of those local variables as a return value?

    thanks

    DAn

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • hi...can someone point me to info on an example of returning a value with a function....I found how to pass a function a value but how does you use the value returned by a function?

    thanks

    Dan

  • is there a way in construct to store data from say, the accelerometer outputs and then plot the data in a graph?

    thanks

    Dan

  • thanks!

  • thanks,im afraid I don't understand though...its the measure of tilt that I want to set to 0 when the device is level...like calibrating the levelness of the device.I don't see where there is a place to set the angle to zero...

    thanks

  • how do you "reset" the inclinometer to 0 degrees?

    thanks

    Dan

  • cool! how many downloads have you had and on which stores?

    thanks

    Dan

  • has anyone run into this? ive got a physics game where I use a force in the y direction applied to an object. when the layout starts I have timescale set to 0. on touch, time scale goes to 1 to start the game and start the object falling.....

    if you run the layout and immediately touch to start, it works fine, but if you start the layout and wait a second or 2 before touching, the object shoots down with an initial velocity....as if its building up to force before the timescale starts....

    any ideas?

    Thanks

    Dan

  • how does construct deal with 2 physics objects that each have different friction values? average them? take the lowest? highest?

    thanks

    Dan

  • hi folks

    im stumped on the best way to accomplish this....I have an object in many layouts....but for one of the layouts I want to replace this object with a different image....and a different collision mask. it seems the only way to do this is to create a different object as you cant change collision masks during game....

    so how should I do this? ive got a "main" event sheet that controls the behaviours of the object in all the layouts....so I cant just replace the object in the main event sheet or it wouldn't work in other layouts....

    I want only one of the several layouts to use the different image and collision mask....

    any ideas?

    thanks!!

  • is there a way to do a "find and replace" kind of thing with an instance on an eventsheet? replacing every object with a new object (not another instance)?

    thanks

    Dan