nutmix's Recent Forum Activity

  • 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.

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • test4

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

    Or possible circular routing through the load balancer?

  • blackhornet - interesting, I had no idea you had to iterate through stuff that was picked. Many thanks for clearing this one up for me.

    I guess the picker with iterator is the same speed as an iterator with a condition (i.e. my final event), may be the iterator with condition is faster (as I expect the picker will also be an iterator).

  • There are many forum systems out here, most with significantly better markup (or mark down), including auto creating links for URLS, WYSIWYG, drag and drop images, etc. How about switching to one which works, and works with more features?

nutmix's avatar

nutmix

Member since 16 Aug, 2012

None one is following nutmix yet!

Trophy Case

  • 12-Year Club

Progress

12/44
How to earn trophies