galacticfan's Forum Posts

  • EDIT: After playing around for a bit, I finally found out how to do it. This is what I was trying to do: dropbox.com/s/nh3gk848p9qxdsv/DeviceOrientation.capx

  • I want to be bale to display the values of alpha, beta and gamma however, I don't know what to set the text to as when I type in Alpha, it won't allow it, am I making any sense?

  • if beta is x and gamma is y, what is alpha?

    It was a real stab in the dark, I have no clue on how to grab these values. Maybe an angle?

  • I was wondering if it's possible to actually grab the vales of alpha, beta and gamma and then display them say every tick? I tried it using X and Y (beta being along x and gamma being along way but no luck).

    Any ideas?

  • galacticfan Somebody told me that 'button' objects are not supported with cocoonJS so touching it won't work. that is probably the issue if the object is a button and not a clickable sprite etc. if that is the case, use a clickable sprite! : D

    I have been using a sprite that I animated to make it appear like a button ;)

  • Update: I have also tried this on an iPad and I have the same problems which leads me to believe that it's a problem with the code however I can't see what's wrong with it :S If someone could take a look I would be grateful.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You could check out the capx at the end of scirra.com/tutorials/398/touch-stick-controllers.

    Also it's important that the hardware support multi touch. Without knowing the hardware it could be older and be single touch anyways.

    I have a nexus 7 with android 4.3 so it can't be hardware related if it's one of the most up to date models on the market? However, might it be the fact it's android 4.3 and cocoonjs doesn't support 4.3 very well?

  • So I'm reasonably new to construct 2 and I'm sorry if this seems like a stupid request, but I can't seem to get multitouch to work. Following Kyatric's tutorial on creating an on screen thumbpad, I then also created a button to fire a weapon in my little game here: dropbox.com/s/yy3wny3a693qpz8/ZombieExample.capx

    However, when I preview the game on my android tablet via cocoonjs, it appears that multitouch does not work as when I click the fire button and I'm navigating about, my fire button seems to override control of the touch function as the player stops moving and the joystick 'centers'.

    Any ideas?