krls's Recent Forum Activity

  • I hope I'm not too late to the party, but is it possible to install this on Coccon when eporting an apk (and how!)?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I was under the impression there was a free outdated version of it D:

  • Just call the Cordova Powermanagement Action "Acquire Screen" on start of your layout.

    This will keep the screen from going into standby.

    But keep in mind to install this cordova plugin to your Cocoon project or whatever build tool you use.

    <plugin name="https://github.com/cranberrygame/cordova-plugin-powermanagement" />[/code:2tc1mtzk]
    

    Ignore my last post! I created the thread because I couldn't find the plugin to install on C2, the link to the download is dead on its oficial site (is a dropbox link).

  • But keep in mind to install this cordova plugin to your Cocoon project or whatever build tool you use.

    <plugin name="https://github.com/cranberrygame/cordova-plugin-powermanagement" />[/code:3ezp7re9]
    

    This is where I'm stuck, I'm not exactly sure how to do this, but I'll try waht you posted here.

  • Try creating a transparent sprite for a single frame that goes from the gun to the edge of the screen (and as wide as you see fit) in the angle the gun is pointing, and check for collision on that instead.

  • If you could figure it out that would be great, I'll light up some candles for you!

  • Please forum, you are my omly hope (amd this is my last try!).

  • Every time a player fails the level you add 1 to the number of tries on that level, right below it on the same event, do a global variable 3 = global variable 1 + global variable 2.

  • Is there a Family "Enemies"?

    I think you can do:

    Object | Has Line of Sight to "Enemies" (Right click -> Invert) : Do something.

  • Sounds like a linear equation. If the ball sprite is 100 x 100 (when 1:1), then, it should be something like:

    Every tick -> ball.width = 100 * [here a function with ball.X (screen center) wich gives as a result 1, so it multiplies 100 by 1 to get the max size of the ball], when at the center of the screen.

    And at the left edge, where ball.X = 12,5, the same equation should give you something like:

    Every tick -> ball.width = 100 * [here the same function on ball.X (12.5 for left edge) wich gives as a result 0.25, so it multiplies the 100 by 0.25 to get your 25 pixels wide ball]

    Also, I guess Every tick -> ball.height = ball.width after the above.

    Sorry I can't give you the equation, but it should be easy to google by "finding linear equation with 2 points", those points being [screenwidth/2, 1] and [12.5, 0.25].

    Good luck!

  • Create a third variable wich is equal to the two other variabled added, and that's what you show the player.

  • Oh man, I don't like to "up" threds but I have not been able to find a solution for this D:

krls's avatar

krls

Member since 6 May, 2018

None one is following krls yet!

Trophy Case

  • 6-Year Club
  • Email Verified

Progress

7/44
How to earn trophies