Vytswell's Recent Forum Activity

  • That curious, usually an array's Json contain its size as well, maybe it is due to C3 array editor? I never used it so I'm not sure how it works, in C2 I used to make my array through events and then download the Json at runtime, we need someone who knows C3 better

    False alarm, my bad. Everything works great. Debugger somehow shows wrong information, but SetText works as intended.

    Thank you very much!

  • Ok so when you request a project file, you have to specify a tag, after that AJAX has a condition to check when a tag action is complete :

    >On "your tag" completed :

    YourArray > Load from Json (this is where you use AJAX.LastData expression)

    Thanks, It kinda worked, I used action “Load from JSON string” and “AJAX.LastData”. However, everything from JSON array goes to cell 0,0 in the Object Array.

    How can I transfer strings to their corresponding cells? Should I use loop, if yes, how?

  • Thank you for your quick answer, but I don't get it a little, sorry.

    So, I must add AJAX object to my project, okay. Then, on start of my layout I must "Request project file" and select my JSON array.

    What should I do next, how do I transfer data to array (as object)?

  • Hello,

    To make localization easier, I decided to put all text from my game project into JSON array (created in Construct 3 via Project Bar -> Files -> New -> Array).

    As I guess, to start using strings from this array in Event Sheets for Set Text action, I need to load data from this JSON into Array (as object type).

    How should I do it? Or are there any better methods to accomplish this task?

    Thanks!

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, I want to create Xonix as mini-game for my game project. Xonix is a game where player should fence off sections while trying to avoid enemies (https://en.wikipedia.org/wiki/Xonix, archive.org/details/msdos_Xonix_1984).

    Despite the fact, that this game is pretty simple, I can't figure out, how to implement it in Construct.

    Xonix consists of

    1. Player, that can move in 4 directions (using 8-direction behaviour)
    2. Game territory, that should be fenced (I have no idea, how to paint area, when player draws a line from one point to another)
    3. Enemies (that's pretty easy, they just randomly floating or moving towards player)
    4. Score system, that determines how much territory has been captured

    Could you please help me with this?

    Thanks

  • I don't know what's wrong with formatting, sorry. Here is all links, again

    Alcex's "Out Run-like Racer" - alcex.itch.io/psuedo-3d-racer-in-construct-3.

    It's very good documented, but it uses events system instead of scripting, so it performs horribly, not reaching 60FPS with 100% CPU utilization.

    Gigatron's "Outrun plugin" for Construct 2 - construct.net/en/forum/extending-construct-2/work-in-progress-addons-30/plugin-run-104072.

    This one performs exceptionally great, but it's for Construct 2 and it's a plugin, so it can't be used in Construct 3.

    Jakes' Gordon "Javascript Racer" - github.com/jakesgordon/javascript-racer

  • Hello everyone, I'm curious, if it possible to make a good-performing Outrun-style game (or, at least, demo) in Construct 3?

    I have researched this topic a little and found out some examples and demos, but they don't work well.

    1. Alcex's "Out Run-like Racer" -

      alcex.itch.io/psuedo-3d-racer-in-construct-3.

    It's very good documented, but it uses events system instead of scripting, so it performs horribly,

    not reaching 60FPS with 100% CPU utilization

    Gigatron's "Outrun plugin" for Construct 2 - construct.net/en/forum/extending-

    construct-2/work-in-progress-addons-30/plugin-run-104072.

    This one performs exceptionally great, but it's for Construct 2 and it's a plugin, so it can't

    be used in Construct 3.

    Jakes' Gordon "Javascript Racer" - github.com/jakesgordon/javascript-racer This

    one works well too, but it's not a Construct project at all, but uses JS.

    My question is, is it possible to somehow optimize first project, or rewrite is from the third example, or port second plugin to the scripting system of Construct 3? Is it possible to get a good racer in Construct 3, at all?

  • Hi! I'm making a Construct 3 project and I'm facing bad performance on Android due to software rasterization (gpu usage shows NaN).

    Can this be fixed? I have tried both live preview on my device and compiling APK, both show no gpu usage.

    However, my phone supports both WebGL and WebGL2 and I tried several WebGL demos, they are working as intended.

Vytswell's avatar

Vytswell

Member since 21 Dec, 2019

None one is following Vytswell yet!

Trophy Case

  • 4-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

7/44
How to earn trophies