Headbang Games's Forum Posts

  • There are a few ways you can do that, firstly, all dom objects are built outside of the c2 canvas, so you can easily access them through the html, attach a css file to your index.html (after exporting) with all your settings (but this way you won't see the changes in preview).

    You can make a text string or store all the css into a dictionary/array (export to json) then import with ajax.

    You can build a function that will apply a preset of css to a selected object and reuse it whenever needed.

  • Of course, that's a pretty basic feature, you shouldn't have problems with it, my only advice is to use lowercase filename just in case (I had some issues with files not loading because of mismatched casing).

  • I had to do some nasty tricks, like delete a lot of animations or frames for the development process, then import them again when I needed to export, if you have a lot of audio file, that would be much easier to remove and add later, some new big features I would make in a separated capx and when it's finished I would marge it.

    Basically my conclusion was (this goes for mostly big projects), don't import a lot of asset before you got most of the code done, use mostly 1 frame to set up pose preview, animations names, collision, hot-spots and related code.

    An option to import animations from another object (with all settings) would have make this much easier to maintain, you could have a capx that holds the full object, then you can drop it as a new one and transfer all the animation, unfortunately there is no built in option for this, you can do it by manually editing the caproj file and replacing the object.

  • I had this issue, if it's the same one then it's about total amount of files in your project, after about 2000 files you will start getting the red bar (changes from browser to browser), sometimes refreshing while loading helps.

    The reason it works after export is that all your animations goes on sprite-sheets and the file count drops dramatically.

  • Different objects uses different textures, if you want to share the texture, use different instances of the same object.

    For sprites, if you use the same image for more than 1 frame/animation on the same object, it won't get duplicated.

  • Just setup an account in GA to one of your domains (make sure you confirm it and its working), put in your tracking ID in the plugin settings and add actions with your events, works flawlessly here (as longs as it's online, on NW it's not working)

  • Not sure if it's a bug or a feature request, when you switch layouts with a global object, the object stays on the layer using it's number (index) and not by its name.

    So if I have 2 layouts like this

    Layout 1 - layers:

    FG

    MAIN

    BG

    BG2

    Layout 2 - layers:

    FG

    MAIN

    BG

    and the character is on the main layer on layout 1, when switching to layout 2, I would expect it to remain on the MAIN layer, but it ends up in the FG layer (with different parallax and settings).

    capx:

    https://drive.google.com/open?id=0B3JLq ... DRaQ1lqZk0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Even if you can, that would mean you would have to add extra transparent area to the bottom of all your sprite (since you cant draw outside of it in webgl), for many objects/animations that can be a very bad thing to do, maybe you'd be better off adding a paster object and drawing the sprites to it, I've done it before, works good.

  • I use google analytics, gives me all I need, but I haven't tried the others.

  • Looks great, nice work dude!

    Thanks man, doing my best

    I checked out your game, got to level 7, pretty hard, but I like hard

  • Point 5 is there

    Damn how did I missed that

  • Bad Pad new trailer

  • I am not sure if these suggestions are being read by the crew, but at least it's documented

    Here are a few features suggestions I would love to see in C3, some small but I believe very useful.

    1. It would be nice to be able to cycle through a sprite's animation frames from the object proprieties panel, the usual numeral textbox up and down arrows could do the trick, animations list would also be great

    2. Drag and Drop behavior, select picking method, z-order/closest to touch, when dragging overlapping objects, the drag and drop behavior select the top instance out of the bunch, in most cases I rather it select the closer object to touch x y.

    3. Having more than one image source for tilemap/tiled-background/9-patch and the ability to select it in the layout editor.

    4. Animated tiles / tiled sprites.

    5. a button for resting a sprite instance to original image size (in layout editor).

    6. setting index.html html/body background color from project properties.