nutmix's Recent Forum Activity

  • I have two SSDs in my laptop, the Crucial M4 256GB mSATA for windows, and a Crucial M4 512GB for data. I just dont want them to fail after only a few years through excessive and hopefully avoidable IDE temp files etc. ive moved the chrome cache into ramdisk at least.

  • As you may know, SSD disks wear out. Mine are rated to writing 40GB a day for 5 years before failure. When you add up your browser cache, system cache, VMs, and IDE file changes and compilation (e.g. C2), you reach that 40GB pretty quickly.

    So the answer is to move as much as possible off the SSD onto ramdisk.

    The question is are there any temp files which C2 writes, e.g. when you save, or when you hit the Run Layout button, which we can redrected to the ramdisk? E.g. by changing registry settings, or creating directory links?

    Many Thanks.

  • cvp, did you resize vertically? If you resize horizontally (make it wider or narrower, its ok, but making the window longer/shorter leaves the sprite at completely random locations, some times off the screen at the top, sometimes half way down the screen. It only works if you make it longer/shorter really slowly and carefully. The same code for X (i.e. for horizontal movement) is fine, its just vertically that its hugely buggy.

    In FF, I sometimes get a blank black screen also.

    I just tried it in FF, and its just as buggy. Try making the browser longer quickly in jumps.

    This bug used to be in Anchor, many versions ago (99?) which is why I dont use it any more. Until now, setting the Y manually has worked instead.

    If i change the project to set Y every tick, its fine, but doing operations every tick like this will affect performance.

    I suspect that its the Browser On resized which is the problem - its missing re-size events for what ever reason.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The anchor behavior cannot center sprites. Using events, I can center a sprite Horizontally Ok, but I cant do anything with it vertically, it just jumps around and goes a random Y, sometimes going off screen completely.

    https://www.dropbox.com/s/opoehw830axlyc3/viewportYproblem.capx

    The code I am using is this:

    Browser On resized : mylogo Set Y to ViewportTop("lobby") + 27

                         mylogo Set X to (ViewportLeft("lobby") + ViewportRight("lobby")) / 2

    I want to fix the logo 27 pixels from the top of the screen. It just doesnt work.

    Any ideas why? I'm sure I used to do it like this.

    Note: I have set the origin of the logo sprite to be X in the center, Y at the top. (i.e. origin x=width/2, y=0)

  • Stupidly, I have overwritten the version with one with webGL switched off. This solves the problem until we find out why it is happening.

  • I get the above error when trying to run my game in chrome after exporting it as a HTML5 web app. Its designed for iphone size.

    http://test.nektan.com/bingo/

    Has anyone seen this before? Hitting reload loads the game ok. I don't know how to get more information about the error.

    Chrome version 28.0.1500.72.m (windows 7 pro)

    FF is ok.

    Simon.

  • Ok, found an easy solution.

    1) double click on Files/icons/loading-logo.png (see post from ramones above).

    2) in the sprite editor, import your own sprite image.

    3) Done!

    Now the preloader displays your logo.

    NOTE:

    1)This is nothing to do with the loader layout which I already have customized.

    2) It seems you can use any size of loader icon, doesnt have to be 66px like the original.

    Thanks for your help!

  • when you load c2, it shows the C2 cog, which is great, but I am being asked to change it to the games icon. Is this possible? I guess I could change it after each export, but this would be difficult.

    Also, the game does not show an icon in the browser. I notice a bunch of C2 icons (4 different sizes) in the root of the exported projects, what are these used for? Perhaps they are not used as they are not in the root of the site, but in a sub dir/virtual dir?

  • html5 apps can be "add to the home screen" in iphone/ipad etc.

    Has anyone managed to do this with C2?

    Any ideas how to get something like this into the project:

    <link rel="apple-touch-icon" sizes="57x57" href="apple-icon-57x57.png" />

    <link rel="apple-touch-icon" sizes="72x72" href="apple-icon-72x72.png" />

    <link rel="apple-touch-icon" sizes="114x114" href="apple-icon-114x114.png" />

    <link rel="apple-touch-icon" sizes="144x144" href="apple-icon-144x144.png" />

    I guess I could edit the template, but then it would give the same icons for each project. I could also edit the index.html and manualy drop the images into the project, but to have to do this each time I export will be difficult.

    Thanks!

  • Hi, I have a group with one "every 5 seconds do x" in it.

    The problem is, when I want to start the 5 seconds going, the first call is usualy instant, and the second one follows very soon after. At least the first call is anywyere between 0 and 5s, the following onces are 5 seconds appart.

    I have tried various methods to "start" the 5s timer when i need it to start. I have put it in a group, and tried enabling and disabling, this did not help.

    I added a condition, and set that condition to true when I want the ever 5 seconds to start, but that didnt help.

    So I'm a bit stuck on how to get it to start such that from point X, 5s later, the first action of the every 5 s will be called.

  • test4

  • Ashley, could this problem be load balancing to multiple forum servers without sticky sessions?

    Or possible circular routing through the load balancer?

nutmix's avatar

nutmix

Member since 16 Aug, 2012

None one is following nutmix yet!

Trophy Case

  • 13-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies