shinkan's Forum Posts

  • I think an exporter development kit was in the todo list in the early C2, but it was abandoned, not sure of the reason.

    Yeah, that's why in C2 folder "html5" is in "exporters" folder. And in C2 itself there's a "Configurations" panel where you can choose html5 only... and it's been like that since first public release.

    third party exporter should stay third party, and so be a potential option, like an added value, rather than a selling point. Since this is the current problem: a great html5 engine is mostly used outside it's bounds because people think the html5 is the added value, while it is the product

    That's the best thing someone have said in a long time on this forum.

    I've been expressing my self in this subject many times, but people seems to feel fine relying on third party exporters that keeps breaking apart usually every update or so.

  • I used Dictionary object instead. For two reasons:

    1. It's may be simpler to use than Arrays for you

    2. [attachment=0:2at88d4g][/attachment:2at88d4g]

    You can't do something like that with global or instance variables.

    ...now I think I may accidentally make this a little bit to complicated for you xD

    But you need to learn this anyway sooo ;P

  • I use the same. Don't like CocoonJs so if I need to do something for mobiles I'm using XDK Crosswalk

  • There's one. If you use search you will find more.

    https://www.scirra.com/forum/viewtopic.php?f=147&t=104360&hilit=+17mb

  • Sorry to bump, but I've been looking into this and haven't found a good way to do it..

    Anyone know how can I achieve something like this? It would be pretty cool if I could use something like

    "This is a [red]test[/red]"

    or maybe

    "This is a"&spritefont.offset+value"test"

    I haven't looked into it enough but any clues as how to achieve that would be deeply appreciated!

    Don't know how Spritefont works from rendering side. But having multiple frames/animations (like in sprite) where each frame/animation could be a different color texture could be a solution.

    And doing something like this "This is a [red]test[/red]" will simply mix "letter parts" of these frames/animations as needed.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You could do that using variables.

    Easiest way I think would be to make one global object and give it a bunch of variables.

    But for that many levels, Arrays would be much better - from data managing point of view. One Array could store all levels, level stars etc.. And for something simple as that Arrays are not that difficult.

  • Ability to make dependencies/connections between objects in Layout editor.

    For example:

    I have two sprite objects. One for "lightbulb" sprite and one for "radius" sprite.

    Than you could make a "connection" between them - maybe a value? (something like object variables but you could specify "what" you want to connect).

    So in "lightbulb" you made a value called "radius" that is connected to "radius" sprite size. And every time when you change this value other sprite will update in editor. Same for position etc.

    Maybe like interactive containers in layout editor? Not sure properly how to call this,

    I know that you could just move one object to a position, then move another to that position and change it size. Or do that in events.

    But this is time wasting if you need to make a lot of that objects. And if you do that by events, you need to preview every time you make a change.

    Just an idea.

  • Sorry for that, It's habit to recycle existing object.

    Masks and Text must be on same layer. Text object must be below masks.

    [attachment=1:35xfp7n7][/attachment:35xfp7n7]

    I've modified my example to explain better what's going on.

    [attachment=0:35xfp7n7][/attachment:35xfp7n7]

  • Here's the version using spongehammer sprite and Paster plugin.

  • "The answer" I was talking about.

  • You can use blend modes for masking/cutting out things.

  • Capx works fine (the file not the content of it )

    Just the website shows "This webpage is not available" in Chrome.

  • Yes, you an have more than one tilemaps. If you place them on the layout you can switch between them using "Z order" panel (which is dumb). But I will recommend to insert every tilemap on separate layer.

  • eli0s

    Not sure if it's the latest version or not, Did'n play with official shadow till now. But at this current time this "feature" is useless, unless your are using only one light for entire layout.

    oh. and your demo link don't work.