ramones's Recent Forum Activity

  • Instead of setting x to 960, set it to Ground.X + Ground.Width * 6.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here's an example I made before: multipleSelection.capx

  • If you're doing it like this:

    System: Create EnemyShip

    EnemyShip: Set Iconframe to 5

    then after the create action it jumps to the 'on created' trigger and runs the code there and then goes on to the next line 'set Iconframe'. So the variable won't be set until after 'on created' runs. I'm guessing that's what's happening.

  • When you click to the left of the player, set the player mirrored. When you click to the right, set not mirrored.

  • Event 3: Left mouse clicked and CanShoot = 1, set CanShoot = 0.

    Event 13: CanShoot = 0 now so this event wont run.

    Solution:

    Put event 13 before event 3. Or make the 'sniperpoint overlapping enemy' bit a subevent of 3 (before the wait actions).

  • Your "xloop" loop is clearing the array every iteration in event 2.

  • Can't you just use the Mouse plugin in the same way? If 'on mouse click' fires then the user is using a mouse otherwise they're using touch.

  • When you destroy a sprite it doesn't get destroyed until the next top-level event. So the 'HealthBar' sprites destroyed in event 13 aren't really destroyed until event 20.

    What happens is:

    Event 13 flags the 5 HealthBar sprites to be destroyed and creates another 5 HealthBar sprites on top of them.

    Event 14 sets the animation frames correctly for the first 5 sprites which are going to be destroyed.

    At event 20 the 5 sprites are destroyed, leaving the 5 new sprites which haven't had their animation frames set.

    (Also in event 15 it should be playerLife/2 in the first condition)

    Nimtrix Creating the health sprites on start of layout wouldn't let you dynamically change the maxLife like in the arcade example. But if he doesn't need to do that then it would probably be better. Destroying and recreating the sprites every tick doesn't seem like a great idea.

  • When you're entering a string into a text field you need surrounding quotation marks but you also need to replace any quotation marks inside the string with double quotation marks.

    <hr />

    "{""c2array"":true,""size"":[19,11,1],""data"":[[[""tile_impassable""],[""tile_impassable""],[""tile_impassable""],[""tile_impassable""],[""tile_impassable""],[""tile_door""],[""tile_impassable""],[""tile_impassable""],[""tile_impassable""],[""tile_impassable""],[""tile_impassable""]],[[""tile_impassable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_impassable""]],[[""tile_impassable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_impassable""]],[[""tile_impassable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_impassable""]],[[""tile_impassable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_impassable""]],[[""tile_impassable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_impassable""]],[[""tile_impassable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_impassable""]],[[""tile_impassable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_impassable""]],[[""tile_impassable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_impassable""]],[[""tile_door""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_door""]],[[""tile_impassable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_impassable""]],[[""tile_impassable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_impassable""]],[[""tile_impassable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_impassable""]],[[""tile_impassable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_impassable""]],[[""tile_impassable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_impassable""]],[[""tile_impassable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_impassable""]],[[""tile_impassable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_impassable""]],[[""tile_impassable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_passable""],[""tile_impassable""]],[[""tile_impassable""],[""tile_impassable""],[""tile_impassable""],[""tile_impassable""],[""tile_impassable""],[""tile_door""],[""tile_impassable""],[""tile_impassable""],[""tile_impassable""],[""tile_impassable""],[""tile_impassable""]]]}"

  • That's what families are for. If you have a C2 licence you can create many types of aircraft and add them all to the same family. If you're using the free version then having one sprite with different frames/animations for each type of aircraft is the way to go.

ramones's avatar

ramones

Member since 17 Apr, 2012

Twitter
ramones has 4 followers

Trophy Case

  • 12-Year Club
  • x4
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

15/44
How to earn trophies