DBurca's Forum Posts

  • I'm making a platformer game, and whenever the player touches a coin, the coin is supposed to destroy, the player receives a point, and a sound plays. The only problem I have is that the sound plays with a barely noticeable delay. I'm not sure if it is construct itself or me. I have tried:

    • Preloading the sound at the start of the layout
    • Skipping 0.1 seconds ahead in case the sound has a delay
    • Looking at the Audio object settings

    Here is my code:

    I'm not sure what the problem is. Any help would be appreciated.

    Tagged:

  • I might be able to help. Does your friend have an account also? If so, you can download your project as a project folder, and upload it to an amazing app called GitHub (You need to make an account). I think Ashley posted about GitHub also. But if you upload to GitHub, your friend can then "clone" (or download) the folder, work on it, then push it back to GitHub. Afterwards, you can clone the folder that your friend worked on and open your project folder in Construct. I'm not very good at GitHub myself, but I suggest you look into it.

  • So I'm making a multiplayer game similar to https://www.diep.io. I started off with the "Multiplayer game example". I'm making a bigger map, and I have the ScrollTo behavior on the player. If just one player is in the game, then everything seems to be working normally. However, when a peer joins , the ScrollTo centers the viewport in the midpoint between all the other objects (I am using one object for all players). Is there any way that I can center the viewport on an instance of an object dictated by its instance variable? If necessary, I will make a different object for other players, but I would like to avoid that at all costs, considering the problems it will bring up concerning the Multiplayer object.

    (Project link has been taken down)

    Thanks in advance

    EDIT: Apparently, in "System" you have the option of scrolling to a position on the map, without having to attach a behavior to any object. If I can make the scrolling smoother (I have it every tick) that would be awesome, but I can officially mark this case as solved.

  • You do not have permission to view this post

  • Thanks! I completely forgot that I put the sprites over a solid. I needed the GameBackground for the border, So I just made 4 instances of it and put it around the border. I didn't even need to enable default controls. Everything works fine now.

  • https://drive.google.com/file/d/1Zb9FTGYpfHNvORuPY6zoAgZB3w9x9-St/view?usp=sharing

    I really don't know if I'm doing something wrong, but I can't move my sprite with any behavior. What I'm trying to do is make a multiplayer tag game, so I copied the tutorial with the multiplayer shooter game. Once the players are connected, they are supposed to be able to move.

    I've done some debugging, and the players are sending the bits over the network, but they aren't moving themselves (Maybe platform behavior is not working?). The host has the same issue. Another thing to note is that sometimes when players spawn mid-air, they don't fall like they are supposed to. I've checked, and platform is enabled.

    I probably just missed a step (note I haven't added lag compensation yet, but that doesn't really have anything to do with the movement) but if you can help me out it would be much appreciated. Thanks!

    Tagged:

  • I didn't see that, thanks!

  • Project: drive.google.com/open

    Website: dburca-chat.netlify.com

    This project is much like the chat room in the Construct examples. I added quite a few things to it, but the one that is giving me problems is the notifications.

    Whenever another person sends a message, you would hear a "bleep". Unfortunately, this will not work if I don't have it in view in the browser, or if it is minimized. However, whenever I switch back to tab, I would get hit with a wall of notifications.

    here is a screenshot of this particular code:

    On a side note, I tried exporting this as NW.js and sound didn't play at all, even in focus

    Thanks in advance!

  • Ok, thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, so I just created a project but I only want certain people to use it (because it's a chat, and if too many people use it, it will be chaos). I've thought of a solution, though. I can make a layout that requires you to type in the correct password to continue to the chat. I'm thinking of putting this on the Scirra Arcade (for easy online hosting), but I'm not sure if I'm allowed to post to the Arcade with a locked project. If any mods know the arcade rules, please help me out. Thanks!

  • So when you finish your project, you have the option to export your project as an HTML file.

    The HTML zip is useless unless you want to host it online, which then you have 2 options:

    Option 1 is to have your own paid website which you can put your index.html file on.

    Option 2 is to put it on the Scirra Arcade, which then everyone else can play.

    But I'm too broke to buy a website, and I don't want everyone else using my program.

    I was wondering if I could put my game on the Scirra Arcade, but then add a password layout, so that the game would only continue if you have the correct password.

    The thing is, I don't know if that's allowed. Can someone point me in the right direction to if I'm allowed to lock my Scirra Arcade games with a password, or at least show me the Scirra Arcade rules?

    Thanks in advance.

  • This might be better off answered by the moderators, but regular users might be able to answer, too.

    I first came about Construct 3 in my programming class. Honestly, it's great and I love it a lot. Since our school pays for the license, I'm free to program and to mess around with the functions. Up until now, I've been using Scratch, which has nowhere near as many bells and whistles as Construct 3 has.

    So getting back to the point, the multiplayer function is available as a function for your project, but you do not have unlimited access to it. I'd like more information on the amount of access I have to it because I don't want to start building an online game of Uno and then finding out mid-game that I've run out of multiplayer access. Help?