Soul3's Recent Forum Activity

  • Sure!

    Add a new event, choose "System", then "On Start of layout".

    Click B while selecting this event, to add a sub-event.

    Add a new event, and choose "System", then "For".

    The rest is easy, so I will show you the final result instead:

    Try to play around with this to fully understand it :)

    Say Variable1 is "word1 f word2 f word3".

    First we need to know how many "word"s are in there. That's why we use tokencount().

    Then we need to get each one of those "word"s in order. That's why we use "For".

    "For" is like a counter, it starts from 1,2.. until it reaches our "word" count (in this case 3).

    The big Action on the right of "For" takes each word (using tokenat()), surround it with [color] tags and add it to Variable2.

    You will find more about tokenat() and tokencount() here. You can find more about "For" here (under the "Loop" section).

  • Thanks. It is a progress, but still needs some more work.

    I separated the front of the monitor from its "back", so the coin can go behind the border now and front the blue background of the monitor.

    Still working on how to hide the part of the coin which is outside of the monitor.

  • (For some reason I can't write "ि" correctly, so let's say it is "f")

    If I understand correctly, you have Variable1="word1 f word2 f word3" and you want to make "word1", "word2" and "word3" colorized?

    What you are doing now is that you are replacing each "f" with a colorized "f". You are colorizing the "f", not the words.

    You could take a look at the "tokenat" function, which you can use with a System:For loop event to split Variable1. Then you can replace each "word" with a colorized version. It will be something like:

    1- tempVariable = tokenat(Variable1,"f",loopindex)

    2- Variable1 = replace(Variable1,tempVariable,"[color=#ff0000]"&tempVariable"&"[/color]")

  • Hello,

    I have a Background and a Monitor sprite. The monitor has some coins moving in and out, but I need them to be cut from the background, i.e. The visible part of the coin is only the part that is within the Monitor border.

    In this image, the upper half of the coin should be Masked by the edge of the monitor.

    I played around with Blend Modes, but I think I need more layers (which I don't have access to right now). Will this be possible using layers, and if so, please how?

    Thank you.

    Tagged:

  • Hello,

    I am trying to make a color picker, and it would be easier to have access to the Color property of the object.

    Is that possible? Is there an easier way?

    Thank you.

    Tagged:

  • Thank you :) I will give it a try.

  • Thank you.

    What we currently have is:

    A Construct3 Game (the camera sample made by Scirra) exported as HTML5 and uploaded on a server.

    It works fine in Browser.

    A Flutter app (with Camera permissions in the manifest) with a web view.

    The game doesn't work in the web view. It doesn't even list the available cameras.

    Is there a way to allow the webview to access the cameras?

    Also, if we can access the camera somehow in flutter without the webview, can we send this camera stream to the game. i.e. if the game can't access the camera from the webview, we will access the camera from outside the webview and send the stream to game?

  • Try Construct 3

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

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

    I tried the Camera example and it is working fine in the PC browser.

    It is working fine in Chrome on Android.

    I made a web view using flutter that displays the camera sample (uploaded at a https URL on my server), the page finds and lists the available cameras, but when I click "Get Camera" button, it is always declined.

    My App has the Camera permission On and requires the camera in the manifest.

    Note: The above scenario uses flutter's WebViewScaffold. When I use flutter's WebView, the app crashes whenever I click on the list to pick a camera (the cameras are listed correctly, though)

    Thank you.

    Tagged:

  • Hello,

    I am making a mobile game that is like a portal for other mini-games.

    the mini-games will be developed in the future and will be available on a server.

    Each mini-game will have its own Layout, Event Sheet, Images, Audio ..etc.

    Is there a way to be able to check for new levels on the server, download the new mini-games and add them to the main game?

    The game will be on Android and iOS.

    Thanks a lot :)

    Tagged:

  • Yeah.

    Working on mobile makes things harder. We basically need to make a game A that downloads, installs, and run other games B,C,...

    Either download them as standalone or embedded in game A is OK, but the more streamlined the process, the better :)

Soul3's avatar

Soul3

Member since 7 Apr, 2019

None one is following Soul3 yet!

Trophy Case

  • 5-Year Club
  • Email Verified

Progress

6/44
How to earn trophies