EncryptedCow's Forum Posts

    • distance(obect.X ,object.Y, planet.X, planet.Y) < 50
    • everytick
    • > set angle 2? towards planet
    • > move forward 2 pixels

    Use that and change numbers to get the feel you want.

  • Its because even though the speed is trying to make it move, the ball is still overlapping the player meaning it will stay at the position where the player is holding the ball. What you need to do is set the ball out o the players collision polygon and THEN it should be thrown.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 1. Add Mouse behavior to game

    2. Create a new event by double clicking in the event sheet

    3. Double click mouse and selecet "On Click" with the green arrow

    4. Choose which settings you want

    5. Right click your new event and select add new trigger or something like that

    6. Double click the sprite in this GUI and find "Compare X"

    7. Choose Less Than, and then do Mouse.X

    8. To the right of your event there should be some small grey text that says somethin all the lines of add new event with a plus sign

    9. In this GUI, select your sprite and find "Set mirrored" choose not mirrored

    10. Repeat this with a NEW event (right click > Add new event) but change less than to greather than, and change not mirrored to mirrored

    Let me know if anything here is wrong, just woke up and am going off tentop of my head.

  • Not many people are going to go through the trouble of stealing your game. If it's actually uploaded to a website the source will not help without all the other exported files. Trust me, it is A LOT easier to just do it all in one game.

  • I haven't downloaded the capx so I'm going by what I see in comments

    • On Left Button Clicked
    • Mouse.X < Sprite.X
    • > Set Sprite mirrored (look in the speites actions to find this.)

    -On Left Button Clicked

    • Mouse.X > Sprite.X
    • > Set Sprite not-mirrored
  • Just use multiple layouts with webstorage. If a level is complete send level1complete =1 then use that to decide if it is conpleted or not. There is no reason that I can think of to use mutiple games in that situation.

  • I'm not sure how it works since I didn't download the example .capx, but I'm assuming it uses animations so at the start of the event, set it to a random frame. If it has 10 frames you do int(random(11)) I believe. Maybe (9))? Try the 2.

  • rotate it certain amounts with wait in between each is all I can think of.

    eg. rotate 10 degrees > wait 0.1 > rotate 10 degrees > wait 0.1 > rotate 10 degrees > wait 0.1 > rotate 10 degrees > wait 0.1 > rotate 10 degrees > wait 0.1 > rotate 10 degrees > wait 0.1 > rotate 10 degrees > wait 0.1 > rotate 10 degrees > wait 0.1 > rotate 10 degrees >

  • Or set it to mirrored? 0.0

  • Animation maybe?

  • Use the preload sounds in the audio section.

  • Made a new button :)

  • Those are pretty good :O

    I wish I had money and a reason to use 3D models.

  • Local variables don't show up at the top of event sheets like global variables.

  • Just do every tick -> simulate controls

    Simple :)