bambo's Forum Posts

  • You need to use CanvasToLayer system expressions and then 3DCamera.LayerToCanvas expressions as the 2nd and 3rd parameters.

  • You do not have permission to view this post

  • Yes, there's such an option, but it doesn't solve the problem since it only triggers video downloading in the background at the beginning of the game - it doesn't enforce saving the video in cache.

  • Hi there,

    I have a big video in my game (~100 MB) implemented by using Video plugin. The problem is that every time player comes back to the game, the video is downloaded once again. I'd like to store in cache, so that it could be played instantly and smoothly for the 2nd and further times player runs the game. How do I do it?

    Tagged:

  • Hi there,

    I have a big video (by using Video plugin, of course) in my game (~100MB). I'd like it to be cached, so that players wouldn't have to wait till it's downloaded and ready to be played smoothly every time they open the game. Is it possible?

    Tagged:

  • Hi,

    I've been seeing this info saying that Construct 2 will be fully retired on 1 Jul, 2021 for maybe even a year. I've already bought C3 licence and done one project in it, but I have a lot of projects made in C2 that I wasn't able to port to C3 yet, because of lack of time. I just thought that it will always be possible to modify old C2 project using old C2, so that it doesn't use plugins unsupported by C3, and then to open it in C3. But now I know that Scirra also wants to get rid of C2 runtime from C3. And this information together with some Scirra's prompt saying that they recommend porting C2 projects to C3, because after 1 July it might be not possible to open C2 projects in C3 (I'm not sure if it was exactly like that), makes me confused. I just would like to know if I still will be able to do these ports after 1 July, putting some work into it of course, even through opening it in older C3 versions with C2 runtime? I'm just afraid that some of my C2 projects might be completely useless in the future if I won't port them before 1 July and I'm considering to fully focus on porting all my games at this moment, but due to other duties I'd rather schedule the whole process for longer time.

    Ashley If you could clarify this matter, it would be really great.

    Thanks.

  • Yup, I know that there's this option, but it's not exactly what I meant.

  • You can only use the characters in the "Text" field that are listed in the "Character set" field. If you use some cyrillic letters, when you have "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#"'&()[]|`\/@°+=*$£€<>" as a default character set, nothing will be displayed.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Take a look at the system expressions in the section "Text" here:

    scirra.com/manual/126/system-expressions

  • Is there any way to display only the events (and their parents) that match the phrase you're searching for? It is the way the "Search" feature works in Construct 2 and for me it is almost perfect (only lacks highligts).

  • Do you know how I can use the array.At expression to point the return value to a specific line on the array, say the second or third row?

    1 dimensional array: Array.At(1) - returns value at element of index 1

    2 dimentional array: Array.At(1,3) - return value at element of index 1 on the X-axis and index 3 on the Y-axis

    3 dimentional array: Array.At(1,3,5) - return value at element of index 1 on the X-axis and index 3 on the Y-axis and index 5 on the Z-axis

    I highly recommend you reading manual (https://www.construct.net/pl/make-games ... onstruct-3) when you don't get something. You can find there many really useful information. At the beginning you probably should read these two parts:

    https://www.construct.net/pl/make-games ... ves/events

    https://www.construct.net/pl/make-games ... nd-guides/

    It would allow you to get better understanding how evertyhing works in Construct and prevent you from making mistakes that results from many misconceptions <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

    Also, how do I cycle through the Y axis instead of the X? Some of my buttons will cycle downwards through the array instead of across.

    You make the same things as in my capx but the only difference is that you change Y index instead of X index. So it would be "Set text to Array.At(0,itemNR)" if you want to cycle through elements of index 0 on X-axis.

  • itemNR tells you which item is currently selected. "Set item to: (itemNR+1)<=2 ? itemNR+1 : 0" lets you go through your list. It goes like this: 0 (remember that it's the first index in the array), 1, 2... and in my example you don't have 3rd array index, so you have to return to 0 index. So the exact performance is:

    • your current itemNR=2,
    • on touched Sprite the condition is checked: (2+1)<=2; it's not true, so Construct sets itemNR value to 0.

    Take a look at Operators part here:

    https://www.scirra.com/tutorials/77/nat ... onstruct-2

  • Here you have an easy way to achieve this:

    https://www.dropbox.com/s/riibqex9fb8wt ... .capx?dl=0

  • % is a symbol of modulo (reminder after division) e.g. 10%3 gives 1.

    If you want to check if player's health is more than 50% you should compare this: player.health/player.maxHealth>=0.5

  • It works like that. You can check it by creating at start of layout e.g. 2000 of rotating sprites and see how "visible"/"invisible" and 0 opacity/100 opacity parameters affect CPU.