H E N R Y 702's Forum Posts

  • Hello, I am using the "load image" action in sprite events, and instead of loading a single frame, I want to start loading a GIF animation. Using "File chooser," I select a GIF animation and then load it into the sprite. However, the problem is that only the first frame of the GIF animation is loaded. I don't know how to load the rest of the frames from the GIF animation.

  • Посилання не працює, кинув запит в друзі в діскорді, якщо ще потрібна допомога

    добрий день . я прийняв якесь запрошення в друзі

  • i would love to help... but... what exactly do you need?

    I'm sorry for not answering for a long time

    For this I left a link in discord

    If you are still here, write to discord

  • THIS IS A BRIEF VERSION OF THE MESSAGE WITHOUT DETAILS:

    Hi,

    I'm a resident of Nikolaev, Ukraine, working on an innovative project that's almost complete. It's akin to Brawl Stars or Wild Rift, but with a unique twist: players create their own characters and abilities using JavaScript within the game. This grants unparalleled freedom, allowing players to design everything from character traits to combat mechanics. Each player's code is sent separately in multiplayer, with safety measures in place to prevent malicious code execution.

    FULL VERSION:

    Hello,

    I am a resident of Ukraine, from the city of Nikolaev.

    My project, which I am developing, is almost ready.

    I'm looking for people to collaborate with.

    Let me get straight to the point of the project. It has a very original feature, in my opinion. Essentially, it's something similar to Brawl Stars or Wild Rift, where characters with abilities fight. However, the essence is that there are no predefined characters. Instead, we create them ourselves along with their skills. Moreover, the possibilities are endless because the player writes JavaScript code that executes within the game and sets the player in motion. In this script, you can specify consequences of the player's death, death conditions, the character's HP, and even easily define abilities, shots, teleports, strikes, and even a targeting method separately. For instance, creating a laser that indicates where the bullet will fly is possible. You can specify the shape of the laser, and it doesn't necessarily have to originate from our player. In short, it's complete freedom of imagination. Of course, there are predefined functions that the code interacts with. For example, health deduction is not done directly in the code; the code calls a function that is predefined in C3.

    You might be wondering how to play this if anything could be a character, even something viral. It's simple. The code is sent separately to each player in multiplayer. I must note that eval is used. Before implementing this code, each player's application checks it for any suspicious texts. For example, using eval inside the code is dangerous, so if the player's application detects this word in the code, the code won't even start running. You just need to exclude all possible words that are mandatory in dangerous code and list them separately. And before executing the code, the application creates an addition to it, for example, to disable the code to avoid errors. For instance, to disable all intervals and so on.

    I don't want to tell you absolutely everything right now. I understand that there may be questions because there are many nuances, but I've anticipated all of them and already implemented them. Ultimately, the code works, and all that's needed is just refinement, as it's all functional but, of course, needs complete refinement. For example, the tools for creating code I made on the fly need to be completely rewritten, as they are very difficult to navigate. The list of dangerous words is not yet complete, and in general, everything needs to be formatted, add currency, and so on. In short, all that's needed is assistance to complete the project into a game. However, it's still desirable to have people who know JavaScript.

    Below, I've attached the APK file of the project. I think it's easy to understand the essence of the project from there, but of course, you won't be able to code in it. It only contains pre-made code because the tools for creating code essentially exist just like that and are mainly made just for the sake of existence, as I don't need them right now. This preview of the project is only needed to understand how the game will look.

    There's much more that I haven't covered because it would be too much information. I hope I've explained the main essence, and I'll explain everything else in private messages. Feel free to write to me either directly on Discord or in a Discord group. If neither link works for some reason, please drop your Discord here.

    drive.google.com/file/d/1VCU6WKX3-ToI5y7mfK7RXKySCz7HBwv5/view

    Character abilities in this example are briefly described as follows:

    The first ability is a sword strike.

    It recharges quickly and has charges.

    The second ability is a forward dash.

    The same ability stops this dash.

    Over time, it stops by itself.

    But there's a bug here that I was too lazy to fix. If it stops by itself, he won't be able to move, so you need to press it again.

    The third ability is a hook that he uses to pull himself toward the landscape. Again, I was too lazy to work on the rope, so it's invisible, so to speak. Some aspects there don't necessarily need to be developed right now.

    The fourth ability is shots, with 4 charges, and every 4 shots explode upon impact.

    discord.gg/W3Yunhc2

    nick7002

  • If there's no such source or nobody knows, it's okay. I just vaguely remember something like that, so I asked in case someone knows.

  • Hello, how to create text construction from blocks like in Scratch, for example? No matter how hard I try to come up with how to do it, nothing works. So that text blocks could be inserted into each other, and it would be clear what was inserted into what. I think I once saw the source code with something similar, but now I can't find it anywhere.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry if this is a little late, but Target Actor references the Actor Number of the user. Each connected user is assigned an Actor Number, with the first player being "1" second being "2" etc.

    Out of curiosity, what are you using Target Actor for?

    Thank you

    Sorry if it's a little late

    I was thinking of using this so as not to send it to every player, but to send the event to one player at once who needs it

  • how to use parameter "target actor" in Photon? This is parameter in event "raise event"

    How to set an identifier for an actor?

    and is it possible to install several?

  • The 3D Camera object provides expressions that can convert from layer to canvas (and back) with a Z co-ordinate.

    but I don't use it

    Is this also possible without it?

  • drive.google.com/file/d/1AZoitSFubfEYTzAd-UQYi1QRXOhufmM4/view

    Hello

    I have tried many projects that use Layertocanvas-canvastolayer

    but they all break when the player changes the Z elevation

    in this case, the point should be moved not to a layer with parallax 0, 0 but with parallax 100, 100

  • You mean at runtime? Maybe with the browser object I guess?

    https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/browser#internalH1Link0

    I don’t understand what the browser has to do with it

    I explained my thoughts in more detail in a previous post.

  • There's eval(), but it's generally regarded as unsafe and sometimes security measures block it from working.

    You can also load a new script file with dynamic content. As Construct uses modules, you can dynamic import a custom script like this:

    > const scriptContent = `console.log("Hello world!");`;
    const scriptUrl = URL.createObjectURL(new Blob([scriptContent], { type: "text/javascript" }));
    await import(scriptUrl);
    

    I'm interested in this "eval()"

    Is it possible to make the command "eval(TextInput.Text)" in the game?

    I need to write text (code) in the game itself using TextInput and then when an event occurs, for example, “when a button is pressed,” perform a script action (eval(TextInput.Text))

    for example in the game there is sprite 1

    and in TextInput write script(sprite1.setOpacity(0.5))

    will it work?

    is there any source?

  • how to create a Java script code in the game itself and use it?

    That is, write it directly in the game itself and use it?

  • > > Привет!

    > > Киев на связи.

    > > В чем нужна помощь?

    > > Готов приступить прямо сейчас к разработке!)

    > > Описание захватывает)

    >

    > Hello

    >

    > I'm sorry for the delay

    >

    > I expected that those who wish would write to me in the discord

    >

    > and therefore did not check

    >

    > are you from Kyiv?

    >

    > I am from Nikolaev

    >

    > write me on discord

    >

    > T O B I A S#6177

    >

    > with spaces

    Искал тебя, никак не нашел=(

    Напиши мне!

    https://discord.gg/AJABHrEq

    мне кажется ты не увидел мой ответ

    навсякий случай напишу

  • Искал тебя, никак не нашел=(

    Напиши мне!

    https://discord.gg/AJABHrEq

    Ты кинул ссылку на пустую группу

    присойдинись к ней

    или к моему серверу

    discord.gg/Da6J3KMAH