Headbang Games's Forum Posts

  • How about a layout init condition?

    An event that fires only once when the layout is displayed for the first time (re-entering/reloading layout does not fire this event), I usually manage it myself with a dictionary and by checking the layout name, its a pretty common feature to have in a game engine, though it's not that high in priority.

  • hi Ashley

    I was also looking into it for my own project and I found this:

    http://dotancohen.com/howto/rtl_right_to_left.html

    On the bottom of the page you'll see a table with a character named "RLM - Right-to-Left Mark", it's an invisible character that fix ltr to rtl, if I paste it at the end of the text line it shows up correctly.

    Do you think you can add it to the official text plugin?

    Here is an example with hebrew text

    http://www.avishaymizrav.com/test.capx

  • you can edit the runtime.js of the canvas plugin

    search for URL and replace the line of code with this

    ret.set_string(this.canvas.toDataURL('image/jpg',0.6));

    or any other format/value you like.

  • No unfortunately file larger than around 800 kb cannot be downloaded, I changed the export url action to export a jpg with 0.6 quality instead of png 1.0 working with a 2048x2048 canvas size should work ok, that's the best I could get.

  • On some cases its faster, but if you want to set it back to zero or hit a specific value it's a little tricky.

  • I tried playing with it a little, but it's a little hard when you can't punch in the values with the keyboards, so I gave up pretty fast, I will look into it more later.

    Anyways this is a really cool effect and editor, well done mate!

  • Sure no problem, come to think of it, i think you can put the webgl straight on the usermedia or the layer and take the snapshot, without saving the image first, unless you need the user the edit it or something.

  • you can have an empty sprite on the layout, then use load image from url on it to set the image from usermedia, then do a snapshot, you have another trigger onSnapshot then you can fetch the snapshot image with another system expression, don't remember the exact naming but it should be easy to find.

    You can alternatively use the unofficial paster plugin, it allows you to paste in sprites with webgl effects, then you can fetch the image with an expression.

  • you can save the snapshot to an image on your layout with all your text and watermarks on it, then just use the builtin system action canvas snapshot.

  • Looking good!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Maybe it's just me

    When I saw it that's the first thing that popped in my mind, I thought it was just a piece of the background, I got even more excited when I found out I can use it and naturally I started looking for mines and gaps to jump over

  • Cool the graphics/animation/controls are pretty slick, this could be a really cool metroid meets moon patrol, keep up the good work!

    Do you have more levels designed ?

    What about 360° aiming with the mouse/analog stick?

  • Thanks guys, I'm glad you like it!

    Stay tuned for more cool stuff!

  • Link is update to alpha v0.51, with more than 47 levels and lots of new stuff!

  • This could be a nice feature for C2 or C3, when browsing through the layouts list, show a small preview image of the layout on the properties tab, it's somewhat frustrating locating a level layout in a list of 100+ layouts, you have to open them one by one and it takes a lot of memory and then you get a limit message when you're over 30 or something layouts.

    This can be a simple screen capture by demand (click on set preview image), no need for fancy triggers and conditions.