okarowarrior's Recent Forum Activity

  • Hi! I want to make some preset modules for creating platforms for my platformer mixing the new Template feature and the Hierarchy one.

    Thing is, Tilemap doesn't support Hierarchy.

    Do you plan to support it in the future or there's a particular issue with it that isn't that clear?

    It would help performance (now I have to use a lot of sprites for each tile)

  • I've found this old post, but (though R0j0's capx is broken) what about a 4 player game? where I have MULTIPLE INSTANCES of the same object "player". How do I check for "distance(Player.x,Player.y,Player.x,Player.y), with each of them!?

    https://www.construct.net/en/forum/construct-2/how-do-i-18/setting-camera-two-objects-44264

  • I want to know how to get the location point between to objects so I can place a "camera" object between them, so I can place the camera in the center on the screen or between players (for an isometric game) with a transition.

    That's the only way I can imagine to achieve a smooth camera for what I've read.

  • If you will know how i did this mechanic.... i tried 7 options, including 3D with Q3D plugin, but then tried absolutely weird solution, create circles outside the screen, create and pin temp objects on it, and then rotating circle to the mouse and projecting temp objects coordinates to the parts of the puzzle. And it showed a great result \</p>

    Thinking out of the box!

  • Subscribe to Construct videos now

    Thought something was wrong with the video until i've read it was the soundtrack only. You should put some static pic on it!

    Good work

  • I've liked it a lot. Mostly because I was surprised that something like that can be done with COnstruct.

    Liked the idea and the execution.

    On a side note, there's a bug when you press "online save" at the beginning and then close the window prompt asking you to log in. After that, you can't press either local or online save and you have to refresh the browser.

  • What's the deal with the dropbox links? Seems like 6-8 years ago Dropbox was the way to go... Wonder why didnt just use Google drive. Free 15gbs instead of the plebian 1gb dropbox provides.

    Also, commenting this thread to follow. I'm interested too in the reupload.

  • Welp. Thanks. I was using a quite old version without knowing it and had to update to open your projects.

    dropbox.com/s/lbewjvv6rekd2na/IsometricForest.capx

    I see that in line 4 you avoid having to waste a variable for sorting the Z order of the family with that "For each" event. I've used the "Sort Z order" action that demands to input a variable to use for checking. Nice!

    But why have you added an extra condition-empty event in Line 3 with a "Wait 0 secs" command?

    Looks like a weird workaround for something. I must know.

    dropbox.com/s/6num28c6nf9qhfb/ZOrderBuilding.capx

    Haha. Yes. That's the way I did it. But now I know you can do it without adding a variable, i'll go with the first method.

    Thanks again for taking the time to reply. And I hope you'll be here the next time I'm stuck.

    Btw, you've probably noticed by now, but my English is rubbish at times. Sorry for that.

  • When you are picking by UIDs in sub-events, you need to add "For each Buildings" loop to the parent "is overlapping" event. Otherwise your code will only work for the first building/player instance.

    I have two very simple demos for z-sorting, check them out:

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

    https://www.dropbox.com/s/6num28c6nf9qhfb/ZOrderBuilding.capx?dl=0

    Thank you very much, Dop2000.... Can you believe that the same happened as the other day?: I figured out what you just said 20 mins before I got the email with your answer. Really funny.

    https://imgur.com/a/5cQemtA[/img]

    Again, that it's great because it tells me I'm on the right track.

    It's also funny that the tutorials about families that are around in the site are AWFUL. With no bad intention I can say 2/3 tutorials I've read were wrote by people that didn't actually fully understand their craft.

    I'll download and check your demos shortly to see if there's more I can improve.

    Now it's lunch time.

    Cheers

  • Hi again. I'm still working on my multiplayer prototype.

    I've encountered many times the problem of having to pick for a specific object inside a family, only to find Construct had chosen all the objects inside of it.

    I could managed to workaround many of these cases, but now I'm stuck trying to order the Z positions of the players vs the scenery.

    What I ended up coding works only when 1 of the players collide with the buildings of the scenery. But as soon other players collide other buildings, the Z order starts to get messed up. And that clearly shows I'm not actually telling construct which are the right objects to be picked up of both families.

    I've butchered the project only to have the bare minimum for you to help me evaluate the issue.

    The line 84 (with the marker) is where I set the Z of the objects.

    drive.google.com/file/d/1GyagGxVTqJ8dW5F5s6MIuPeVmxbJ1FUo/view?usp=sharing

  • First of all, remove rex's Container plugin from your project, and WebStorage too. These are very old, long deprecated plugins.

    The problem is not with the containers, but with wrong usage of "Else" in event 39. "Else" doesn't mean "all other instances". It means that if previous event didn't pick any instances, only then the "else" block will be triggered.

    You need to remove "Else" and change the event to this:

    Hitbox is NOT B -> Shield set invisible

    (add "Hitbox is B" and then invert it)

    Thanks. I've managed to fix it a while after posting this (it was delayed because it needed moderator's approval because of the link attached).

    Still, I'm glad there's people around that cares enough to download a capx amd give a reply this quick and useful. Thanks

  • Try Construct 3

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

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

    I'm in a trouble, here. I'm trying to make a prototype for an isometric 4+ player vs game. One of the mechanics is you can block incoming projectiles with a shield.

    The thing is, I tried a couple of methods and the one that sounds like it should suit it the most is using the container plugin so I can:

    1)Have just 1 object of the player's "hitboxs" (and multiple instances for each player)

    2)With the container, 1 "shield" object so I can link them to each Hitbox instance.

    This way I can really simplify the ammount of events for each player interaction and having centralized everything just with variables.

    It seems to work fine making each shield invisible/visible with each player's input, but the problem is that multiple inputs seem to interfere/bug the link between hitboxes and their correspondant shields:

    If more than one players shields, none of them can "stop" (the shield wont go invisible) until the last one releases its button.

    Capx

    https://drive.google.com/file/d/11YNYuNVw_va5j7Vk6wzMmj0WCVceX-dg/view?usp=sharing

okarowarrior's avatar

okarowarrior

Member since 16 Jan, 2017

Twitter
okarowarrior has 1 followers

Trophy Case

  • 7-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

10/44
How to earn trophies