Headbang Games's Forum Posts

  • You can use a dictionary instead, it's global and you'll have an easier time managing it, then you can save it as json and load it again.

    If you insist on using a var, you can use "token", which are separators inside the string:

    var score = "43412,43245,12354,12543";

    using:

    tokenat(score,0,",");

    will send you back the first score in the string, 0 is a loopindex number for each token in the string, level1=0, level2=1, level3=2, etc.

  • Put it all under "for each" condition.

  • Try setting X to self.x-128 instead.

  • Great, thanks a lot!!!

  • Oh i see my problem now, it sorts the fields by value, I thought from the description that it was to sort the list by fields.

    v1=aweasd

    v2=sdfsd

    v3=mdfg

    v4=bdgds

    Is this possible?

  • Hi, very cool plugin, saved me a lot of messing around with arrays and dictionaries, great work!

    I am having problems getting "Sort List" to work on my table, is this action not fully working yet?

    I am asking because I noticed it is not documented in the example capx.

  • I am running an I5 quad 3.4G with 16GB of ram, my system and construct are running from a ssd but I didn't try moving my project to this drive, I will test it.

    Cool firefox runs the project, but the images are all messy, bluish and transparent, might be some of the webgl effects i am using, on the other hand it previews much faster than all other browsers.

    DUTOIT Thanks man, it was mine too, sort of, I can't honestly say I liked one Lucas Art adventure game more than the other, I liked all of them for slightly different reasons, from Loom to The Dig, they are all great.

  • volkiller730 I use Spriter for more basic 2D animations, but most of the animations in my game are pre-rendered 3D and are very complex, it's impossible getting these results with Spriter.

    Anyways my problem is just with previewing, because after exporting I am down to 500 files which is reasonable and I don't have performance issues.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashely I see, I don't have many variations, but i do have a lot of characters with a large amount of unique animations.

    What about other solutions, such as a check box for objects or animations that blocks it from being loaded when previewing?

    I work layout by layout, so many characters and animation are not needed globally.

    Or maybe another folder in the project where you can move some objects there and they will not get loaded.

  • Looks amazing, good job!

  • It happens on IE too, so it's defiantly not chrome related, on the other hand it's not necessarily a C2 issue, but i believe it can be addressed and overcome in C2, with resource management.

    I think it might be caused by too many simultaneously ajax request, or just a too large total number of resources.

    I wouldn't mind making a capx for Ashely to test on, but this can be easily reproduced by just adding lots of animations and frames, it also happens when i strip down the project of all the events/behaviors/effects and leave just the sprite objects.

  • Disney is aware of our project, but it's not approved yet, we're making a demo and sending it to them, it can go either way and we might be working for nothing, but we do this out of love for the game so we don't mind.

    I am actually working on another original point and click adventure based on the same project structure, so either way i would run into this again.

  • It's a point and click adventure game, designed for PC and the performance is great, you can see it on our video blog here:

    http://indiana-jones-and-the-fate-of-at ... ition.com/

  • Ashley

    I believe this is caused by the amount of files in my project, there are many animation frames, the whole project is currently 7200 files, but that's only when previewing, after exporting into sprite sheets it goes down to 500, i doubt i'll go over a thousand files after sprite sheeting for the whole project.

    But this makes it impossible for me to continue working on the project, exporting each time for testing is not an option, i am open to any other suggestion!..?

    Maybe disable loading of files in other layouts i am not currently using or adding sprite sheeting to preview (created once images are update and not on every preview).

    Really anything that will help me continue working will be most appreciated!

  • Does anyone have problems with previewing large projects?

    I am getting a red bar on chrome, nw and ie, if i remove a few animations it works fine.

    At first i was able to get around this by refreshing (F5) while loading a few times, now even that doesn't work.

    After exporting, the project runs fine, project size is 360mb and will be much bigger later on.

    I am also getting a bunch of

    Error loading image 'http://localhost:50000/actor_sternhart-walk7-000.png': Eventbubbles: falsecancelBubble: falsecancelable: falsecurrentTarget: nulldefaultPrevented: falseeventPhase: 0path: Array[1]returnValue: truesrcElement: nulltarget: nulltimeStamp: 1430579124681type: "error"__proto__: Eventimg_.onerror preview.js:1594

    In the console.