Kyatric's Recent Forum Activity

  • Happy birthday

  • I'm not exactly sure what "CCG" is, and I haven't played the game you refer to Metal_X.

    The custom behaviors turn the image into a string, and allow to turn the string into an image from the client's side, so the image has only to be downloaded once from the internet, and then can be stored/processed on the client's side anyway.

  • A previous topic on the subject.

    Using the forums search function might have given some start of an answer.

    Also : 2

  • 2. I haven't looked through all the code (there's a lot) but it looks like you're loading the values from webstorage on the title screen and then setting them to default values on start of layout.

    I haven't downloaded your code either, but I trust Ramones' judgement on this.

    What he means is that you should make sure in your "On start of layout" to only set the default values once, the very first time you execute your program and not every time the layout starts otherwise you will be under the impression that only default values are saved when they are in fact overwritten.

    I'd suggest you to read my tutorial Asteroid clone in less than 100 events, I explain a great deal about webstorage and it should be just what you need.

  • xeed: You can get your XML string thanks to the AJAX plugin.

    You might also want to check how to use project files in construct 2.

  • I edited my previous post.

  • Look for WebRTC, an API primarily aimed at video/audio chat but that will allow to also send any type of data in a p2p way.

    It's not there yet, but it is in development.

    For your second issue, I'd suspect that the process of the game itself is frozen when the tab has lost focus, and so the websocket can't produce the Ping/Pong. I guess it's part of the standard itself.

    A workaround could be to warn the player to not change tabs when they are playing, and if it happens, "intercept" it with the Browser trigger "On suspended" sending a "Self-kick" message to your server and a "rejoin" message "On resumed".

    Handle a sort of pause for the player's entity in the current game, without needing to keep the connexion alive.

    You can set a timeout period on your server for the entities which were "paused" for too long, or when the current game is over.

    When the player joins again ("On resumed") activate the connexion again and place the entity into play again.

  • You can put images in the local webstorage once the image is extracted to Base64 and you can then inject the Base64 code as image with the third-part behaviors Fimbul mentioned.

    Anyway, I don't believe the downloaded/cached HTML5 files are flushed after two days.

    As for the size of download, check image compression in C2 which is really of big help as well as the spritesheet features that also helps with the download size.

    Once again, the game, the assets are only downloaded once. There is no "constant download everytime the game is accessed on the browser".

  • R0J0hound's technique does the job.

    Or at worse, you could have zipped the folder, but saving as a folder project, opening this project (Rebound.caproj) and saving it again as a capx/single file allows to obtain a 3Ko capx file.

  • Check in the junkmail of the email adress that is attached to your paypal account.

    Otherwise, if you want to directly contact scirra concerning license issues, send a mail to licensehelpbsn@scirra.com

    Here on the forum without a warning (@Tom; Ashley) they will just not see this post.

  • System: Compare global variable => SValue Greater or equal 120

    XonixGaming: Perhaps you should go back and check the beginner's guide for C2 as well as carefully checking the tutorials linked in the C2 part of this tutorial.

    Those tutorials display clearly how to do most basics stuffs in C2 like checking for global variables.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When you put your mouse cursor over the comment, there should be a couple of icons appearing (on the right), one of which is "Edit".

Kyatric's avatar

Kyatric

Member since 18 Aug, 2010

Twitter
Kyatric has 583,405 followers

Connect with Kyatric

Trophy Case

  • 14-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • x15
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • x27
    Coach One of your tutorials has over 1,000 readers
  • x10
    Educator One of your tutorials has over 10,000 readers
  • x2
    Teacher One of your tutorials has over 100,000 readers
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

23/44
How to earn trophies

Blogs