dop2000's Recent Forum Activity

  • 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 )

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • I don't like TextBox, it's ugly (for games), impractical, hard to customize.

    If I needed a simple text input for my game, I would probably make my own custom "textbox" using Text or SpriteFont object.

    Shouldn't be too hard - read keyboard input to add or remove characters. Use symbol "|" for cursor, blink it every second (replace with " "), move cursor with arrow keys.

    Setting cursor to mouse position could be tricky, but still possible with SpriteFont as you can get the exact size of each character.

    Of course if you need text selection, copy-paste functions - this will require more effort.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 250 followers

Connect with dop2000

Trophy Case

  • 8-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x4
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies