Begeegee's Forum Posts

  • After version r206 Web storage became Local storage. But they work the same way.

    On that note, we're developing a game which is almost finished using Web Storage. But since the update came out we're hesitant to upgrade our Construct versions since we don't want to break all the saving. If we update will Local Storage literally REPLACE all existing Web Storage events with the Local Storage equivalent? Or must everything be recoded manually in Local Storage?

  • Was having trouble with Gamecenter too but I literally just got it working myself! Looks like you're going through the same process as I am, with exporting from Construct as Cordova and then using XDK after that. It wasn't working for me and I read that I should be seeing a Sandbox setting in the Gamecenter settings. But that wasn't there. I then read about the Testflight app and wasn't sure if it was the solution, but I installed it anyway and after that the Sandbox setting appeared, which I then switched on.

    So I then loaded up my game and Gamecenter asked for authentication! I logged in, which then made the leaderboard show up once I clicked my leaderboard button.

    So try what I did if you haven't already. And it may seem like a stupid question but you are actually testing on an iOS device right?

    Edit: I may also add that I'm using the Adhoc profile and installing the game with iTunes, don't know if that would make a difference though.

  • Thanks guys, sorry about the late reply from me! So I take it there isn't a way to "package" everything the webfont needs into the game files so it can be loaded offline?

    The font is invisible and is being loaded on startup, in our splash screen actually, but still it doesn't always download in time which is kind of annoying given the type of game that ours is. You're in the menu very quickly after the splash screen which does contain text that needs to change, so can't use sprites there

    Magistross I did take a look at that sprite font generator before but I did not think custom character widths were possible, but now that I read it again it seems that IT IS! Not quite understanding how it works as its outside of my ability but will give it a shot and let you know if it works!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi there,

    I'm part of a small team working on a simple app, where a release on iOS is priority. A big theme in the game is that it's minimal, meaning not having to wait for anything to load, and being able to jump straight into the game etc. We've found the absolute 100% PERFECT font for the game (Quicksand), but this isn't supported by Construct so we've had to use it as a webfont. But unfortunately this means there's anywhere from a 1-5 second wait for the font to load, causing the game to display the default font and then update to the webfont. As I said, our game has a minimal approach and is quite small in size anyway, so we want to avoid a loading screen altogether. Another thing I should mention is that if the player is not connected to the internet, the webfont will not load which is not acceptable. What I'm getting as is having to outsource a font in such a way is not reliable.

    This got us thinking. Is it at all possible to import the CSS file or anything else the font needs to work into the game assets? I see that I can import the CSS file into the game under "Files" in the Projects List, but I see no way to make the game reference this when setting the webfont. Is it even possible?

    Apologies if we're not understanding something fundamental about how webfonts work. We are not programmers, which in essence is why we chose Construct 2 (which has served us amazingly by the way)!