beguinner's Forum Posts

  • I changed canvas.redat on the dop2000 capx with canvas.alphaat to see if it tiled only the transparent area but the result is the same as before. :-(

    Shouldn't have it tiled only the transparent area discarding the red part?

  • dop2000: I tried your capx but the screen turns totally black. don't know why.

    rojohound: I want to trace over a complex layout to have another layout to set as invisible and to use as collision box during the game.

    I know that you can use Tiled to design a tilemap with irregular or complex shapes and then save it as tmx to have the collision boxes preserved but I'm more comfortable using Photoshop or Gimp, both of them have more functions and tools than Tiled.

  • So I should open the red object as cavans and then do an event such as

    -compare two variable: canvas."rgbaat"("red") = 1?

    how does the syntax work exactly?

  • No, actually that's just an exaple: my idea is to do something like cover a specific area with another object during run time after an event, like mapping that object onto that area. Do you think it's not possible? :-(

  • In the picture you have the red area and the blue sprite. How I do cover the red area on runtime creating blue sprites on it so to cover the whole red area and just it, not outside it? Should I make the blue object smaller, maybe 1 pixel square?

    i64.tinypic.com/v3lvrd.png

  • I didn't understand how to use the "rbgaAT" expression to get the color of a pixel or an area of the canvas. Do you guys have any example or capx?

  • So I wanted to do a maze game. after designing the maze in photoshop, I save it as png but of course when I export it to C3 or Unity, the program doesn't recognize the walls and gives it one collision box. Is there anything like an algorithm that detects the parts of a png file with transparency and flood fill the rest of the image? The result would be creating another layer with tiles overlapping the original layout but with the right collision box so that you can make it invisible and solve the problem.

  • How does it work in the compare variable event?

  • Can I use an expression to compare variables?

    Something like x > (y+50)

  • I've been told there's a plugin that provides multiple collision boxes for C3.

    I couldn't find it. Anyone can help?

  • Looks like it's working. Thanks, man.

  • Using the Custom Movement behavior how do I decelerate when the button/key is not down?

  • delete comment

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't know if this is possible: assume I have a bunch of variables and I use a random function to randomly pick one but I want that the same variable won't be picked more than n times, let's say three times.

    How would you do it?

  • I want to implement an effect on the title text but only when the game starts for the first time and not when it's been restarted after a game over. Should I use the OnLoadComplete event?