rizzen93's Forum Posts

  • 15 posts
  • I managed to fix it.

    1.download a copy of the project in c3p format

    2.Change the extension to zip and > extract all.

    3. EventSheets.TXT > Event sheet where your variable is present open with a test editor (Notepad)

    4. Add this Below : In the first lines.

    For number variable :

    this creates a variable called bug

    5.now with the text editor search

    All places where your variable is present

    To search on notepad CTRL+F

    Most of the time you will have "variable": "YOUR_VARIABLE",

    Replace it with Bug

    Attention to the syntax do not delete any replaceable characters only.

  • Hello, I've encountered a problem that has broken my project.

    Right after I saved it I quit the project to restart it and there was an error.

    For me this clearly comes from a local variable which has the same name several times in the project

    Date: Tue May 12 2020 17:55:18 GMT+0200 (heure d’été d’Europe centrale)

    Uptime: 508.7 s

    Platform information

    Browser: NW.js

    Browser version: 0.44.0

    Browser engine: Chromium

    Browser architecture: 64-bit

    Context: nwjs

    Operating system: Windows

    Operating system version: 10

    Operating system architecture: 64-bit

    Device type: desktop

    Device pixel ratio: 1

    Logical CPU cores: 8

    Approx. device memory: 8 GB

    User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (@ac9418ba9c3bd7f6baaffa0b055dfe147e0f8364) NWjs/0.44.0 (like Chrome/80.0.3987.87)

    C3 release: r197.2 (stable)

    Language setting: fr-FR

    WebGL information

    Version string: WebGL 2.0 (OpenGL ES 3.0 Chromium)

    Numeric version: 2

    Supports NPOT textures: yes

    Supports GPU profiling: yes

    Supports highp precision: yes

    Vendor: Google Inc.

    Renderer: ANGLE (NVIDIA GeForce GTX 1070 Direct3D11 vs_5_0 ps_5_0)

    Major performance caveat: no

    Maximum texture size: 16384

    Point size range: 1 to 1024

    Extensions: EXT_color_buffer_float, EXT_disjoint_timer_query_webgl2, EXT_float_blend, EXT_texture_filter_anisotropic, KHR_parallel_shader_compile, OES_texture_float_linear, WEBGL_compressed_texture_s3tc, WEBGL_compressed_texture_s3tc_srgb, WEBGL_debug_renderer_info, WEBGL_debug_shaders, WEBGL_lose_context, OVR_multiview2

    I'm currently trying to convert the project into a ZIP and rename the variables, and I'm trying to fix it myself if you have any ideas that will save my life!

    Thanks

  • Hello, do you still have the project on hand?

  • Anybody got any ideas? Or a lead

  • Hi, I've been doing a lot of research and came across some old posts. On construct 2 it was possible to play an external audio file with nwjs but on construct 3 impossible. I also tried the audio plugin from URL recently released but without success.

    My question is how to make it play external audio files?

    The reason for this post is that I'm developing a small launcher that would allow to have an audible preview of a project if the person linking the project has an audio file that he has on his computer.

    Thank you

    Tagged:

  • Problem solved.

    1.Rename the file package.nw to package.zip

    2.Extract the file, open the file index.html with a text editor.

    3.Between the

    	<head> </head> 
    

    . Add :

    You have to add a < before the script> in the first line

     script>
    			nw.App.on("open", function(args)
    			{
    				nw.Window.open("index.html");
    			});
    		</script>
    

    4.Select all the files, create a zip and not a rar. and rename it to package.nw

    The first start of the program gives you 1 window.

    The second start of the program gives you 2 windows.

    Starting the program for the third time gives you 4 windows.

    Running the program for the fourth time gives you 8 windows.

    I'm sorry to have posted this quickly I found my answers 2 minutes after the post I hope it will be useful.

  • How can I mark the post as resolved I really can't figure out.

  • I've recreated a C3 project and I've transcribed it all over again in 3 hours, but it all works perfectly.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, I would like to know how to open multiple instances of nwjs when the game is exported, just for testing purposes.

    I already tried to modify the .nw package by adding single-instance : false in package.json.

    Then I tried to add a single-instance json script which is executed in the index.html but without result do you have any leads ?

    Thanks :)

  • I used features that C2 doesn't support impossible for me to use C2 export, so I copied the project. Problem solved

  • After trying your answer a white bar appears on the left side.

    But I think the problem lies elsewhere.

    My project has been created under Construct 2 and I work under construct 3 when exporting it is certainly something wrong.

    I have to recreate all the project on Construct 3 and it works.

  • Hi :),

    I have a little problem on my application when I export it in debugging APK, I install it on my mobile and I have a white border like this below.

    This application is intended to be used on mobile phones.

    I also have another problem when I click on a place to enter text my keyboard appears and shrinks all the application.

    Here are my settings in the properties :

    Layout :

    Any help would be welcome, I always had a problem with the choice of resolution ect to adapt this for telephone.

    Thanks

  • hello, I would have liked to know if it was possible to create a drawing software with pressure detection on a graphic tablet? ;) thank you

  • Hi, I am forced to go through a translator I would like to share my experiences because I put like no less than 6 hours to understand what was happening to me.

    I explain to you,

    I made sure that from my applications we can register an account locally that will create a text file that can be modified later.

    I then made sure that at the start of the scene this famous text file is read by the application and the stock in an array.

    The text file looks like this:

    Account Name

    |

    Password

    |

    Class

    Very well at the start of the scene Ajax recovers the file then the stock in a table with tokenat (AJAX.LastData, i, "|"), then I define my variables in relation to their positions in the table. debug I see that the variables have taken their value.

    Then came this famous bug when I put a condition of the type (example the account name is: racaillou).

    If the variable name of account = racaillou (racaillou is currently in the Array and in the variable name of account).

    Can not pass conditions yet when I went into the debug mode that I clicked on the variable that contains racaillou and that I support input it passed true, so I undertook to placed a text entry to see if the variables did not contain spaces or other.

    Like the text entry simply displayed my variable nothing more.

    I then try a lot of things until replace (Array.At (2.0), Newline, "").

    So in the array at positions 2.0 you look for Newline and you replace with nothing.

    And indeed there was NewLine that the operator | to create it.

    I hope this topic will help some people who have a similar problem.

    I'd like to know if Scirra was in the ability to tell us these invisible characters in the engine in any way.

    Thank you for your understanding I hope I have been clear in my explanations

  • Hello I would like to have because since yesterday I try to send a request [DELETE] but the request does not reach the server, es that function [DELETE,PUT] does it really work? function [POST,GET] works well but not [DELETE,PUT] thanks =)

  • 15 posts