oosyrag's Recent Forum Activity

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

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

  • You are misunderstanding the use of word server.

    HostGator hosts websites. When a user goes to this website (with your game on it), the game gets downloaded into their local computer and run from there.

    A multiplayer game server would be a dedicated computer that's always on and connected to the internet, preferablly on a fast/stable connection. You would use this computer to go to the website where you game is located and join a room first, as the host. Since your server is always connected as the host, everyone else who joins would be a peer.

    There are many different kinds of servers. HostGator is a web server. A web server won't be able to run your game, it can only serve it to users. The threads you mention are describing a game servers. A game server can be any computer that has an operating system that can run a browser. Could be one in your house, or office, or one that you rent.

  • Are you sure you are opening a project folder and not an exported game?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you're interested in a little exercise with arrays, try creating tic tac toe. A single player/hotseat version is fine. Use an array as your main data structure.

    Or if you're confident, a battleship type game. You can do a single player style one where ships are placed randomly, and it just counts how many shots taken to finish as a score.

    These should also get you experience using loops in conjunction with array indexes to check win conditions for tic tac toe, or for placing ships in battleship.

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 39 followers

Trophy Case

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

22/44
How to earn trophies