Everade's Forum Posts

  • Yes round() can be used to round numbers up and down... But that's a problem if you're looking for "equal" random() chances. It won't give you the same results like floor() and ceil().

    I don't recommend using it in combination with random(), because the lowest and highest number have a 50% lower chance to be generated compared to all the others inbetween.

  • https://file.io/1GAweOvsidUZ

    I also made some correction to your random logic.

    Please note that for example random(0,10) will generate a random FLOAT number between 0 and 10.

    Which generates numbers such as 0, 1.12478, 4.25176, and additionaly, it can never be 10.

    To generate whole numbers like 1,2,3,4.... you need to use either floor() or ceil() to round to whole numbers.

    For example:

    ceil(random(5)) will generate either 1,2,3,4 or 5

    floor(random(5)) will generate either 0,1,2,3 or 4

    ceil(random(2,5)) will generate either 3,4 or 5

    floor(random(2,5)) will generate either 2,3 or 4

    Overall, your project is extremely inefficient and/or over-complicated.

    Most things you did could be done with much less events and objects.

    I suggest you look into: families, containers, functions, and use animation frames for different enemy types.

    Not for performance reasons, but for you to learn how to do things faster/easier. So you don't have to copy/paste your code for every new dot type.

    Differentiate looks with animation frames, and health or other logic with variables.

    Or use families.

    So instead of repeating click/death logic for each enemy type (in your case 3 times), it could be done by a single function. Within the function read the enemy animation frame and/or type variables to run different actions based on it.

  • DiMinuto

    I assume you're talking about a 2 player - online multiplayer scenario. Otherwise it might be difficult to hide cards from one-another when they look at the same screen.

    So for a multiplayer scenario, all you have to do is to differentiate betwen Host and Peer. This should be fairly easy to do and is covered in the official examples and tutorials.

    If Multiplayer-> is Host -> hide Peer cards.

    Else -> hide Host cards.

    Multiplayer Examples

    https://editor.construct.net/#open=multiplayer-pong

    https://editor.construct.net/#open=multiplayer-game

    https://editor.construct.net/#open=multiplayer-chat

    Multiplayer Tutorials

    https://www.construct.net/en/courses/online-multiplayer-construct-12

  • This well documented, advanced, isometric, real-time multiplayer template allows for absolute responsive controls. Creating identical gameplay experiences for every connected player.

    Made for co-op, and comes with nifty graphics, animations, sounds and more features. Coded from scratch for both C3 and C2! So you get the best from both worlds.

    No rubber-banding and no control delays for the controlled character.

    Full feature list and further details can be found in the Asset Store!

    Try it in the Arcade!

    Feel free to share your creations here. For support, refer to the asset store page.

    Changelog

    1.0.0.7 - 8 Jun, 2023 - Separated animation logic for host and peer, to keep peer animations responsive. Corrected some discrepancies between C2 and C3 templates. (regression V1.0.0.6)

    1.0.0.6 - 8 Jun, 2023 - Resolved a peer animation bug that occurred when playing with more than two players. Streamlined the animation code, eliminating the need for separate logic for host and peer.

    1.0.0.5 - 7 May, 2023 - Added a camera system, to smoothly follow the controlled character.

    1.0.0.4 - 27 Dec, 2022 - Replaced basic 8-direction movement with isometric movement logic. Added info for the new Construct3-r319 multiplayer data compression. Added review and support info.

    1.0.0.3 - 30 Jun, 2022 - Corrected some discrepancies between C2 and C3 templates.

    1.0.0.2 - 29 Jun, 2022 - Added Construct 2 Template, fully recoded from scratch. Several C3 template improvements.

    1.0.0.1 - 28 Jun, 2022 - Minor text correction on the asset layout.

    1.0.0.0 - 27 Jun, 2022 - Initial Release

    For up to patch notes, visit the template on the asset store and navigate to Releases.

  • Try Construct 3

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

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

    If you're experiencing sync issues while testing. (i assume you're testing locally) Then there's most likely an error in your setup. Make sure you didn't miss anything by looking at the multiple examples that are provided by Construct.

    If you setup a "sync object position", means that the Host will send the position data of said objects to all the peers. Means, if the objects never move Host side, then it will simply sync non-moving objects.

    To make them move, Peers must either send their movement inputs OR their positions to the Host. The host then either moves the objects OR updates their positions for himself. Then the host will sync these movements to everyone else.

    If you still encounter issues, and need help, please share your project file so we can take a look at it.

    Multiplayer Examples

    https://editor.construct.net/#open=multiplayer-pong

    https://editor.construct.net/#open=multiplayer-game

    https://editor.construct.net/#open=multiplayer-chat

    Multiplayer Tutorials

    https://www.construct.net/en/courses/online-multiplayer-construct-12

  • I guess it does not matter, because the ideas have not gained the traction needed, don't know if its due to the limited votes or because there are so many ideas to choose from that the votes are getting divided into them.

    Traction was never the problem. At the end of the day, Scirra works on what they want. They are a small team after all, and think as a business, not as game devs. Problems you may encounter everyday, is for them just a single good idea on a vote page with many good ideas.

    There are many flaws with Construct, some are bigger than others. Skymen made some interesting blog posts about some of the core issues we have. Including UI limitations overall, not just buttons.

    For now, they're busy with that weird construct animate prototype. Since it's basically Construct, i would expect animation related updates for the rest of the year.

  • You do not have permission to view this post

  • The idea is very important, but it might be more of feature request for better working of multiplayer games and not an idea that eases the development of a game.

    It would truly ease game development a hundred fold when using multiplayer. Because it's easier than coding your own Multiplayer Plugin from scratch, or recreating the sync function with the send message event as a less performant function. ;)

    Just like any other idea only helps for its own specific task.

    It was top 3 of the highest voted ideas in the archive, and for good reasons.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Many of them have been reported countless times.

    1. Can't navigate to any page number within the Tutorials section for languages other than "English". It will always forward you to the english section using the paginator. (Sets flang=X back to 0)
    2. The main sub-link filters in the tutorials section don't return any results if a language filter is set to something other than "0" english. Example: https://www.construct.net/en/tutorials/construct-3?flang=9
    3. The "Report this tutorial" link, displays the menu selector behind the Footer. So for short tutorial pages, it's not possible to submit a report. Example: https://www.construct.net/en/tutorials/parallaxeneffekt-with-ebenen-1565 Has also been reported here and here and here.
    4. Asset Store Bundle image previews are glitching out when hovering over them with your cursor. (Chrome) https://www.construct.net/en/game-assets/bundles
    5. "Label" on the suggestion platform can be used in the Text Editor, but they are not displayed when viewing the suggestion. I've reported it already to "Aha!", but it could possibly a custom branding from you guys?! Example in which i used the default grey "Label" multiple times: https://construct3-21h2.ideas.aha.io/ideas/C321H2-I-328
    6. Construct Addons page doesn't filter properly. If you remove "Show paid addons" no results will be shown. https://www.construct.net/en/make-games/addons?products=2&q=&cats=1%2C2%2C3%2C4&sp=0&sb=0&sd=0&sort=5&page=1
    7. "Undelete" a deleted post within the forums doesn't work.
    8. Changing an up/down-vote is inconsistent and doesn't work in all cases.
    9. Asset Store sale mails always contain a wrong x% off value. It never matches the actual sale price currently being offered.
    10. Addon Search function doesn't work properly. It is case sensitive, and somehow doesn't always return matches if the full word isn't written out. "normalmap" is a great example, there are 3 different C3 Normal Map addons available, but it's really hard to find all of them by using the search function.
  • I've created 4 ideas in total, and i'm already out of vote points for my own ideas. Unfortunately, i can't support any other ideas due to the lack of vote points. There are many great suggestions i would love to support.

    The 2 most important to me being:

    Multiplayer: Sync Interest Management

    construct3-21h2.ideas.aha.io/ideas/C321H2-I-328

    3D Camera Viewport

    construct3-21h2.ideas.aha.io/ideas/C321H2-I-366

  • You are not supposed to associate a weapon as a peer.

    Only use the Multiplayer->Associate on the object (character) the players are controlling.

    Also:

    "On Peer Connected" triggers only for players connecting, but never for the Host itself.

    Also "Pick a random Spawn1 instance" doesn't do you any favor either.

    I guess i don't have to teach you what random means.

    There are several other issues though.

    I highly recommend to read the official tutorials or look at the examples before you continue.

  • Construct 3 has built-in physics behavior that works well in a 2D environment.

    You could also code your own physics, but the available behavior should fit perfectly fine for what you're looking for.

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

    Simply add the behavior to the mineral sprite, then you'll get access to all the physics actions and events.