arikrak's Forum Posts

  • That will probably work, but it will take a long time. Is there any way to just paste the relevant files into a folder?

  • Is there any way I can quickly split a large game project into smaller independent ones? I have multiple layouts and event sheets within a game and I want to separate them into separate projects (to create smaller games). I tried moving the relevant files into a different project folder, but it did not work.

  • Let's say I want to code my own simple HTML5/javascript file. Is there any way I can combine this file with a Construct2 phone app? For example, is there a way to modify the Phonegap export so an additional page is linked to? Thanks!

  • I tried making the cannon much wider, but that doesn't help. In fact, the cannon often goes in the opposite direction of what its supposed to.

  • Thanks. It seems they somehow got renamed with a 2 added.

  • I placed some music and sounds in my game on Newton.Zappable.com. The music works in Chrome and Firefox, but they are unable to play the sounds. On a Android phone, both the music and the sounds can play.

    I have the music in .m4a and .ogg formats, and the sound as .m4a, .ogg and .wav. How can I get the sounds to work? Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm trying to fix my game, Newton's cannon (at newton.zappable.com).

    The cannon in Level 2 (and 3) is supposed to move when dragged up and down and that works fine with a mouse. However, it is very difficult to move successfully with a finger (on a phone). Is there a way I can fix this? Thanks!

    This is my game-code:

    Condition:

    Touch - Is touching cannongun

       cannongun - is not overlapping grass

       Action:

       Rotate 10 degrees towards Touch.X, Touch.Y

    (If it is overlapping grass, rotate 10 degrees towards 0)

  • I'm using some simple physics in a game, that basically involves some gravity and one projectile being shot at some targets. Yet for some reason, the game requires heavy use of the CPU of a laptop processor (30-90%). This is true even when everything is still and nothing is being shot! It works fine on a laptop but becomes slow on a tablet or phone. Is there some way to get better performance?

    The GPU process and the open tab in Chrome can each take up 15% of the CPU, though it goes down if nothing has happened for a while.

  • Some events cause an explosion object to be generated, which will give the player points when it overlaps with a target. Sometimes, there's an issue, and it causes more points than there should be. Is there a way to fix this? This is my Construct code:

    Explode: is overlapping target --> Target:destroy. System: Add 10 to score.

  • Thanks, that worked!

  • How do I change the default so the game starts from the bottom of the layout instead of the top left? I.e (I want the game to start on the ground instead of the sky.)

    Also, I have been unable to resize the game without running into problems, even though I'm using build 82. It either doesn't work, or pops up with an error message.

  • Thanks, that worked.

    I had tried using (int)cannongun.angle (like in Java), but I see scirra does it differently.

  • Hi,

    I have a cannon in a game and I would like to set a Text item to the angle of the cannon. I can set the text to the height of the cannon or other stuff and it works, but for some reason the text is unable to display the angle of the cannon.

    I tried setting the text to both cannongun.Angle and Angle(cannongun.ImagePointX(0),cannongun.ImagePointX(1),cannongun.ImagePointY(0),cannongun.ImagePointY(1))

    but neither one would work.

    How do I get the angle? Thanks.

  • I had a couple of construct programs open and one of them was running in the browser (firefox on 64-bit computer). I clicked refresh after a while and Construct crashed. This is the error message: <img src="http://stuff.zappable.com/ErrorCapture.PNG" border="0" />

  • I left Construct and many programs open and I hibernated my computer. When I resumed, everything else worked but Construct was frozen. I had two Construct windows open but neither one would resume. I've had this problem a couple of times now.