KZR's Forum Posts

  • I mean, simply, select an object, click on the layout, BAM! it is there.

    click again on the layout and you place another one. no dragging, no duplicating, no copy-paste. just clicks.

  • The concept behind this idea is very simple. Instead of dragging objects from the toolbar, or ctrl+drag to duplicate, this tool allows pasting multiple instances of the selected object with a single click for each instance, much similar to stamping a paper multiple times.

    Why? It is much faster that any of the current methods. It also allows what I call "brush based level building", which is a thing I really liked in an engine I worked with in the past. Instead of a tile-based approach, where everything MUST conform to the grid, and tiles can not be overlapped, this allows for more organic level building. Below is an example of what this method achieves. The screenshot is taken directly from a game running on that engine.

    The grass part is made of multiple overlapped brushes, one for each tone. This made the terrain look very natural, and not so blocky like a tile-based approach. Putting this scene together took considerably much less time as any of my attempts to replicate the method in C2.

    The last object to be placed has a greater Z index than the first, meaning Z is ordered from foreground to background.

  • Just in case it may help you, I used to work with this engine, which is open source and recreates Sonic physics pretty well. If you can read C code, it might be of help. The code you're looking for is mostly in physics_actor.c.

    http://sourceforge.net/p/opensnc/code/H ... rge/trunk/

  • It works better now, thanks

    I'll keep you posted on any other stuff I may find

  • I'm either doing something wrong or reaching a point where I want the behavior to do more than it can. Either way, if I stop on a slope, regardless of angle, with slope up/downhill threshold activated, and even with high acceleration, I can't move. I updated the behavior to the latest version and left the minimum angles at 0.

    I think I'm not getting the right relation between friction, acceleration and slope factor. If it's not that, HELP!

    See for yourself in the CAPX:

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

  • PixelMonkey

    Thanks, I'm eagerly waiting. I'm working on art assets in the meantime, so it's not like my life depends on it The behavior is very useful though, and a very solid cornerstone of my game's mechanics. Without it I'd still be breaking my head open trying to figure out everything through events (which I actually did but does not work even half as good and painless).

  • is the jump thing fixed already?

  • PixelMonkey

    Load the example capx, disable default controls, create an event "on key down/ on key pressed" and assign to it the action "simulate control: jump"

    It won't jump.

    As for getting stuck on slopes, I figure it has to do with the fact that i configured the parameters in such a way that the player will not slide off slopes when it stops.

  • Try and stop on a slope. I also noticed that when switching between solids, sometimes the player object gets stuck in a strange angle if the contact surface is too thin. As if the object picks the poly line further away rather than the nearest one. I'd say It's best to keep a margin of 16 to 32 pixels on every solid to avoid this strange side picking.

    EDIT:

    Also, simulating "jump" with default controls off does not work, object is also not rotating at 90 degree intervals like i selected in the properties.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Still no idea why sometimes the player object gets stuck on slopes. And I mean really stuck, only movement that works is jumping. then is back to normal after i land.

  • blackant I had the same problem. renaming the file to .zip and extracting manually solves it. but PixelMonkey might wanna look into it.

  • Do you have the example's capx ? I'm trying this on a new project, but sometimes the player rectangle gets stuck on slopes, no idea why...

  • that's pretty much it.

    For example, I have one character, with animations separated in folders for better reference. each folder is a different weapon. When I want to add a new one, I have to duplicate the animations one by one, or recreate them, also one by one. Very time consuming, when I could only duplicate all in one folder, and paste over the parts of the image that change.

    and search in project is as simple as it sounds. Even if all objects are organized in folders and families, finding *that* specific one sometimes is a chore.

  • Download link?

  • I've searched the Internet from the inside out already, and still haven't found an answer. No, putting DirectX dlls in NW's folder won't work. No I won't upgrade the OS unless it is to install Linux

    WebGL works on browsers, but not on Node-Webkit. What is wrong here?