Zathan's Forum Posts

  • 1 - Clay.io systems works fine on mobile devices?

    2 - Can I upload 2 versions of the same game? ex: a free and more simple version and a paid version with no limits.

    3 - Clay.io allows to put the game on various marketplaces for various mobile devices?

    4 - Works great with C2?

    Thanks

  • I recommend using Sprite Font instead. That way you don't have to worry about whether the system has the font or not.

    hmm.. and the web fonts? works fine?

    And what if the mob isn't connected to the internet?

  • I'm using a downloaded font in my project. But seems like if the system don't have the font, it don't appear ingame.

    My game is for Mobile Devices... so, what's the best form to use "unofficial" fonts in my case?

  • Hi Zathan, If I understand your problem correctly, you can use variables to solve your problem. This might not be the simplest solution but it should work.

    On Touch Object "your button"

    -Set Variable to 1

    On any touch end

    -set variable to 0

    [Variable =1 > Touch is touching "your button" > -Do your events here > > The on touch object makes sure that it only activates when you specifically touch that button and now scroll to it but it only activates once and doesn't act like the touch is touching function which continously runs the events. So place a variable as a trigger and that should help solve your issue. > > Hopefully this helps you out. > Works fine thank you dude!

  • There’s a bug in my touch sprite buttons. It’s simple: when you click the screen, hold the mouse button and go to one of the touch buttons, it works like you’ve clicked… and when you still holding the button, goes out of the touch sprite and come back, the ship engine sound repeats everytime…

    any tips in that?

    here is the test capx: https://db.tt/cUf1UJDm

  • here the .capx

    https://www.dropbox.com/s/5sr5u1fiwhurq ... %20v2.capx

    that's it

    thank you, dude <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Hi, Here the example file. enjoy

    .capx file:

    https://www.dropbox.com/s/hxyu6w3m1i5tu ... ample.capx

    image jpg

    https://www.dropbox.com/s/fgk7twb4dxxxhk2/Bird_Warp.jpg

    hehe thank you very much, luis <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    but what about top and botton of the layout?

    in my tests, i made something similar to your example.

    In my game, the asteroids direction depends of the spaceship position in viewport.

    but i can't find a way to spawn the asteroids in anywhere out of layout.. :\</p>

  • I want to spawn objects in random coordinates around all the layout. But, out of layout.

    Just one thing.. i'm using the wrap behavior on the objects.

    And the layout is landscape 768x480.

    Thanks

  • On any touch end?

    holy ******* i thought it was for something else..

    sorry, I'll pay attention next time lol

    thank you

  • which is the equivalent to the "is touching object"?

    i can't find anything..

  • I did a zombie top down game test a while ago... it's old, but have the limited bullets thing <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    take a look!

    https://dl.dropboxusercontent.com/u/191 ... este2.capx

    in the events tab, go to "armas" group and then "p220".

    any questions, just ask;

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • pm your email, I'll send you the file, it will be so much easier if you see the capx... Otherwise for the first part 5Type basically already covered it in terms of code, you have to dig a little into expressions...

    yup.. i've started to learn construct and basics of programming recently.

    my email is nhsombra@gmail.com

    here is my attempt to do the 3 shots thing: https://db.tt/cUf1UJDm

    when the spaceship starts to turn, start the error..

  • What do you mean it's not working? It downloads just fine on my part. Perhaps you have some antivirus or popup blocker in your browser?

    no '-'

    perhaps my country is blocked? lol

    but the thing is.. i just want the spawned objects to go in my direction (the spaceship).

    any tips on this?

    just one more thing: how to, when i shoot, spawn 3 bullets with different direction? ex:

    1: 90 degrees

    2: -15 compared to the first

    3: +15 compared to the first

    sorry for the 'truck' of questions hehe

    ..and sorry for the english :b

  • Yes, then wait for 'All preloads complete' with a 'Trigger once' to toggle a variable that flags that the sounds can be played (if that is relevant).

    great

    tnks

  • Something like this..?

    http://www.eli0s.com/Tests/SpaceShip.capx

    the link is not working here :\</p>