oosyrag's Forum Posts

  • In settings, you can turn on notifications for betas.

    You can also launch the beta directly here by clicking the link for the latest beta: construct.net/en/make-games/releases

  • Do you have an example of what you want it to look like? There are many ways to create a "bursting" type visual effect.

  • Try using the timer behavior.

    Add a condition to check if the timer is running and add an action to start the timer for .4 seconds in the shooting event.

  • Check out the latest beta, this has been fixed!

  • Leave room is a signaling action, which will leave the signaling room. This does NOT disconnect the peer from the host in the current connected session.

    Use the disconnect action instead, which will disconnect from the current session, AND leave the signaling room.

  • Hi, i tried to adapt the multiplayer demo for my game.

    Essentialy is a turn based game like Monopoly, the main issue is that the host see all others players moves, but the peers see no other peers.

    I attach the c3p file.

    Can you help me?

    Thanks in advance

    Your peer objects are likely not synced properly.

  • Generally speaking you can use the lerp, qarp, or cubic expressions (or some combination) with your ease formula to get the value at any point within an ease. Easing formulas can be found online easings.net

    Note that you'll want one for each the x and y axes.

    For example, for a quadratic ease in/out

    lerp(startpositiony,endpositiony,x<0.5?2*x^2:1-((-2*x+2)^2/2))

    Would give you the y value between start and end positions when inputting an x value between 0-1.

  • Just create a static variable and copy it over.

  • Use an array to store sets of coordinates, which you can modify as you want.

    The built in behavior will not be able to do what you are describing.

  • There are multiple examples and demos included with Construct 3. Search "Space" on the start page, as well as the "Glokar" game demo.

  • Array for each x/y

    Array.at(currentx,currenty)/=0

    Increment count variable by one.

  • Zango's Shark Adventure Out now on Android! Download for free!

    Subscribe to Construct videos now

    Link: https://play.google.com/store/apps/details?id=com.reflectivebyte.zangothegame

    Looks fantastic! Congrats on publishing!

  • What universe did you get the idea that that would work from?

    Edit: In the event that you're serious, just a tip - make a copy of a file before you fiddle with the bits. I'm amazed you know how to use a hex editor and not make backups.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • PeerID is available as an expression in certain triggered multiplayer conditions like on peer connected and on message received. When used in those triggered events, it will give you the ID of the relevant peer.

    Normally you would store this in an instance variable in an object associated to that peer upon them connecting, but you can use any data structure you want, like a dictionary (key:value=name:PeerID) or an array.

    In the case of a chatroom, the simplest way would use a text object with an instance variable. Upon joining, set the text object to display the name of the user, and save the PeerID to an instance variable in that text object. Then for example if you clicked that name, it would be easy to get the associated PeerID.

    I would probably use a dictionary myself for flexibility, but that is a slight bit more complicated.

    Edit: You'll learn how to get and use PeerID better in the fourth multiplayer tutorial. That's why I'd recommended following and understanding all the multiplayer tutorials before using the multiplayer plugin, even if your end goal is just a chat room. The multiplayer plugin and multiplayer concepts are very complicated, so cutting corners will often lead to frustration in the future. The tutorials seem long, but they're actually quite concise and thorough.

  • You can do this with a tiled background and a blending mode "mask".