foolberry's Forum Posts

  • Can this be reset?

  • Number 1. Number 2 is not a nice place to be, will be impossible to get to look good, is a maintenance nightmare, will have worse performance, might conceivably save some memory but is not worth it.

    What you're trying to achieve would be better with a pin than with physics, but it's still not worth it. (Sorry just seen this was your plan)

    Just use animations - if you have to optimise (and you may not have to) then do so at the end when you know what has to be achieved by it.

  • so don't worry about code from other layouts hitting the framerate.

    Not unless they're included. But any data - tiled backgrounds, sprites, sfx I guess, will be held in memory all the time at the moment. This is why you get high memory usage warnings from the browser (or at least I do)

  • The whole game - or just the current layout?

  • Actually you explained that perfectly. Thanks.

  • Say for example I have a button object and a door object. And I have lots of instances of each. What's the best way to link a specific button instance to a door instance.

    I can think of a few possibilities: uids or indexes stored in local variables, but they seem a bit inelegant. Or is there something obvious that I'm missing.

  • Nope. Not to my knowledge. Never heard of either of them.

  • Additional information:

    The bug occurs when Firefox was set as the default browser (on the system).

    When I set Chrome as the default browser then it launched.

  • Steps to reproduce:

    1. Set Preferences/HTML Exporter/Default Preview Browser to Chrome.

    2. Set Project/Configuration Settings/Preview Browser to Chrome.

    3. Exit C2 and restart (in case that's necessary.

    4. Ensure all browsers are closed.

    5. Load a project.

    6. Preview

    Result

    ...Message about not loading browser....

    Expected Result:

    Chrome would load and preview.

    Notes: Chrome is installed and up to date on my system.

    Notes: I'm puzzled why you can set the preview browser in two different places. I understand that they're not quite the same but seems confusing.

  • OMG. I have just tried the game on Chrome and it is smooth as butter - rocksteady 60fps. Seems to be a significant performance hit on Firefox if handling physics.

    This has made me happy - lovely smooth game - and unhappy - a lot of people use Firefox.

  • They are as up to date as I can get them, but that is 2009 apparently. Didn't realise the laptop was so old.

    I've worked out that the problem is that physics object are not framerate independent by default. Have now set framerate independence - as reproduceable physics is not important for this game - and it all works much better.

    Thanks for the compliment on the game. I am happy with level 3. I would like 9 more levels like that and then I will release it. (With a bit of wrapper polish)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • dl.dropbox.com/u/104684620/test.capx

    It's layout3 that I'm concerned with.

    L/R on arrow keys. Jump on space.

  • Yes, I have read it, thanks. I'll go back and have another look at it though. My hunch is that the main problem I'm having is not getting WebGL to work.

    However, even on a slow computer I've had a noticeable further slowdown though.

    I guess I can track the slowdown to one or more of a number of recent changes:

    * Adding a small number of large sprites (300*300 say)

    * With fairly large amounts of transparency (is overdraw an issue?)

    * Significantly increasing VRAM (would this affect performance)

    * Creating additional layers.

  • Nevermind. I've done it. (google, duh)

  • I let C2 autocheck my graphics card and it returns that it's out of date. But when I follow the link through to the Intel site, then I'm told that my graphic's card has specific drivers by Dell.

    Has anyone successfully upgraded Dell drivers. I can't find anywhere where Dell have updated drivers. Has anyone managed to do this? Can I just use the Intel drivers.

    (Sorry if in wrong forum - do move it if there's a more appropriate place.)