dop2000's Forum Posts

  • Objects are not rendered when off-screen. If they are not part of CPU-demanding events and don't have "heavy" behaviors (like Physics) enabled, then they should be using very little resources. You don't need to delete them.

    You can exclude off-screen objects from events using "Is on-screen" and "Is outside layout" conditions.

    • Post link icon

    mOOnpunk , Agree, lots of bugs.

    To add to your list:

    Tolerance slider of the Fill tool is useless (with some images). It changes from 0 to 500, however at 0 it fills nothing, and at 1 it fills almost everything.

    Animation speed can be set to negative values.

    Copying/pasting images with alpha doesn't work.

    Resizing with "Stretch" setting sometimes crops images.

  • That was just an example. It may not be a very good solution for a sword, but in many other cases when you need to pin one object at an offset to another one, this will work just fine.

    • Post link icon

    C3 has lots of new features like an improved image editor, array/dictionary editors etc, that make development process much easier.

    Unfortunately, there are almost nothing new added in events/actions/behaviors.

    Also, there are still quite a lot of bugs and unresolved issues.

    So if you already own C2, it's probably not worth switching to C3 right now.

    But if you don't have C2 license, getting C3 subscription seems like a better choice.

  • I don't know how to increase rep, it seems to be growing by itself

    You should move all actions like "Num1 set text" outside of the loop.

    Click event #1, press B, an empty sub-event will appear at the bottom. Move all those actions to it.

    Also, why are you using TextBox objects? Do you want to allow players to change these values? If not, you need to use Text objects, not TextBox.

  • Try Construct 3

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

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

    I would probably add "DEMO" watermark to some layouts (using Text object, not sprite).

    Send or upload an exported game.

    Don't send the project file until you get your payment.

  • bilgekaan

    I'm not cristianofromagio, but here is a fixed addon:

    https://www.dropbox.com/s/pcxtdivcysrg2 ... addon?dl=0

  • Try this:

    If you are dragging instance A and it overlaps instance B, event #3 will pick instance B. Event #4 will pick instance A.

  • The red X means that the event is inverted. Right-click -> Invert.

    In this case it means "if Array NOT contains value r"

    If you want to generate a new set of values when you click a button, I suggest you move this code to a function. And then call this function from "On start of layout" and from "On button clicked".

    https://www.scirra.com/manual/149/function

  • No, R is not an instance variable. It's a local variable (just select any event and press V to create it).

    Local variables are generally used to temporary store some values while the event is executed.

  • Say, you want to pin a sword to character's hand.

    Create an image point on the hand, name it "SwordPoint".

    To pin the sword, first position the sword to "SwordPoint" (using "Set position to another object" action), then pin.

    When you mirror the character, unpin the sword, mirror the sword, set its position to "SwordPoint", then pin again.

    Another way to do this is to move the origin image point on the sword in such way that when you position it to character's origin image point, it appears in its hand. Then you'll be able to simply mirror both the character and the sword.

    See this picture:

    red dot is the character's Origin image point.

    red arrow shows the sword's Origin image point.

  • I tried Bullet and Physics, Physics looks much better. See this demo (there are two layouts, check both):

    https://www.dropbox.com/s/02a1f7dhyekln ... .capx?dl=0

  • I suggest using the array instead of global variables.

    Here is how you populate it with unique random numbers:

    (clickable)

  • Here you go:

    https://www.dropbox.com/s/arks1fjcc1mu5 ... .capx?dl=0

    The code is not optimized, but it works.

  • rafaelsorgato

    Maybe use "For each antenna" loop?