Asmodean's Forum Posts

  • I think it took at least a tick to use the new size, so you have to wait or use it in another event.

  • Try a wait 0.1 after your set text. Maybe that helps.

    Ashley

    Is there a chance for webassambly in C3?

    I have to say that I'm willing to pay good price if I get usability close to Construct and better export options.

    Are better export options not to rely on a 3rd party or better performance or both?

    If it's a gain in performance there is now a chance. WebAssambly is close for release in the browsers and crosswalk and Ashley wrote in his blog:

    [quote:19f6ro8p]I am actually pretty receptive to the idea of writing parts of the Construct 2 engine in WebAssembly. If you really want better performance, this is probably a better thing to ask for.

    I think is time to ask for it, at least for C3.

  • Browser Preview for WebAssembly in the nightly builds of Chrome, FireFox and Edge

    https://hacks.mozilla.org/2016/10/webassembly-browser-preview/

    https://v8project.blogspot.de/2016/10/webassembly-browser-preview.html

    https://blogs.windows.com/msedgedev/2016/10/31/webassembly-browser-preview/

    WebAssembly Demo:

    http://webassembly.org/demo/

    There is a huge performance difference between the WebAssembly and asm.js version, at least on my PC.

    Starting with Crosswalk 22 it will available as an experimental feature.

    https://crosswalk-project.org/documentation/tutorials/webassembly.html

  • I wouldn't do a simulate jump. I would use 'Set Platform vector Y'.

    If you use the triggered 'on collision with ..' it should work, otherwise with non-triggered events the player would fly upwards.

    Something like: Player| On collision with Enemy -> Player| Set Platform vector Y to 'myJumpStrength'

    'myJumpStrength' has to be negative like -650.

  • It depends if the object that touches the imagepoint of the other is square. If it's square you could use distance, otherwise you have to distinguish between height and width.

    In this example if the green rectangle overlaps the purple one on the upper left (Imagepoint1) you get an overlap.

    https://drive.google.com/file/d/0B5FlDY ... sp=sharing

    Please feel free to ask is something unclear.

  • Has anyone seen a similar issue before? Am I using it wrong?

    Does the spriteFont object assume that characters have a space between them (most Arabic letters connect together). Any help on this is highly appreciated.

    You are right, SpriteFonts need padding or spaces of 1 or 2 pixels between the characters or you get problems with the anti-aliasing. You can set the width of any character individual, if the spacing make a gap after the character in the text. Use the action: set character width.

    For example if you want an 'i' smaller than the rest of the characters from start of your program:

    System | On start of layout->SpriteFont|Set character width to 'any width you want' for "i"

    'any width you want' is the width you want

    I am going to have a guess that the c3 engine will be written in TypeScript so it can export/compile the latest acceptable version of JavaScript...

    Just an educated guess because it would keep c3 at the bleeding edge. Also, the Visual Studio Code editor is fantastic, so writing plugins in TypeScript would be a pleasure...

    I would love that too, I hope that will be true.

    [quote:22mx5dh3]There won't be 3D.

    Thank goodness!

  • Ok, thanks for the response. So just to clarify, they decided to do the opposite to maths? Seems a little odd...

    That has a historical reason, I think. The electron beam in a CRT starts in the upper left corner and ends in the bottom right corner. The early Homecomputer uses this coordinate system because it resemble how the electron beam moves.

  • Delete 'System| pick meteo_S instance meteo_S.IID' it's not necessary and you don't specify which IID you mean.

    Then it should work.

  • You have to make a severeal TiledBackgrounds with the height and double width of your Layout/Viewport. If you make a endless runner I assume your Layout is similar to your Viewport.

    Now you have to set all the TiledBackgrounds half outside of the Layout, left or right depends if you want to scroll to left or right. Now move the TiledBackgrounds with different speeds and set the TiledBackgrounds back to start position after they scroll half of there width.

    I made an example, I think its much easier to understand. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    https://drive.google.com/open?id=0B5FlD ... TNzaWNLMmM

    Here how it looks like (hope that works)

    http://baker-canary-65642.bitballoon.com/

    Sorry for bad english. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Try Construct 3

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

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

    I would do it like that:

    Or use the MoveTo behavior from rexrainbow

    http://www.scirra.com/forum/behavior-ro ... 44845.html

  • Use ArrayConverter.

    Put your JSON-String in the TextBox and click Load JSON.

    Edit: Sorry I wrote first ExcelToJSON

  • I think you need more quotation marks.

    "{""c2array"":true,""firstRowIsColumnNames"":true,""size"":[11,1,1],""data"":[[[""Color""]],[[""aqua""]],[[""blue""]],[[""red""]],[[""orange""]],[[""yellow""]],[[""white""]],[[""purple""]],[[""green""]],[[""bronze""]],[[""gold""]]]}"