SinaDehghani's Forum Posts

  • construct.net/en/make-games/manuals/construct-3/behavior-reference/solid

    > Tags

    > An optional list of tags to apply to the Solid, separated by spaces. This is referenced by the Set solid collision filter action, allowing collisions to be enabled and disabled with different sets of solids.

    > Set solid collision filter

    > Enable or disable collisions with the Solid behavior according to tags. Specify tags using a string of space-separated tag names. In Inclusive mode, collisions are only enabled with solids that match any of the given tags; if no tags are specified, collisions are disabled with all solids. In Exclusive mode, collisions are disabled with solids that match any of the given tags; if no tags are specified, collisions are enabled for all solids (the default).

    But about physics?!

    For each objext on layer a, set solid tags to "a", ect.

  • Rojo3d

    A 3D engine for Construct 2.

    Download:

    https://www.dropbox.com/s/xar8r765zh8t5uf/rojo3d%20v0.96.zip?dl=1

    To install extract to this folder on your pc.

    <install path>\exporters\html5\plugins

    Examples:

    https://www.dropbox.com/s/kava3i096pf12b0/rojo3d_examples.zip?dl=1

    https://www.dropbox.com/s/ya9hrc78tjkfpjq/rojo3d_05_bilboard_test.capx?dl=1

    Main Features:

    * obj file loader.

    * load textures from files or sprites.

    * directional light with shading and shadows.

    * fog

    * zbuffer, and it is drawn within c2’s renderer, so you can put stuff in front and behind it on the layout.

    * ability to let you build meshes with events.

    Usage:

    The plugin has its own method of keeping track of objects, meshes and textures via text tags. So you can load any number of textures and meshes, and also have objects share them.

    There are three object tags available by default: “”, “camera” and “light”. Those are the world space, the camera and the directional light. “” can’t be changed, and light ignores position but otherwise they are complete objects. You can also create new objects via an action.

    Each object has position, scale, orientation, mesh, texture, texture rectangle, color, and some settings to tell if it’s affected by fog, shadows, shading or if it’s transparent or a billboard sprite.

    When creating an object you can have it copy another and just modify what you want instead of starting from scratch.

    You can set the position, orientation, and scale. You can also modify those things too.

    When you do the transformations it lets you do stuff relative to other objects with the “relto” parameters.

    Some examples:

    Rojo3d: move “camera” by (0,0,100) relto:””

    Would move the camera’s z by 100 in its world position. But if you wanted more of a move at angle feature you’d do:

    Rojo3d: move “camera” by (0,0,100) relto:”camera”

    Would move the camera forward relative to its own orientation.

    You can also utilize the relto feature to have one object copy the orientation of another:

    Rojo3d: set Euler orientation of “obj1” to (0,0,0) relto: “obj2”

    The idea is you can mostly get the transformation you want without touching trig or complex math.

    Be sure to look at the examples, and check out the actions and expressions. I didn’t cover everything here.

    Thanks for you don't forget c2 , and your amazing plugin!

    I have some Question about it!

    Whats deffrence between your plugin and outher plugin created before?!

    (and if you can update canvas plugin , thank you! (for example add polygon or some))

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thats so cool!

    Whats diffrent between qarp and lerp?!

  • Hi!

    How can you have your own collision for each layer ?!

    For example, a physical object in layer a cannot collide with a physical object in layer b ?!

    Thanks for any ideas! (c2 / c3)

    Tagged:

  • Sure!

    I choose Construct 3 because:

    The event sheet editor

    Lol there's other reasons too but it could be argued that Gdevelop have similar aspects.

    I like how close Scirra interacts with the community and I do think they are very passionate and knowledgeable.

    I like the multiplayer plugin, which for some reason gets a lot of hate, but it works extremely well and easy to use.

    I like the way construct 3 feels UI-wise and the structure.

    Performance comparisons would be interesting, but I wouldn't have expected too much difference between construct 3 and gdevelop, maybe in certain areas but there'd be a more dramatic different when comparing one of these engines to something else. Scirra have had an opportunity to reinvent their runtime engine after making construct 2, so I assume they have designed construct 3 with performance and efficiency as top priority.

    Thanks again!

  • Thanks for your answers!

    If possible, write the message with this template:

    I choose ... because:

    ....

    And thank you, if anyone knows about performance, tell me!

  • Hi guys!

    I know there have been threads on this before but they were old and Game Develop has grown since then, I know Construct is the best option for me (UI/UX, plugins, Forum, etc.) but I want to make sure!

    Why Game Develop is not better than Construct ?!

    Because:

    ...

    I want anyone with an opinion to participate in the discussion without prejudice

    Thank you all!

  • You do not have permission to view this post

  • What is displayed in the video is exactly what you described in 1. They're called metaballs if you want to search and learn more about them. You'll just need to experiment with the parameters until you get the effect you are aiming for.

    To combine different colors, simply use different colors for the base circle object.

    Alternatively you can use liquidfunjs, but you'll probably run into the same issues if you don't learn how it works. Basically, you should be able to do what is shown in the video with the built-in physics as well. colludium.itch.io/liquidfun-for-construct-3

    Thank's a lot, Sir for your answer!

    I read this guideline and do it!

    This is good but doesn't all! (I try if it can be better):

    https://www.construct.net/en/tutorials/fluids-523

    But The main problem, for now, is Combine color!

    How can I do this ?! (With effects or any other method except Liquidfun.js, I don't think I want to add liquidfun.js because it is very expensive add-on...)

  • Hi Friends!

    How are you Today?!

    In fact, I know I can use small physical circles for water and give it surface tension using the AlphaThreshold effect, but still it is very different from real water, one can find the closest fluid physics to water in c2/3 (without mesh distort) ?!

    2. The next important question is how to combine colors ?! For example, how to combine magma with water, or acid, how can they be combined ?!

    Something like this video in Game Maker Engine:

    youtu.be/YF_gaohyMW0

    Thanks for any suggestions

    Tagged:

  • I remember before, for permissions, you could drag the file into a browser (chrome) and then release it to be downloaded by the browser, and after that, open the file, this way the permissions problem would be solved ...

    Of course, I tried this solution years ago

  • Hello!

    You can use this third-party plugin for this work:

    construct.net/en/make-games/addons/166/inject-css

    Good Luck!

  • So c3 has a feature that can let you distort sprites with a a grid mesh. The cool thing about it is it not only visually distorts the sprites but it affects their collision shapes too, which in turn is transferred to the physics behavior.

    Anyways, I finally got a chance to test it and confirm it lets you do that. Next I was able to use that as a tool to slice up physics object. The basic idea is each sprite is paired with an array making up the points of the polygon. From that with some math I was able to divide two polygons into two utilizing a line. The final step was to take that array of polygon points and setup the distort.

    Here's the example of it working. drag a line to cut the sprite.

    https://www.dropbox.com/s/r8lhe8sha0wa33m/poly_split.c3p?dl=1

    One quirk with the physics behavior that I had to work around was when creating objects you need to disable them for a frame before enabling them again or they will jump. It's been there for ages.

    This only scratches the surface, and was mainly just to show how to slice objects up. I could be adapted to do dynamic breaking by running it in a loop where you'd set the line to be random angles from the collision point.

    Thank you Sir

    Thats great but It has a bug!

    For example, when we cut the shapes into numbers, the pieces of the bond remain suspended in the air!

    an Image:

    Is this problem solvable ?!

  • Thank's for answer this questions!

    dop2000

    I think to joint in physics behavier, but The problem is that for any force in any direction, it must be anticipated, which is a very tedious task...

    R0J0hound

    Thank You Mr

    You always offer interesting solutions!

    I mean dynamically break...

    how do I use mesh distort for this way?! And can you explain more about it?!

    Thank's a lot :)

  • Up! :)