Asmodean's Forum Posts

  • [quote:3e83ys0l]I think if the game has a problem why it runs smoothly in the web browser and also through the iPhone's application?

    That baffles me and yes, if the game is faster in the browser on your device than an apk, the problem has to be Intels XDK.

    You could try on your Moto G with Android 5.1 to make an App in the XDK without Crosswalk and see if this makes a change. So you can see if its a problem with Crosswalk.

    Do you use Cordova plugins? Maybe one plugin cause a problem.

  • Hmm, if you use crosswalk and the GPUs on your Android Devices are not in the blacklist, then the problem has to be your game.

    What you can try is your game in Chrome on Android as web-game. It should be as fast or slow as the apk, then you can eliminate the possibility of a problem with Intel XDK.

    The other thing I notice is the single large image (1.8 mb). What is the size?

    This could be a problem. Ashley wrote about that.

    https://www.scirra.com/blog/112/remembe ... our-memory

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • RenatoB

    You asked why that happend and I give you the most frequently reasons. If that are the reasons that cause your problems, I can't say.

    You didn't write you use crosswalk, so I suggest you did not. I don't say that you can't use crosswalk only that if you don't use it with Android-Version lesser than 5 the performance can be sluggish.

    If you use chrome on android and use chrome://gpu as an URL you could see if WebGL is enabled. Is it not enabled your GPU is in the blacklist.

  • [quote:2rqbltfn]A simple game with different performances. Why it happens?

    Your devices have Android-Versions <5 and you don't use Crosswalk.

    The GPUs of your devices are blacklisted.

  • It seems that setting the speed to negative only works if the setting 'set angle' is disabled or that the object that spawns the bullet has itself an angle of zero. Don't know if this is a bug.

    If you want that your bullet flies in the opposite direction that the object is facing you need to turn the object that the bullet spawns.

    you could use in your second example: 'Sprite| Rotate 180 degrees (counter-)clockwise' when the condition triggers where you want to shoot the bullet in the opposite direction.

  • Make the speed negative. In your example -400.

  • You could try HQ2X Layout from anata.

    It think it should also work only for one Layer, but I don't know for certain. You have to try.

  • I've converted the 'all day' ogg to wav and then imported it back with construct and now it works. Maybe you could try that as workaround.

  • It's hard to say more without knowing your capx. Maybe you set the animation frame in another event too but I can only guess.

    This is my example and you could see that it worked without problem. You have to hit the squares 5 times then it will change the colour.

    https://drive.google.com/file/d/0B5FlDY ... sp=sharing

  • Works without a problem for me. Check if only the hp of the one family member that is attacked is subtracted and not all.

  • You can avoid selecting the TexBox by simply unfocus it when you drag the sprite:

    Sprite| DragDrop is dragging -> TexBox| set unfocused.

    But the TextBox is always above the game canvas, so you will drag the sprite along behind the TextBox.

    If you want to avoid that, you have to make your own TextBox.

  • [quote:21xm5f4h]

    Thank you VERY much

    No Problem, but use 'save game' with care. Use it only with events that trigger (green arrow), otherwise you can get side effects like lags.

    If you have objects that are not to be saved, you can use the 'not save' behavior.

  • The easiest way to achieve that is with 'save game'.

    You could for example trigger the 'save game' with 'On DragDrop drop'

    TextX|On DragDrop drop -> System| Save game to slot "position"

    and load it in the 'on start of layout' event.

    System| On start of layout -> System |Load game from slot "position"

    The whole thing would be much easier if you use only one text-object and instances of it not so many different text-objects. Now in this example you have to trigger 'save game' with every text-object.

  • Look if this example works for you:

    https://drive.google.com/file/d/0B5FlDY ... sp=sharing