dop2000's Forum Posts

  • Great demo, thanks! I'm always using this one:

    easings.net/en

  • That dialog is missing "Cancel", "Back" and "Done" buttons for some reason.. Try resizing it, or pressing Tab key. If nothing helps, try re-installing Construct.

  • DrawingCanvas was an awesome addition to C3, but there are too many limitations and things that can be improved. Here is the copy of this post on the feature suggestions website, please vote and comment if you agree:

    construct3.ideas.aha.io/ideas/C3-I-1155

    .

    Some of these ideas have already been suggested, but they received no status updates or replies from Scirra. So I decided to combine them all here in one post.

    1. Allow rotation. Not being able to rotate DrawingCanvas significantly limits its usefulness.

    Imagine you are making a top-down view game and want to leave scratches and splashes of paint on moving enemies. It's easy to do in C2 with Paster, not possible in C3 with DrawingCanvas.

    Yes, you can save the canvas image and then load it into another sprite, both these actions are slow and can't be used on every tick. Also, with many enemies you will need many empty animation frames in the sprite, and a complex system to manage them.

    construct3.ideas.aha.io/ideas/C3-I-1050

    2. Add arcs and Bezier curves.

    construct3.ideas.aha.io/ideas/C3-I-766

    3. Paste layer, Paste everything.

    If you need to make a snapshot of a small area (for example when making a split-screen game), pasting individual objects onto the canvas may be a difficult and tedious task, especially when objects are overlapping each other, have different blend modes etc.

    construct3.ideas.aha.io/ideas/C3-I-921

    4. Allow resizing canvas with stretching the image, or add actions for resizing the image inside the canvas.

    For example, Paster addon in C2 can be used to make deformation effects (like adding perspective) to images, this is not possible with DrawingCanvas.

    5. It's impossible to draw with transparent color, for example when you want to erase a part of the existing image, or cut a "hole" in drawing canvas. Actions like "Fill rectangle" with color rgba(0, 0, 0, 0) have no effect. Maybe there needs to be an option "Replace pixels=Yes/No".

    6. Flood fill, or bucket fill, similar to the one in Animation editor.

    7. Load image from URL. As I understand, currently the only option is to load it into a sprite, then paste onto the canvas.

    Ashley, Nepeo, could you please comment, are any of these changes possible?

  • Eren, I know you are an export in porting plugins to C3. Do you think it's possible to port Paster?

    Yes, C3 has DrawingCanvas, but there are too many problems with it - it's slow, it doesn't support rotation, it can't paste layers etc.

  • You can try reading pixel data with DrawingCanvas. Put a small DrawingCanvas object under the mouse cursor, paste your sprites onto it starting from the top (on z-axis), save snapshot, read the pixel. Repeat for all overlapping sprites, until the pixel has some color information. Not sure if you can process multiple sprites like this in one tick though.

  • So you are using C2, not C3? :)

    If you need Platform behavior, there is no easy way to do this in C2. You can probably try the same trick as in this split screen tutorial - keep the second layer off-screen and paste it on the Paster object.

  • droptank21 If you are using Rex's Firebase plugins, he has plenty of examples on his website:

    c2rexplugins.weebly.com/map.html

  • You can use "Save the current state" and "Load the previously saved state" buttons. I believe this works the same way as Continuous Preview.

  • Yes, there is a feature in C3 called solid filtering. You can assign different tags to solid objects, and include/exclude solids with a certain tag for each object (player, enemies, NPCs etc.)

  • Yeah, I'll need to test on mobile, as I have quite a lot of Physics objects. Will probably have to increase iterations temporarily, when there is a possibility of joints breaking.

    What's odd is that changing iterations from 8/3 to 16/6 makes joints even weaker in that demo. Only much higher values work.

  • Thanks! I tried doubling the numbers in "Set stepping iterations", but I didn't set them that high. 60 seems extreme, given that the default is 8 and 3... I'm worried that the game will be slow on mobile.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You mean you need to play on every 18th frame? You can compare (sprite.AnimationFrame%18=0) then.

    It will be true on frames 0, 18, 36 etc.

    Another simple method is to put the list of all frames into a string:

    find(";1;18;35;99;205;991;", ";"&sprite.AnimationFrame&";")>=0

  • Sprite on animation frame change
    	Sprite | Animation Frame = 1
    	OR Sprite | Animation Frame = 18
    	OR Sprite | Animation Frame = 35
    		audio play ....
    

    Another way:

    Sprite on animation frame change
    System compare two values (Sprite.AnimationFrame=1 | Sprite.AnimationFrame=18 | Sprite.AnimationFrame=35) EQUALS 1
    	audio play ....
    
  • When several physics objects are connected together with joints, it's easy to break them if you apply too much force. Demo:

    dropbox.com/s/ay68csu3sgjqki7/rotation_test.c3p

    Is it possible to make joints stronger? I don't want them to be indestructible, about 2-3 times stronger will be enough for my needs.

    Tagged:

  • Try opening this link via any proxy service, for example:

    hide.me/en/proxy

    proxysite.com

    kproxy.com

    Here is Rex's github, you can download plugins there:

    github.com/rexrainbow/C2Plugins