oosyrag's Recent Forum Activity

  • You'll need a way to keep track of which diamonds have been collected. You can do this by using an array.

    When a player collects a diamond, check the array to see if the diamond has been collected before. If it hasn't, award the diamond and update the array.

    The entire array can be saved to local storage and loaded upon starting the game again

  • Have you tried disabling worker mode? If you're using the rex plugins that were ported from C2, I believe they are not compatible with web workers, although I don't have any experience with the newgrounds plugins myself.

    If you're looking for help, you might consider specifying which plugin you're using exactly, and show what you did in the event sheet that is related to the error.

  • Yes. Nwjs is just a Chrome wrapper for your project in executable form. Basically you're bundling chrome with your game, and when you run it out opens a standalone version of chrome to load your game with, so it's basically no different than running it off a webpage.

    Yes that's what I mean by unified. The level of security pretty much depends entirely on how you design it. If the data files are located on the host computer, the peers would only be able to access them if you wanted them to be able to.

    The server... Is literally just like the computer you are using at home. You'll need an operating system like windows or linux, download chrome, and run it in a desktop environment. You can use VNC to control it remotely.

    If your server is command line only, you won't be able to run your project. You'll want one that can run (or virtualize) a windows or linux desktop. Technically MacOS would work too but... I don't think anyone does that.

  • In Epos 3.capx, the Enemy sprite object is in a container with eHB, ePos, and eShadow. This means that they all get created and destroyed and picked together. In Epos 1.capx, there is no container created.

  • You want to run a browser on your server. Like Chrome.

    Or you can export your game as an nwjs executable (which is a Chrome wrapper) and run that on your server.

    Normally a desktop type os on your server can be remotely controlled by VNC (I use TightVNC). You literally remote control the server computer to open a browser and go to the website where you exported game is hosted to run it. Or you use it to run the nwjs executable if you're on windows.

    On a side note, even if you're running a dedicated host, it is highly recommended to keep your host and peers versions unified as one project. It will work with separate files, but it can become quite a headache to maintain, even more so than a normal multiplayer project.

  • There is a "Go to layout" System action you can use to change layouts.

    In case that wasn't what you were asking, if you click your project name in the project bar, then check under properties there is a field that lets you select which layout you want to be loaded first.

  • If you're using the built in multiplayer plugin and have designed your game similarly to how the tutorials do...

    The only requirement is that your server can run a browser (or nwjs) and your game, use it to join a room first as the host, and then stay online.

  • It seems to work fine for me, the high score is saved in localstorage, and loaded upon starting. So it wouldn't go back to 0 on its own, unless you specifically had some way to reset it, which I didn't see in your events. Isn't this the intended behavior?

  • You can try having the base object persistent and change immediately, but spawn a copy with the previous animation frame on top of it and fade?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I just use my own computer connected to the internet I have at work.

    I'd recommend recommend just doing it at home first to determine your requirements before spending money monthly on something that you are not familiar with.

  • It looks like a simple 2d array.

    The values within brackets [] indicate the rows, while commas separate the columns.

    You can use tokenat or regex to find out what is at each position directly, or as soon mentioned try parsing it with the json object and reading the values with json expressions.

  • Tentatively.... I haven't tested and I'm just looking through your event sheets on mobile...

    In event sheet 1, on high score exists and get, you don't actually set the text to show that high score.

    I didn't find on your layout where the high score text object was, but if it was defaulted in the layout editor to 11, then it would always show 11 in game if it doesn't get updated.

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 38 followers

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • 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
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

21/44
How to earn trophies