DEACTIVATED's Recent Forum Activity

  • Somehow, I got cocconJS to work with webstorage. I saved some data, closed the app, came back to the app, and it worked fine.

    Edit: I just read the CocoonJS tutorial, to check on the limitations.

    Joannesalfa is correct, You can easily overcome this by using global variables. Local storage is (some what) permanent save, where as session is for that session only (much like the incognito mode in most browsers).

  • What do you mean 'secret forums'?

  • Run the compatibility troubleshooter and see what happens. Most times it's because of the OS.

  • Schoening

    A good and easy place to learn javascript is at codecademy.com

    It's a good place to start and learn the fundamentals and some of the advanced stuff too.

    BarneyK

    For nameplates...I don't really know, although I'll try to think of something.

    Maybe we should open another thread later on, that has all the javascript and capx files for each socket.io capability.

  • stylewow or BarneyK

    You can make a button send the disconnect message, which does the same thing.

  • Schoening

    That is somewhat correct, but use this anyway.

    socket.on('disconnect', function (data) {

          

          socket.broadcast.emit("message",'D,' + mySelf[0] + ',' + mySelf[1] + ',' + mySelf[2]);

          entities[myNumber] = null;

          

    });

    or anyone that can help.

    I've created a server and made it all work. I uploaded it to various different hosts. But they all seem the have the worst connections, with an average ping time of 300 ms.

    What would be the best host to host such a server.

  • Did you minify when you exported?

  • Ok thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Basically, if someone replies to the post.

    So if you comment, the comment after yours will be notified to you and that's it. This way, we don't have to check through posts.

  • Well firstly you'll need to do a lot of converting.

    Secondly, Are the videos short or long. Is it a video app or a game with cutscenes. Reason for asking this is that videos tend to take up space, therefore it'll probably be very large.

    Now:

    There is a video plugin:

    scirra.com/forum/plugin-video_topic46310.html

    and the author also talked about offline video too.

    Since HTML5 only supports a limited number of video formats, you'll have to convert them (as mentioned before). I haven't quite used this plugin (yet) so I can't really say for sure if it is what you are looking for.

  • Phone gap is a rather buggy tool. I suggest switching to CocoonJS or Appmobi. I used phonegap for some time but it was very buggy and slow, so I switched it out.

    Personally I use CocoonJS as it runs fast on all devices and fits the game to the device's screen.

    The only downside to both appMobi and CocoonJS is that there are a few limitations, I can't remember them off the top of my head but one of them is that you can't use web fonts. But you can easily overcome this by using sprite fonts instead.

    Edit:

    Things not working in CocoonJS:

    • The form control plugins Textbox and Button are not supported.
    • The AJAX object is not supported.
    • The XML object is not supported.
    • The Facebook object is not supported.
    • The letterbox fullscreen modes are not supported. If they are selected, it will fall back to simple Scale mode instead.
    • The Text plugin's 'Set web font' action is not supported.
    • The WebStorage plugin's session storage is not available. Use local storage or global variables instead.
    • Most features of the Browser object are not supported.

    Things not working in appMobi:

    • The form control plugins Textbox and Button are not supported.
    • The AJAX object is not supported.
    • the XML object is not supported.
    • The Facebook object is not supported.
    • The letterbox fullscreen modes are not supported. If they are selected, it will fall back to simple Scale mode instead.
    • The Text plugin's 'Set web font' action is not supported.
    • Most features of the Browser object are not supported.

    So basically the same things don't work, which is unfortunate. But some of these can be overcome but others such as facebook and AJAX will be just a bit difficult.

    Hope this helped. But I do hope that native mobile support is added by Ashley or Tom in the near future.

  • How would I get a custom font to work in CocoonJS on both android and iOS.

    Webfonts don't work so, I'm guessing the sprite font plugin is the only way.

DEACTIVATED's avatar

DEACTIVATED

Member since 6 Aug, 2012

Twitter
DEACTIVATED has 1 followers

Trophy Case

  • 12-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

15/44
How to earn trophies