KacperStasieluk's Forum Posts

  • Hello!

    Im trying to find method to convert an image to some kind of text, so I can send it somewhere and "read" it later by convert back from text to image.

    For exmaple, my last idea: I know that it's possible to "read" base64 encoded images in C3 by "Load image from" Sprite's method but I don't know if there's some method to encrypt image to base64.

    What I want to do is to store image information in JSON file - and of course read it later in C3.

    Can you help me?

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Hi everyone,

    I am trying to send data from my Questions.json file to my "QuizzArray" Array in my project.

    The JSON looks like this:

    And the code looks like this:

    Now, what it gives:

    BUT... I am trying to build this "QuizzArray" this way:

    0: A, 1, 2, 3

    1: B, 4, 5, 6

    2: C, 7, 8, 9

    What am I doing wrong?

    Tagged:

  • Thank you soooo much! ^^

  • Hello everyone,

    I'd like to taking screenshots in-game and save them into game main folder (as .jpg files for example). Then I'd like to load them from files to Sprite. Is there any option to do this?

    I would be very grateful!

  • Hi guys,

    Is it possible to pick an object instance that is first from left (or other side) of all this object instances?

  • No one answered this question precisely.

    I will try to explain in a few steps how to do it. I hope it will be useful to someone.

    1. Export your program from Construct and unpack it.

    2. Open the folder and find the file there called "package.nw".

    3. Change the extension of this file from .nw to .zip.

    4. Open "package.zip" and find "package.json".

    5. Open package.json using a text editor.

    6. There you will find a line of text: "chromium-args": "--enable-node-worker --disable-plugins --disable-internal-flash --disable-popup-blocking --allow-file-access-from-files --ignore-gpu-blacklist".

    Add to these arguments: --disable-devtools

    So we have:

    "chromium-args": "--enable-node-worker --disable-plugins --disable-internal-flash --disable-popup-blocking --allow-file-access-from-files --ignore-gpu-blacklist --disable-devtools"

    7. Save changes and close "package.zip".

    8. Change the extension of this file from .zip to .nw.

    And that's all. I hope I explained how easy it can be done :)

    Greetings!

  • Hi guys!

    Is there any option to change sampling mode (ex. from linear to point) during the runtime?

    I have a video on separate layout which is playing at the start of game but game is pixel-art style. At this time, video have very low quality (because of sampling: point), but if I change sampling to linear, video is good but all game is like... blurred.

    Have you any idea what should I do? :/

    Tagged:

  • Thank you very much! It's great that it was solved. It could actually be caused by bugs.

    Thank you for your help :)

  • Without seeing your actual code, it's going to be near impossible to diagnose this.

    Thank you for your interest. I quickly made a project in which this error is visible.

    Project: https://megawrzuta.pl/download/9e681ddc51ae117493a919a8b08913ac.html

    and the plugin that I use to create this program:

    https://readymag.com/valerypopoff/valerypopoff-ease-plugin/

    Press the save button and then load. Please look how the "START" text behaves.

  • Hi everyone!

    I couldn't find the answer to my problem. I've probably tried everything to fix my problem.

    In my game I use text scaling, for example when I click on it left mouse button the text increases and back to its natural size. And everything is fine. I saved the game on the slot. I load this game and where there has been a text scaling I have bold and italic text. I tried to change it in debug, but it returned to the bold and italic text.

    When I save the game and load again, everything is back to normal. Over and over again.

    If I need to explain something again, I will try, because I want to solve this strange problem.

  • Hello,

    I have a little problem with exporting my project on NW.js. When I check export to Linux (64 or 32 bit) and Windows (32 bit) it shows "Export failed" after a while. Export is working only to Windows (64 bit) and Mac (64 bit).

    Could you help me? I really need to export my project for each OS available in NWjs.

  • Hi everyone,

    I am looking for solution of my problem. I want to save my LocalStorage's saves to specified location (for example to a sub-folder in my game location). Is it possible to do it?

    I will be very grateful for help. :/

    Tagged:

  • It works, awesome! Thank you VERY MUCH! :D

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads