c858504d-5e0d-4825-b966-53eab4fb6034's Forum Posts

  • 11 posts
  • I was speaking with another C3 dev last night and his strategy is to always have 'Scale Outer' set so mobile works well (when you adjust game-play elements to use all the space) and then for desktop either embed the game at a fixed size or use a little JS to resize the same as 'Letterbox scale'.

    One other way I thought of to have two builds and detect your user type (mobile / desktop) via JS in the HTML outside C3 and present the correct version although that means building two versions and I'd imagine won't work if your for portals and so on. I could be wrong, I'm very new to HTML5 gaming dev and deployment.

    Be interested to hear how people are packaging their games for portals and mobile and so.

    Thanks all!

  • Hi All,

    I've been building a first very simple game which has been going well. I have scaling setup as 'Scale outer' to maximise screen estate on mobile and re-position / anchor things which again works great.

    I'd like to change the scaling mode to 'Letterbox scale' on desktop but can't quite figure out how to do this? I see the event system condition 'Is on mobile' which I can invert to detect desktop but can't see how I can change the scaling?

    The game is aimed at mobile but for desktop I don't want it to allow the extra horizontal screen estate as an ultrawide screen (like I have!) makes the game unplayable. Ideally it should take up as much space as it can in 'Letterbox scale' but it would also be useful to be able to set to a fixed size on desktop if needed.

    FYI At the moment this is all just running non fullscreen i.e. windowed in a 'normal' browser window.

    Hopefully this makes some sense! Thanks all :)

  • Cheers Tom, absolutely love Construct 3 so far, keep up the good work :)

  • Kyatric Thanks for the update and workaround, look forward to seeing the search up and running at some point.

  • Apologies zenox98 not sure how I missed this, must be an age thing, 40+ ;) Found my answer in here as well, the search is broke for everyone... Any rough ETA on the fix / implementation?

  • Try Construct 3

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

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

    When trying to do any forum searches I'm getting the following...

    'Please be patient as this feature is developed.'

    ...is everyone seeing this? Anybody have any ideas when it will be fixed / implemented. I'm a new user and being able to search for things would be super useful :)

    Thanks all!

  • Thanks NetOne I will take a peek, hopefully the C3 runtime and the text rendering updates will make the process a bit more simple for us :)

  • Thanks both, appreciate the responses.

    NetOne I've been going through some of the same tools you probably tried as well without much luck, thanks for the link, wasn't aware of this. Guessing it outputs monospaced fonts and doesn't export the width data needed for C3 to make things look nice for non monospaced fonts?

    Yes, I was starting to think the web font is the way to go although there's a possibility it might not render the same on all devices reading through the docs etc? If the webfont is included in the build how much of an issue is it really, anybody have any real world experience? Reading through the new C3 runtime blog post you link and whats coming looks really really awesome, can't wait :) :)

    Thanks to you both again!

  • Hi All,

    How does everyone create their SpriteFont's? I'm talking mainly about using an existing TTF, OTF etc font and rendering it in a compatible way for C3.

    Does C3 support things like BMFont, Glyph Designer etc? I've found this...

    construct.net/forum/game-development/tools-and-resources-27/sprite-font-generator-v3-64038

    ...but I wondered about tools like what I listed as well as with Glyph Designer you can add effects and so on.

    p.s. Forum search doesn't work for me, is everyone seeing that? I'm a new user and it would really help to be able to search and see if anybody has asked similar queries in the past etc.

  • Many thanks for the response.

    I was thinking about messenger games where speed of startup can be critical and if there's lot of assets could the downloads be staggered or something.

    I see C3 creates atlases which as you've mentioned keeps the server visits low. To be honest don't think my games will be huge in terms of assets but was curious to know how its all working.

    I also see C3 has a 'Load image from URL' action for sprites which could be handy but I'm guessing I would lose the sprite atlas advantages like lower draw calls and so on.

    Thanks again.

  • Hi All,

    New C3 user here, been enjoying things so far :) Just wanted to ask how C3's asset management works please.

    If I had 100 sprites with 50 placed in one layout and 50 in another does Construct try and download all 100 during startup?

    If I'm right C3 loads into memory what it need for that layout but I'm not sure when things are downloaded, do we have any control over that?

    Cheers!

  • 11 posts