ZZXZZX's Forum Posts

  • 15 posts
  • Hello everyone, currently I still didn't find the root cause but I decided to use the 1280*720 resulution instead of 640*360 now and keep Pixel Rounding unchecked, Fullscreen High Quality to continue my development. It is still appreciated if someone who find the reason or solution to share~ Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Could that be some kind of moiré pattern? Because of the low resolution. Have you tried different sampling modes? Is there a difference between Low or High Fullscreen Quality?

    I don't think it's moire pattern.I have tested it on 2 differnt laptops and screens, the same issue occured. And I have tried different sampling modes, nothing change even worse. Also Low Fullscreen Quality is worse so I use High Fullscreen Quality. I don't know what else I can do.

  • Hi everyone,

    I'm experiencing a strange visual issue in my Construct 3 project, and I'm hoping someone can help me identify the cause.

    When my sprites are moving(pathfinding behavior), their outlines appear thicker than normal, almost as if there is a faint duplicate image or a trailing effect behind them. There is also some noticeable flickering during movement.

    However, when I take a screenshot of the game, every frame looks perfectly normal. The issue is only noticeable when the sprites are actually moving.

    *Project settings*

    - Layout resolution: 640 × 360

    - Sprite original image size: 32 × 32 pixels

    - Actual sprite size in the game: 32 × 32 pixels

    - The visible artwork inside the original image is approximately 18 × 20 pixels(because of different frames), with transparent space around it.

    - Sampling: Point

    - Fullscreen mode: Letterbox integer scale(because my artwork is pixel art)

    - Display resolution: 1920 × 1080

    - Preview browser: Google Chrome

    - Construct3 version: r506.3(stable)

    *How my objects are set up*

    I use two separate objects:

    - SpriteBass (16 × 16): The logical object responsible for movement, collision detection, and attack-range calculations.

    - Sprite (32 × 32): The animated sprite, pinned to SpriteBass using the Pin behavior.

    *Tests I have already performed*

    I've tried several things to narrow down the cause:

    1. Reduced the Sprite's movement speed by half. The trailing effect became less noticeable, but it was still present and flickering still happened.The trailing effect vanished until the Sprite doesn't move.

    2. Changed the original 32 × 32 sprite image to a cropped 16 × 16 image. This made no difference.

    3. Temporarily disabled the Sprite's animations and used a static frame while continuing to move the object. The trailing effect and flickering remained.

    4. Removed the Pin behavior and tested the movement independently. The issue remained.

    5. Forced the Sprite's X and Y coordinates to integer values using 'round()'. This did not solve the problem.

    6. Changed the Layout resolution from 640 × 360 to 1280 × 720. The trailing effect became significantly less noticeable and almost disappeared when the Sprite size remained at 32 × 32.

    7. However, when I increased the Sprite size to 64 × 64 and doubled its movement speed in the 1280 × 720 resolution,the trailing effect appeared again.

    *My guess*

    The issue seems to be related to the configuration rather than the sprite image itself or its animation.

    This trailing effect is really makes me feel dizzy when I look at them... ToT

    Has anyone experienced something similar?

    Are there any project settings or rendering options I should check?

    Any suggestions would be greatly appreciated. Thank you!

  • Hey SoupOrWorm, did you finded a way to solve? I've a similar issue with this plugin. My App ID inside the plugin is correct. But when I upload to steam, the "Is Available" condition always go to false. And my achievements don't work anymore...

    Hello, actually I didn't use the "Is Available" condition, for my project, I just use "Unlock Achievement" expression, like in the screenshot.

  • > Thank you so much! But I fixed the issue with the help of Steam documents and Chatgpt, the truth is that a vdf script should be added along with the GameInputRedist.msi and the scripts in the content need to be edited a little, finally it worked!

    I am trying to do this, and have got the redist file in the root directory and the vdf file that points to it. When I look in the depot its flagged as "install script", but it just doesn't seem to pop up the installer when I launch the game. Could you give me some more info on how you set it up?

    Hello, yes, the installer will not be showed, it will be installed silently when you launch the game. After installed the GameInput, then your game will be opened.

  • > > Download the steam SDK

    > > export your game

    > > unzip and place all files into the content folder (Found within the SDK folder)

    > > open the steampipegui found in the steam SDK and put in all relevant details then upload.

    > > then go to your steamworks dashboard and go to the app admin for your game and if you put the details in correctly in the steampipegui there should be a build you can set as default.

    > >

    > > I know this isnt the best guide, im quite new as well, but tell me if any of it helps or where you get stuck and i will try my best to help some more.

    >

    > Hello, I'm new here also, and I have tried your methods to use steam SDK for uploading, it works, really thanks for your sharing, but there is another issue I have encountered, that is the gamepad issue, when I open my game in steam, the gamepad just cannot be used, but I'm sure it works without steam, so I tried to find the manuals(https://www.construct.net/en/make-games/addons/1105/steamworks/documentation) and I found the the issue, but I don't know how to let users to install gameinput first, I tried to add the redist/GameInputRedist.msi in the content folder to build together, but still not work, do you have any suggestions? Really look forward to your reply.Thanks!

    Im glad it helped. Nothing comes to mind but if you upload the source file i could have a quick look for you and see if i can figure anything out.

    Thank you so much! But I fixed the issue with the help of Steam documents and Chatgpt, the truth is that a vdf script should be added along with the GameInputRedist.msi and the scripts in the content need to be edited a little, finally it worked!

  • You need to configure your Steam app to run the GameInput installer when installing the Steam app. I'm no expert on this as we do not publish content to Steam ourselves, but it looks like the way to do that is with install scripts.

    > it turns out to be that he can use gamepad without any issue while I cannot

    This is probably because they had GameInput already installed by something else, whereas you did not. You need to run the GameInput installer to make sure it is installed.

    > when I checked another C3 game(which gamepad is also working for my laptop) file downloaded from Steam, there is no "scirra-gameinput-x64.ext.dll" in the package

    There have been some recent changes to support the Steam Overlay. Older games may either work differently or not support the overlay.

    Thank you Ashley! I followed your instruction in the provided link, and to be honest, with the help of Chatgpt, I finally add the correct script and make it work!

  • Dear all, recently I have uploaded my C3 game on Steam with SteamPipeGUI successfully, I can test my game in Steam now, but I found a problem that the gamepad is not work in the Steam, it shows "[GameInput] Failed to initialize GameInput".

    I have looked up in the documentation for steamworks here:https://www.construct.net/en/make-games/addons/1105/steamworks/documentation and it describes the gamepad support issue I met. So I follow the instruction to extract the redist/GameInputRedist.msi file, and add it into my project file, uploaded to steam together, but still not work. Maybe I am not doing it right, I am not sure.

    I have looked up in the steam manuals as well, but I cannot find related information about gameinput, I hope someone could help me if I missed some important tutorials in Steam.

    Also, I have let my partner tried the same game on his laptop downloaded from steam, it turns out to be that he can use gamepad without any issue while I cannot, so I started to doubt that the issue might be my laptop issue. Then I tried another game in the Steam which I am sure is made by C3 too. This time the gamepad works on my laptop, so I finally think the issue is not about my laptop, is about my project. Maybe I am doing it wrong, but the keyboard is working fine in my project.

    I have checked the zip file I exported from C3, it includes the file called "scirra-gameinput-x64.ext.dll", but when I checked another C3 game(which gamepad is also working for my laptop) file downloaded from Steam, there is no "scirra-gameinput-x64.ext.dll" in the package, so I am confused, this file is automatically included when I export from C3, why doesn't another C3 game include it and gamepad still working for me?

    I really appreciate if there is anyone familiar with the steam issue could help me here.

    Thanks!!!

  • Download the steam SDK

    export your game

    unzip and place all files into the content folder (Found within the SDK folder)

    open the steampipegui found in the steam SDK and put in all relevant details then upload.

    then go to your steamworks dashboard and go to the app admin for your game and if you put the details in correctly in the steampipegui there should be a build you can set as default.

    I know this isnt the best guide, im quite new as well, but tell me if any of it helps or where you get stuck and i will try my best to help some more.

    Hello, I'm new here also, and I have tried your methods to use steam SDK for uploading, it works, really thanks for your sharing, but there is another issue I have encountered, that is the gamepad issue, when I open my game in steam, the gamepad just cannot be used, but I'm sure it works without steam, so I tried to find the manuals(https://www.construct.net/en/make-games/addons/1105/steamworks/documentation) and I found the the issue, but I don't know how to let users to install gameinput first, I tried to add the redist/GameInputRedist.msi in the content folder to build together, but still not work, do you have any suggestions? Really look forward to your reply.Thanks!

  • A few years ago I wrote a whole blog post on this topic: The surprising difficulty of resizing images on spritesheets. That explains the problem and what to do about it (tl;dr: set the project property 'Downscaling quality' to 'High')

    Thank you Ashley! Now I finally understand why it happens. It really helps!

  • Hi.

    You've raised two issues here.

    -- First, to avoid those stripes along the edge of the sprite, always leave a few empty pixels at the edge of the sprite—I've highlighted this in green in the screenshot. And the more your sprite can be scaled, the more pixels you need to leave.

    For example, I make games for different screens and resolutions, so I export an image that’s 250x250 and then place it in a 256x256 sprite.

    -- Second, if you’re not using pixel art and you want it to look good, you almost always need to have small objects at a slightly larger original size.

    So your option number 3 will be the best choice, but you also need to be reasonable.

    In the screenshot, I’ve marked the scaling in orange; for my own games, I try to keep it around 80% for small objects—that way, the graphics aren’t too heavy, and on high-resolution screens, it doesn’t stand out too much.

    Thank you so much for your detailed explaination!

  • Hello everyone, I'm making a small game and seeking for help with the following issue~ I am not sure if it is a C3 bug or I am doing it in a wrong way, it would be appreciated if someone could give me any advice.

    I have made a spread sheet of a small red clock, the original image size is 256*256, but I need it to be resized as 64*64 in my game, so I tried different ways(acutally 4 different ways) and I got different results.

    Please refer to the following screenshots when playing the animaiton as follows:

    1. The first clock is using the original size of the image which is 256*256 when creating the sprite sheet, but I resized it into 64*64 in C3 Animations Editor(Animations Editor -> Resize), we can see that its resolution is not very high, but there is no weird line when playing the animation.

    2. The second clock is using the 64*64 size of the image which I resized outside C3(using other tools on my computer) when creating the sprite sheet, we can see that there is no weird line when playing the animition and resolution is better than the first clock, but this way is not very convenient because I need to resize these images outside C3 first by usint other tools instead of resizing them in the C3.

    3. The third clock is using the original size of the image which is 256*256 when creating the sprite sheet, but I resized it into 64*64 in C3 side bar(PROPERTIES -> COMMON -> Size). In this way it is convenient for me to resize the sprite in the C3 and its resolution is quite high, but however, there is an obvious weird line when playing the animation. Actually there is more than one line, it is like a square outline of the sprite flickering when playing the animation.

    4. The fourth clock is using the original size of the image which is 256*256, there is no weird line when playing the animation and it is really high-resolution. It is perfect except the size is not I wanted.

    I really prefer the third way to do my project,it is the most user friendly way, but it looks like a bug and I am not sure if I am doing it correctly. Does anyone also have this issue? Why does it occur and how to fix it?

  • 0.3*len(Self.PlainText) is wrong because it takes the current text instead of the text it is supposed to be typing. Replace "Self.PlainText" with the array.at() from the top part.

    It worked!!! Thank you so much!!! :-D

  • Here's how I do it:

    Type_Speed is a global var set to 0.03 (or whatever speed you want).

    The important part is setting the text to the sprite font before you run the typewriter text e.g., Sprite font set text: "Hello World!"

    Hope this helps.

    Hello Pigpud, thank you so much for your advice!

    I've tried but I still failed.

    I think this issue is mainly on the array, although the feature I'm working on is about the story, but the text displayed is from an array which includes different languages, so I doubt the issue is here, for the text part, it is from an array instead of a fixed text.But I don't know which part is wrong and how to fix it.

    Here is the screenshot of my part, hope this can help to clarify my situation:

  • Hello everyone, I'm new here and I'm working on a small project which including many different stories.

    When I try to perform a typerwriter text effect, I'm using this expression: len(Self.PlainText) / 5 for Duration field.

    But then I tried to test this effect, I found that the longer text it is, the quicker the text will displayed. Different length texts have differnt speed of the typerwriter speed.

    My text reads the value form the array, I'm not sure if it is the reason affecting the speed.I just want to set the typewriter speed as a fixed speed.

    Does anyone who knows how to fix this problem?

    Many many thanks!!!

  • 15 posts