MultipleChoice's Forum Posts

  • No man its fine <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink"> just ask...

    Just exchange it with 8-direction behavior. Add that first, then just basically copy the movement commands, the way the car-behavior is set. Just instead of forward/breaking/steeringLR you going to have up/down/left/right. Then delete the car-behavior.

    You should manage this, otherwise you gonna need someone for everything.

    You should read this stuff:

    https://www.scirra.com/manual/86/behavior-reference

    https://www.scirra.com/manual/87/8-direction

    https://www.scirra.com/manual/57/object-behaviors

    https://www.scirra.com/manual/49/add-behavior

  • Your multiplayer isnt really mutliplayer ... well, it is .. but its multiplayer in 1 screen ... not Everade's intention I believe.

    Here is a tip: Preview your multiplayer game in chrome, and press CTRL + Shift + N

    A new Incognito chrome pops up, enter the same adres ie localhost:50000 and voila, 2 screens showing your game as a multiplayer game.

    When you navigate the host or peer in one screen, it should also do that in the other screen.

    lennaert: You are right, it is not a true multiplayer, but it shows you the solution for walking through objects being one floor above, while the upper player is colliding. I am quite sure, that easily can be implemented in a split-screen or online or whatever multiplayer-kind.

    Thank you for the indeed very useful tip! Never did any real multiplayer before, I'm going to check it out.

  • This already puts the arrow always halfway between the player and it's target, rotating towards it.

    Its not complicated math, just a bit of XY-Coordinates adding subtracting... easy, but as you can see, very effective. And saves you a lot of performance

  • SecondDimension ,

    This is a simple way to do it.

    DON'T rotate the layer, on which the player or Arrow or whatever is this way, since the rotation is not centered. It confuses the coordinates.

    Rather rotate everything around the player in the center of the map.

    You can also let the arrow easily disappear, if target "is on-screen", or when the distance (rather of the XY coordinates, as done in the file, not the function dist(), as this would detect a circle, but you have a square Screen) of the halfway point being smaller than your View-Port-edges.

    Hope it helps...

  • https://www.scirra.com/tutorials/556/un ... o-families

    https://www.scirra.com/manual/75/how-events-work

    well, not very helpful, but same problem here:

    collision-detection-for-instances-of-same-object_t77217

    all you have to do is to pick specific objects or ranges of objects within the family, to restrict, what happens to which. Otherwise it will happen to all objects of the same family. But that is the power of it (besides a better expandability).

    Its a bit confusing at the beginning, but you have to take a look, which of the events actually pick objects, which don't, and so on...

    Then you have to find your conditions, to get to the desired one. But you will find your way. Also great to google or search here. Its a complex theme... and is all written already loads of times.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There are some difficulties I also experienced - when played online, no problems on any system, as well as on androids. Also as node-kit-app it runs just fine on windows (unfortunately did not test Linux yet). It did run on Os X, but people tried it a lot of times to start, until it came out, it is loading awfully long, showing no percentages at all. Like 10 minutes (Also after being cached ). Also, there are some issues, nowhere else occur, but it is not easy to find the cause, since it seems all right. There could be some special issue.

  • Sent a Mail, lets talk soon.. I need to sleep now :/

  • : do you have any games out there? to see something done? I'm sure it must be quite good...

  • Facet nice dude, keep me up to date how all this works out, I would love to test it

    Okay, then collisions might not be the issue that much, I have like 900 up to 1500 objects how does that run on your system? If that runs smooth or okay, then that is not your issue.

    Also try another browser, and also uploading your game, don't run locally. Or try Web-Nod, also faster. In general seems chrome to be the smoothest way to play.

    But hen most likely it is rather the redrawing end effects slowing it down a lot. Try not to use any fx... they are also fps hungry -- I know, they are tempting, but don't work on all browsers anyhow... (at least some look pretty ugly in some browsers)

    Are you scrolling your map all the time? Maybe you can do map-areas, only scrolling, when you reach the edge of the screen. Since scrolling means all objects have to be positioned and redrawn.

  • Glad!

  • Great example, !

  • yeah, it never reaches the point, like the turtle and Achilles...

    nXFiles :

    you need a destination point, which must not be constantly relative to your Sprite.X.

    Since lerp sets SpriteX every time adds (StartX-TargetX+50*0.1) to your Sprite's position. Always the same amount, constantly, whoosh

    Think of a dog, with a stick attached to the back, having a sausage hanging down in front of the nose.. or just the tail catching dog.. moving infinitely toward it, but never getting grab of it.

    Try cosp by the way, eases in and out, works same way: cosp(Sprite.X, TargetX, 0.1)

    Target can be mouse-pointer X, or screen corner, or whatever...

  • @skyhunter93 , PaulGhs , Wertle

    The possibly simplest way to achieve this:

  • branolia You need to decide, which look you want to have. 1st person-3d is not an option in c2 (no 3d engine), platformer is not really best for this genre, so you end up with top down or Isometric view (like diablo, ultima, starcraft, wow,....) is possible even multiplayer.

    Take a look, this might be an option for you:

    I just this this for another Post here:

    Not finished yet, so check back there from time to time, to see improvement, if you like.

    (You can use it to start with as you please.)

  • If you run your preview as "Debug layout" , you can see the collisions there. also polygon-checks. very useful for your task, keep an eye on that!

    So what do you have there? Like a rough number? maybe a screenshot is easyest, of that part of the screen is enough