Alyra Games's Forum Posts

  • Thank you for the answer but you misunderstood me. Maybe I explained myself badly.

    I mean:

    Does it has advantages if I create new event sheets for big blocks of code like the AI? In programming languages you can call a Script. In construct 2 there is an option to use event sheets like scripts. But I'm not sure if this is of advantage in construct 2.

  • Hello.

    I hope this kind of question is in the correct place.

    Is there any benefit in using event sheets like the scripts in other program languages?

    Does it save performance if I link the content of huge if statements to event sheets?

    Thank you.

  • Unfortunately letterbox scale does not work with cocoonjs. You have to use this workaround:

    viewtopic.php?t=96018&p=740758#p740758 (copy+paste on the right position)

    Use Irinas method.

  • I solved it. I used sine=angle behavior for it. :>

  • Yeah, but this whould be much afford by many sprites.

  • Oh yeah. You are totally right. I didn't use bullets yet. Gravity should do the trick.

  • Good evening.

    How can I let a sprite/object move on it's edges as they were it's feets?

    I attached a picture to show what i mean.

    Thanks in advance!

    Edit:

    Should I use the sine behaviour with "sine movement"=angle?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You mean with physics? You could add physics behaviour to the arrows and mess a bit around with it.

  • I don't know if I understood you. Use the "Set angle toward position" command. Then do something like this:

    x: player.x

    y: random(player.y-45,player.y+45)

    It should choose a random angle between x° below and x° above the player. I don't know if this is correct.

  • Try putting the sound in the music folder. This way it should stream it. If this works for you.

  • Hello.

    Is there any way to implement push notifications into a construct 2 made game? I'll use cocoonjs to make it mobile native.

    Thanks

  • No one has a solution?

  • Hello!

    I'm looking for a tutorial explaining how to deal with multiple screen resolutions & aspect ratios with construct 2 & cocoonjs on mobile devices.

    I know there are some small "tutorials", or advices but none of them seem to explain it step by step in an understandingly way.

    If some of you, who solved this issue, whould make a tutorial it whould be very awesome. Many people are wondering how to achieve this and whould be thankful.

    Thanks

  • Oh sorry. I mixed it up.

  • Use the "Debug layout", next to "Run layout" on the top left of Construct 2. Then Search in the list for the object. You should see the collision box.