sTARKi's Forum Posts

  • This is important to me too. I'll be releasing the game on Steam soon.

  • A looser idea could be to have the fly always moving and just gradually rotate towards a target. Since it a fly we don’t mind it overshooting the target.

    Every 0.25 seconds:
    — fly: set targetx to bag.x+random(-100,100)
    — fly: set targety to bag.y+random(-100,100)
    
    Every tick
    — fly: rotate 50*dt degrees towards (self.targetx, self.targety)
    — fly: move forward 50*dt pixels

    Another idea could be to just have the fly move forward and randomly turn left or right. To make it turn smoother you could randomly affect the amount the turning rate changes per frame instead of changing the rate directly. All that’s left is to check to see if it leaves the area and steer it back.

    Also in the same vein as the orbit behavior you could apply multiple sine behaviors to the fly to make a believable random looking motion.

    Thanks!

  • There are two options, the parameters need to be adjusted for a realistic look.

    https://fex.net/s/ebssado

    Thanks!

  • Maybe the Orbit behaviour would work?

    https://www.construct.net/en/make-games/manuals/construct-3/behavior-reference/orbit

    Or if that's too simple, Timelines would also work:

    https://www.construct.net/en/make-games/manuals/construct-3/project-primitives/timelines

    Thanks for the ideas. "Orbit" might work, unless other people suggest some other options.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How do you create flying flies?

    The flies are black sprites measuring 6x6 pixels.

    They fly around a single point.

  • Hmm interesting. That seems to be an artifact due to how the text is rendered. It's probably intentionally rendered pixel-perfect to ensure it always displays as crisp as possible, which is why it stutters.

    I think your options are:

    1. On start of layout, you can render the Text you need onto canvas objects. These should not have that issue. Something along the lines of:

    - Set text (based on whatever language you need)

    - Paste text object to canvas object

    - Destroy or hide the text objects

    I'd recommend trying this first.

    https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/drawing-canvas#internalH1Link7

    2. Use a Spritefont since it doesn't have this issue. You'll have to find a font that supports all the special characters you need for all the languages you want to support. You can use this tool to generate a spritefont construct.net/en/forum/game-development/tools-and-resources-27/sprite-font-generator-v3-64038 You need to make sure to plop down all the special characters in the tool for export.

    This is what I have used in the past which I think should support English, French, Italian, German, Spanish and Turkish if I'm not mistaken.

    > ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#"'&()[]|`\/@°+=*$£€<>%ÀÂÄÇÉÈÊËÎÏÑÔÖÜÙÛİĞŞàâäçéèêëîïñôöùûüßığş

    Thanks! A long time ago, I used the "drawing-canvas" method. But I suddenly discovered that on some Mac models, there was a pink area instead of the "drawing-canvas" — perhaps they didn't support that type of rendering.

  • If the text moves slowly, you can see it stuttering, which is a problem for me.

    Any ideas on how to fix this? Using images instead of text would be slow and difficult (due to the large number of languages ​​and texts).

    I’ve attached the game file.

    drive.google.com/file/d/1Ry3zfPs781trgvg2hgziPSjHjy9N9yVE/view

  • You do not have permission to view this post

  • I received help with the answer to the first question, a person helped me, here is the source code, thanks to which you can fix the game window in the center of the screen.

    X - PlatformInfo.ScreenWidth/2-PlatformInfo.WindowOuterWidth/2

    Y - PlatformInfo.ScreenHeight/2-PlatformInfo.WindowOuterHeight/2

    Text - PlatformInfo.ScreenHeight&" : "&PlatformInfo.ScreenWidth&newline&newline&

    PlatformInfo.WindowOuterHeight&" : "&PlatformInfo.WindowOuterWidth&newline&newline&

    PlatformInfo.ScreenHeight/2-PlatformInfo.WindowOuterHeight/2&" : "&

    PlatformInfo.ScreenWidth/2-PlatformInfo.WindowOuterWidth/2

  • Hey, I'm almost done with a big game and I've encountered a strange problem. I can't figure out how to fix it without major changes to the structure. Any ideas?

    I've attached a screenshot of the events and the problem. If the "Close Browser" option works in one line, but not in another, that means the events aren't working at a certain point, and those events involve loading a save file for the entire game.

    Another strange thing is that I have a button to reset all my game progress, and if I press it, the game works fine and my scheduled tutorial starts, but if I exit the game and re-enter it, the screen is black again and the code doesn't work in the place shown in the picture above.

  • Here's an example of switching to full-screen mode and back.

    https://www.construct.net/en/forum/construct-3/how-do-i-8/properly-set-cameras-location-188514#forumPost1130035

    But if you've already minimized the game window, it has lost focus in your operating system, and you'll need to hover over it and maximize it yourself.

    Thank you!

  • 1) I want to use the Browser plugin to set the game window position (in non-fullscreen mode), but I don't understand how to do it correctly, what formula should I use? I understand how to do it in the game, for example, using the viewport, but here it's like Windows itself. Or should I just manually adjust the coordinates by eye?

    2) I minimized the game using command "minimize window" on PC. Can I now restore it by pressing a key? Or is the only option to hover over the game and maximize it?

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Hi, I'm a zero in technical knowledge, I want to ask questions.

    want to publish a game on Steam.

    1) Can I launch my game and get data from a specific streamer—their channel's subscriber count?

    2) I wonder if there are any technical limitations? For example, if I launch a game and it tries to get subscriber data from 100 bloggers? Or 1,000 bloggers? Or 10,000 bloggers? Will game freeze or not?

    If there is someone who can help me integrate the streaming platforms listed above into my game, please leave their contact information. Perhaps in the future I will commission integration work from you (paid).