kidswithcrowns's Recent Forum Activity

  • UPDATE!

    After unchecking the "minify script" option during export it worked!

    The game now functions exactly as it did during preview!!

  • I deleted all the logic in the game layout to see if the problem was there. Nothing changed, the game layout is still never loaded, so it seems the game is really never even opening the Game Layout

  • Hi,

    My multiplayer game works fine in preview, but when I export it to NW.js or HTML5, it freezes after the login loadout and never makes it to the game loadout

    Any ideas why this is happening?

  • Thank you for your message.

    But i try my best to follow your steps...but it stills not working...god bless me

    i attached the corresponding pic after i did something with the lines .. may be there are errors that i cannot figure out.

    Thank You

    HASHIM HARUN

    The Peer is still not sending the variable information for TX and TY to the host

    In your "On start of layout" add:

    Sync PeerSprite variable TX

    Sync PeerSprite variable TY

  • HASHIM HARUN

    It looks like the peer isn't sending the X and Y global variable to the Host, so the Host doesn't know what you mean when you say "Set Peersprite Position to X, Y"

    One option is to store the X and Y as two variables in the Peersprite and sync those

    For example:

    Peersprite.touchX

    Peersprite.touchY

    Hope this helps :)

  • Also when my character fights monsters, I want them to be able to attack and also get hurt (resulting in lower health), however when they use potions, I want their health to go up but not go beyond their max health (which is different in different levels).

    Make an instance variable for your character called Health and one called MaxHealth

    Then, when they use a potion, there's a nifty thing you can use called clamp. It makes sure a number doesn't go lower or higher than a certain lower and upper bound you set.

    So when your character uses a potion, do something like

    set character.health to clamp(character.health + potion.healamount, 0, character.MaxHealth)

    The 1st number is the number you want to clamp. So it's the character's health plus the potion's health-restoring-amount. The second number is the lower bound. This is so that your character will never have below 0 health from taking a potion. The third number is the upper bound. This is your character's MaxHealth variable. The character's health + potion restoring amount will be capped off at whatever number is stored in character.MaxHealth So even if the MaxHealth changes in different levels, it will always be accounted for

    Hope this helps :)

  • I was wondering what everyone's thoughts on Construct 3 are. I know it is a drag and drop type system.

    I have zero programming experience and I am looking into learning to make games. Mainly focusing on 2d games and my PC can't run Unity all that well. I have toyed around with construct 3 but I am terrified of wasting my time on an engine that seems so sketchy in terms of performance and publishing.

    I would stay away from the C3 runtime for now. It's still in development and has given me many problems when I tried to switch my multiplayer game from C2 to C3. C2 runtime, however, is solid. I think almost any 2D game you want to make can be made in C2. Something like Inside would probably be impossible, but I think if you're a beginner, it will be a long time before your skill level exceeds the capacity of Construct

  • How about the efficiency ?

    Which one better :

    1. 1 Sprite size 32x32 NO animation (speed set to 0), duplicated to 7 item with different UID

    2. 1 Tiledbackground with original image size 32x32, resize the width to 224 in layout to form 7x32

    3. 1 Tilemap with original image size 32x32, tiled 7 times

    Let say.. 3 of them in 3 separate different project.

    Of course cannot feel the different because only that item in the project.

    But imagine 1000 item not just 7, which one is the best choice in this case ?

    For repeating tiles, always use Tiled Background or Tilemap instead of Sprite. Tiled Background is vastly more efficient than sprites for repeating images

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm having similar issues with Multiplayer in C3. It runs horrendously

  • Let's say when a player presses A they start a timer with the tag of whatever time it is. So at 3:11 PM they press A and now a timer is running called "3:11 PM"

    How do I make an event that triggers on ANY tag with a time in it?

    So 1 event that triggers for "3:11 PM" or "12:02 AM" or "6:33 AM"

  • Hello,

    I've noticed that since switching my multiplayer game from Construct 2 runtime to Construct 3 runtime, there are some changes in the way my game works.

    For example:

    When a synced object is destroyed by the host, the peers now take several seconds to destroy that object, whereas before it was nearly instantaneous. There is no change in lag or connection strength to explain this

    Is anyone else experiencing this?

  • Hey! If you'd rather not set one up yourself you'll likely need to rent a VPS from a service provider. I use OVH.com - but there are several. Try googling "VPS".

    It should cost around $10 a month to start - at this price the VPS won't be able to handle much, just make sure the browser tab is minimized after the game's running and you'll be able to do your testing. I wouldn't recommend upgrading the VPS until you need to.

    You're free to configure the VPS with an OS of your choice. Mine is using a variation of Linux, and I have remote desktop + chrome installed on it which allows me to go in and navigate to the site. Most service providers support teams will help you get this setup if you're having trouble.

    Hey! Thanks for your help!

    I just want to make sure I'm taking the right steps. I'm looking at OVH and I see the VPS Cloud and VPS Cloud RAM. I'm assuming the RAM version is upgraded performance and I should stick with the basic for now?

    Also, can you tell me if I would be able to go with the Linux option and set it up quickly having zero experience with Linux? Or should I just stick to Windows?

kidswithcrowns's avatar

kidswithcrowns

Member since 7 Sep, 2018

Twitter
kidswithcrowns has 1 followers

Trophy Case

  • 6-Year Club
  • Email Verified

Progress

7/44
How to earn trophies