dop2000's Forum Posts

  • There are a couple of plugins you can try:

    Canvas has an expression rgbaAt, which, I'm guessing is what you need.

    As for changing sprite color, maybe you can use "Set color" effect?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • worm1

    Is this what's happening?

    You can check if Vector.pickedCount=2 and simply reverse the angle of movement (add 180 degrees).

  • I think it means that you don't have ownership of the template - you can't re-sell under a different name and stuff like that.

    But once you create a game using this template, this game will be yours and you could do whatever you want with it.

    Of course I may be wrong.

  • Don't use particles, do this with sprites.

  • Yeah, there are plenty of ways to control the flow of events - using triggered events, Wait, Wait for signal, Every x second, Timer, Trigger Once, event groups.

    What I love (and sometimes hate) the most about C2 is its picking system. It takes time to fully understand how it works, but it's a really powerful stuff.

  • newt I believe if ball collides with two vectors at the same moment, both vector instances will be picked in one collision event.

    worm1

    Here are a few examples:

    // If you need to process all vector instances which are currently in collision with the ball 
    Ball on Collision with Vector
        For each Vector  ......................
    
    // If you need to process only one vector instance, no matter if the ball has hit 1 or 2 vectors
    Ball on Collision with Vector
        System -> Pick 0-th instance of Vector  ......................
    
    // If you need to know if more than 1 vector is in collision with the ball 
    Ball on Collision with Vector
         System -> Compare two values -> Vector.pickedCount>1
    
    // If you need to pick only one of two vectors using some condition 
    Ball on Collision with Vector
         System -> Compare two values -> Vector.pickedCount>1
               System -> Pick Vector by evaluate <your condition here>[/code:3j641p9u]
  • I'm pretty sure your obj_player is not sleeping, so this whole event doesn't work.

  • In "Is overlapping" event add a sub-event - "For each vector" or any of the "System->Pick" events.

    You can also check how many vectors are picked at any time using expression vector.pickedCount

  • I think Box2D Asm and Box2D Web are pretty much the same. And Chipmunk is pretty much completely different

    It has its own advantages and disadvantages, I'm sure you can find all information in this thread:

  • Well, you can add a loop "Repeat 1000000 times" or something like that on every tick to slow your game down.

  • You can't do this with standard C2 events, but it's possible with JS code.

    Here is a somewhat similar plugin that detects faces in images.

    viewtopic.php?t=72970&start=0

    https://github.com/JohnnySheffield/C2_P ... facedetect

    If you are familiar with JS, you can probably modify this plugin for color detection using tracking.js library from the link you posted.

  • There are two built-in Physics engines in C2 - Box2D Asm and Box2D Web, have you tried both?

    Also, you can try using Chipmunk, it might work faster:

  • jezjones24

    To open a capx created with newer version of C2, rename it to zip, unpack to a folder, open .caproj file in Notepad and edit this line:

    <saved-with-version>24600</saved-with-version>

    (I post this advice so often, I should add it to my signature )

  • There are a couple of plugins that extend textbox capabilities, you may find them useful:

  • The music normally doesn't stop when you change layouts. You don't need to do anything.