briggybros's Recent Forum Activity

  • I read a post on this board a while ago now, but I can't seem to find it any more. Is there any websites or groups that perform game challenges, like Ludum Dare, for C2?

    If not, why not?

  • You can have it so only the client interacts with the NPC's with no host interaction at all, and is better for reducing bandwidth. If all clients are running the same version then have that version shipped with all of the NPC text so there is no communication with the host to display the text.

    However, I would have to disagree with The host should store each players story progress and sync it with only the required player. This prevents peers from cheating in the storyline. If only the peer knows their story progress then they can change it, but if it syncs from the host then it goes back to the whole point of having the authoritative host who controls game logic. This could also be useful if you ever plan for a player to know how far another player is. If only the peer knows this then you'd have to set up a relay system for the other peer to retrieve this information.

  • yes. C2 can export to mac desktop (via NW.js), and so long as you are using a decent browser, your mac will be able to run any of the browser run exports (html5 etc.)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • just look up HAL 9000 on google. It's the computer from 2001 a space odyssey.

  • If you're trying to be suer realistic, you could use the physics object and model the system using newton's laws. If you just want to cheat, you can do something like this.

  • 1. use the Sprite.on any finished.

    2.Just put all collidable objects into a family, then test on collision with that family.

  • I think there should be no reason for there to be no cross platform capability. If it can run multiplayer at all it should be able to work. I haven't tested but I'd assume there is something wrong with your events. As for the windows phone, check if WebRTC is supported using Multiplayer.Supports_multiplayer

  • lennaert Thanks for your response

    1. How would I go about using https when I'm referencing the files relatively?

    2. How would you get the users ip? Would $_SERVER['REMOTE_ADDR']; work in php, even if the file is being accessed by AJAX?

    3. How do you get browser agent ID? (I don't want to have to rely on data send by the client)

  • My game uses savedata that is saved on a database which I host. The saves are chosen with a key using the players username. The player can log in and play the game with their save. I want the system to be as secure as possible. I authenticate the user by giving them a unique token every time they log in and storing it in webstorage as a session value; then when an AJAX request is sent it includes the username and token which can then be authenticated. This stops me dealing with the password more than once. I have a logout function which updates the token on the server to a value which will automatically fail authentication so the account is inaccessible without the password input again.

    Given this scenario, how can I make it secure?

    A user is playing the game, and instead of pressing logout, they just close the tab the game is running in, and so the logout command is never executed. The server still has the token stored and has not been set to the lock value. Somebody could exploit that the token is stored in the browser, and since the server hasn't changed the token, retrieve the token and use it to act against the account.

    Would storing the token as a global variable solve this? If not, what can I do?

    Is setting the lock value on logout even needed? The token each user has is 64 characters long from a set of 62 characters, giving 5.16497385e+114 possible combinations of token, I feel this could be bruteforced which is why I added the logout lock.

  • has a good point, the groundwork for a multiplayer game from which anything can be built is only a few events. It could easily be something you do yourself. From that point on it's very much dependant on the game you're making. So your answer is probably no.

  • 1. I always start with 720p. I am nearly always developing for web browser with letterbox scale, I just find it appropriate.

    2. The browser object has 'ScreenHeight' and 'ScreenWidth' values, so if the screen reslution is 1280x720, then you could work out that 1280:720 = 16:9 etc.

    3. x= viewportleft + windowwidth/2

    y= viewporttop + windowheight/2

  • Are you trying to read JSON as XML or vice versa?

briggybros's avatar

briggybros

Member since 7 Mar, 2011

None one is following briggybros yet!

Connect with briggybros

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies