waldemarlima's Forum Posts

  • Hi all ! How u doing ?

    Is it possible to use images or sprites to create effects using Shader in construct 3?

  • I will explain my situation in detail:

    my game is multiplayer (4 players per game), and I would like each player to be able to choose their own "skin".

    However, there will be skins that I will be able to make via sprite animation, and others that I want to use construct resources to animate.

    Is there any way to run each animation one by one in each eventsheet or js script?

    Tagged:

  • awesome ! thanks :)

  • where can i found it ? fedca

  • Hello everyone, sorry for the delay, I was very busy at work.

    I'm facing the following problem:

    I created 3 screens:

    1st Intro: Shows the developer logo and then goes to the Login screen

    2nd Login: where the login is done and after the login is completed, it goes to Loading

    3rd Loading: Loads the user's account information

    Location of the problem:

    I noticed that when I logged in, I created an event to hide the form and display a Spinner to symbolize the loading of resources from one screen to another. However, when I opened the Inspector and went to the : network usage tab, I also noticed that when I changed screens, the resources are loaded, and on the Loading screen I have a Sprite with 110 frames of 1000x1000, so it will obviously take a few seconds to load all the frames. And when loading is when the spinner on the Login screen freezes. (Visibly to the eyes)

    How did I solve it?

    On the Intro screen, I placed the Loading Sprite and defined it as Global, and I noticed that the crash disappeared, because the Sprite was already pre-loaded.

    Even though I solved it, it sounds like a hack to me...

    Is there a way to pre-load large resources or resources that I want without having to do hacks to make it work and without the Intro screen creating a huge mess?

    Ashley

  • I have a freezing problem when changing screens, when opening the inspector, I see that the crash is due to the request to load the frames of my sprite.

    So far I haven't been able to understand the concept of ObjectRepository in practice, as I haven't been able to make it work yet.

    The solution I had was to create a loading screen with the logo of the developers and supporters for a few seconds, so that they load these assets "selected as global" so that there is no "hang for a few moments" ...

    This sounds like a "hack" to me ....

    Isn't there a more effective way to do this?

    It's incredibly sad and demotivating... From my point of view, this situation proved to everyone a single reality: SCIRRA couldn't care less about the advanced community, given that the vast majority of its customers are school-aged children and hobbyists. Such an incredible community, simply left to fend for themselves.

    I really wish to be wrong in my opinion, but I think this decision is shooting Scirra in the foot...

  • Scirra compiled its own version of WebView2Loader.dll ?

    or everything related to webview2, is it default?

  • Hello guys, can anyone shed some light on how I can add more dlls to be loaded into my exported project with webview2? together with steam and epic games?

    I want to add more dependencies to my project..

  • Hello everyone, is there already cryptography plugin support in JavaScript? I want to encrypt messages before sending them on websocket.

  • Is there any way to do this in javascript?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hello everyone, I'm trying to create a function called decrypt, but I would like the function to only return a string, when all conditions are successfully satisfied...

    like below :

    is there any way to do this?

  • thank u

  • hello everyone !

    I want to add an addEventListener to a button created within an Html Element.

    HtmlElement:

    <div style=" position: absolute; width: 100%; height: 100%; background-color: rgb(24, 55, 55); opacity: 0.95;">
    
    <img src="https://media.tenor.com/On7kvXhzml4AAAAj/loading-gif.gif" alt="Loading GIF" style="max-width: 60px; max-height: 60px; margin-top: 15px; margin-left: 15px">
    
    <p style="font-size: 20px; color: white; margin-top: -60px; margin-left: 115px; ">SEARCHING MATCH</p>
    
    <button style="position: absolute; width:100px; height:25px; margin-top: -10px ;margin-left: 158px;" type="button">Cancelar</button>
    
    </div>
    

    script :

    var button= document.getElementById("mybtn5");
    
     // Adiciona um ouvinte de evento para o clique no botão
     button.addEventListener("click", function() {
     alert("clicked");
     });

    is there any way to do this?

  • Hello everyone, I would like to return some custom information to the Client when performing a custom authentication in construct3...

    example below:

    { "ResultCode": 1, "UserId": "SomeUniqueStringId", "Nickname": "SomeNiceDisplayName" , "Data": { "avatar": "linktoAvatar", "Level": 10 } }
    

    Is there any way to read the results of : "Data" -> "avatar" and "Data" -> "Level" ???