7Soul's Recent Forum Activity

  • You don't need plugins for this, just pass enemy.UID in the function parameter (say, param(0)), then in the function you do Pick object by unique ID = function.param(0)

  • Every choose(1,2) seconds

    Sometimes it waits 1s, sometimes it waits 2s

  • I use Tiled to make maps myself. The C2 editor is very limited and Tiled has a lot more tools, then you can save and import into the Tilemap using the "Import TMX to this object" button in the Tilemap window. (You can also export C2 tilemaps)

    In Tiled you can select all the tiles you want to be solid using the "Select same tile" tool while holding the shift key. Then create a new layer and paint the selected area with say, tile number 1. Then you can import this layer into the solid Tilemap

  • Ah ok. I knew a 0x0 collision box worked in a very specific case so I assumed the reason was that the game ignored it

    I usually have another tilemap on top for the collision mask, it's the easier way to do it as far as I know

  • You can use Rex's Nickname plugin

  • If you make the collision box of the tile 0 by 0 (put all the points in the same place) it technically doesn't exist anymore

  • This is because you can move your finger faster than the game has time to realize. The proper way to do drag-and-drop is to set a boolean for the object once you touch it, and set it off once you take the finger off the screen.

    Example:

    Create a boolean variable for the object called "Dragging"

    Touch object (once) -> set Dragging true

    X Touching (screen) -> set Dragging false

    Object is Dragging -> Object Set X,Y to Touch.X,Y

  • Does this happen when you preview the game from Construct or is it just when you play on your website?

  • You could have a variable that gets set when you spawn the boss, and then compare that variable in the event that moves the background

  • How are you scrolling the background? Is it on a layer with parallax?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The problem is that your background ended, is still scrolling and the background of the layer is transparent. So the game has nothing to draw there so it just repeats the last pixel available

  • Or use max()

    [quote:t4aze1ii]

    On click -> Set variable to max(variable - 1, 0)

    max() sets a lower limit, so it will always return the higher value of the two

7Soul's avatar

7Soul

Member since 15 Dec, 2010

Twitter
7Soul has 2 followers

Connect with 7Soul

Trophy Case

  • 13-Year Club
  • Entrepreneur Sold something in the asset store
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

17/44
How to earn trophies