Everade's Recent Forum Activity

  • Don't be sorry, we're all just trying to help here. ;)

  • brainwavecreations

    You're still overcomplicating the blood splatters. And it doesn't seem like you tested yours.

    • My example uses 1 event, 1 actions. And fixed the random issue.
    • Yours uses 8 events and 29 actions. Random issue still persists.

    While your animation frames are not generated properly due to floating numbers... mine gives you the wanted results. What i just explained about how to use random in conjunction with whole numbers is not applied.

    I highly recommend using my example. I haven't changed the main functionalities, i just fixed it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can forward the Sprite object's UID as a function parameter.

    Or forward multiple UID's, or variables which help you define specific objects.

    This works as follows:

    1. Right-Click the function, and select + Add parameter.
    2. Then when calling the parameter, you can forward the UID to the function.
    3. And within the function, you can then use the parameter "which works like a local variable" to pick the object you forwarded.

    For example:

  • 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.

  • 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

Everade's avatar

Everade

Member since 24 Jun, 2014

Twitter
Everade has 11 followers

Connect with Everade

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • x4
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • RTFM Read the fabulous manual
  • x59
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x143
    Lightning Draw First person to up-vote a new Construct 3 release
  • x4
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Magnificent Comment One of your comments gets 25 upvotes
  • Email Verified

Progress

24/44
How to earn trophies