Onix Games's Forum Posts

  • Thanks for the advice Ashley, that totally works!

    Here's an example file that demonstrates this in action:

    https://drive.google.com/file/d/1mnY1Qz9ltXWAuC6-R2TYTah1VVfVnJk3/view?usp=sharing

  • Hi Everyone,

    So I made some progress!

    I figured out how to save to a custom folder using NW.js. Here's an updated example—it works perfectly fine:

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

    However, the size of this simple game is very big (135MB zipped, unzipped is 288MB). So… I would love to achieve the same functionality using the new File System object and Windows WebView2 export instead.

    If anyone has any ideas or examples on how to do this, please let me know! 🙏

  • Hi everyone,

    I’m working on a simple platformer in Construct 3 and need some help with implementing a save system using the new File System features.

    Here’s what I have so far:

    • Currently, I’m using the standard save system in Construct 3, and the game saves to a save slot.
    • If player overlaping a save point and press S - that will save the game.
    • If the player collides with spikes, they die, and the game reloads from the last save point.

    What I’m trying to achieve: I want to move away from the default save system and instead save the game to a folder of my choice, such as:

    C:\Users\User\Saved Games

    The reason for this change is to use Steam Cloud, enabling me to sync saves between my Windows PC and Steam Deck.

    I’ve created an example where you can see the code in action. You can check it out here:

    https://drive.google.com/file/d/1b_gROETrNmLasAgryC0HaxnppI6B6Jsh/view?usp=sharing

    I’m unsure how to configure the File System to let the me choose or define the save folder. Any advice, examples, or suggestions on how to achieve this would be much appreciated. Looking forward to your feedback! 😊

    Thanks in advance for your help!

  • Oh, I'm thrilled to have stumbled upon this topic; I'm facing a similar issue with Steam cloud save. I'm curious, have you managed to resolve your problem, did you find location of the save file? Any advice would be greatly appreciated."

  • You are probably right LukeW. It wasn't good solution anyways, because game performance slowed down. Better solution is to adjust the code as I did above. Thanks for your reply.

  • I was mange to fix that visual glitch. I don't know why is happening. Perhaps Ashley could give an idea.

    Anyways here is my fix in 3 simple steps:

    1. As you see on Hit Animation finished I programmed to destroy that sprite. I have removed that line of the code.
    2. Instead I have added 0.1s delay after hitting enemy. After 0.1s Hit Animation is destroyed
    3. Just in case if Hit Animation is not destroyed the last frame of this animation is empty. So it won't be visible even if it will stay on the screen.

    If anyone else propose better solution - please share. Thanks in advance. But this works so far and I hope it will stay that way.

  • Thank you Ashley, I have noticed that game performance was slow. So I have changed Frame Rate Mode in Project back to V-Synced. However this visual glitch is back.

    Looks like that:

    When I hit enemy, then enemy spawns hit sprite animation. The first frame of that hit animation appears as a black square. But my hit animation don't have any black square frames.

    If you have any idea why this is happening please advice. Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have encountered same visual glitch in my game. I think it might be related with Frame Rate Mode. I have changed Frame Rate Mode in Project settings from V-Synced to Unlimited (Full Frames) and glitch is gone. At least for the moment. Hopefully it will stay that way.

  • Oh, that is great that you did that. Quite possible they fixed that, beacuse it seems that jumping on moving platforms works just fine now.

  • Hello Tibolli

    I use Construct 3 and I think I have exactly same problem with my game.

    When jumping on moving platform (jump through + sine) from time to time player is falling down through the platform.

    Thank you for posting your solution. I understand that you have added to moving platform a solid behavior. The solid behavior is activated when player is overlapping that sine moving platform?

    I wonder can you share your solution with more details? Is there a trigger? What is the offset value?

    Or perhaps you could share a file with your solution or print screen? I would really appreciate that. Thanks in advance!

  • Thank you. That is great. I have unchecked those options and compiled game again. Seems that everything works fine now. Thank you for help.

  • Hi TheFaith30

    Thanks for checking game on other deivces. I really apriciate that. I have also checked Big Picture Settings (that works).

    Can I ask you to check one more thing. Here is a picture of my STEAM dev app admin (Input options).

    I have selected few tings there, maybe that is cause of the problem..

    Can I ask what do you have selected in your games? Many thanks in advance.

  • Hello TheFaith30

    Many thanks for your respond. I will try to get last SDK.

    I have made game by myself.

    Ps. Great Avatar, GODS?

  • Hello guys :)

    I have a small problem. I have recently published my game on STEAM. Seams some people have a problem with their controllers. Simply their controllers doesn't work.

    Someone suggested me to check out those STEAM settings: SETTINGS -> Controller -> GENERAL CONTROLLER SETTINGS. Select Xbox Configuration Support.

    That helped. However is there anyway that controller could work straight away?

    If anyone could test if their gamepad works?

    The game is here: store.steampowered.com/app/1412170/Janosik

    It is free to play.

  • That looks cool. I love the animations. Game looks really smooth. Well done and good luck :)