sTARKi's Forum Posts

  • Update:

    https://github.com/gritsenko/c3_spine_plugin/releases/tag/2.8.2

    Fix C3 324 compat and set region ACE for 4.1

    - In the first version of the test project, I used one instance of the hero and cloned it 50 times, maybe this was a mistake.

    - Now I have made 50 unique spine files (but I used the same .atlas .png .json files for all).

    - I also took the latest version of the plugin 2.8.2 and here is the result. If nothing happens in the game, then the CPU usage drops to 20%, good, but if I start to rotate one of the sprites, which is not related to Spine files, then the CPU usage is again 90%, it seems to me that they start wasting resources, although the animation does not play.

    If you want to do an individual test, then I made a source file for you. You may not notice the problem on an Apple device, and if you have a very powerful android device, then you may not notice the problem. I tested on two medium power devices(.c3p) - https://cloud.mail.ru/public/xkxp/giCKGdd2Q

    My game is a search for items, where there are about 200 small robots on the level, I wanted to animate them all a little and turn on 10 pieces at a time so that the game would not slow down. (generally I would like to include all 200 short easy animations, but most likely there is no such method)

  • Hello Mikal. Mikal

    Perhaps you can help. I have the following problem - I came up with the concept of the game and do preliminary testing. I place a lot of spine files on the stage, I stop animations on the game stratum, but the device processor is still very busy. Is there anything you can do to prevent the game from wasting resources processing static spine files? I would like to place 100-200 spine files on the layout and turn them on at different times. (Recently found out about a similar issue, I placed a lot of Particles Generators on the stage, set their rate to 0 and what do you think? The FX Generators didn't work 100%, but they consumed a lot of CPU power, very strange..... )

    I have attached an image from my 2016 tablet. If the spine file is 1-2-5-10, then there is no problem, but my idea requires 100-200, maybe there are ideas.

    update I tried to make all discovered and performance become very accessible, but if I made 1 visible and all the rest invisible, the CPU chokes again, even though one image should be working, all others are invisible and should not consume resources.

  • You do not have permission to view this post

  • Nw.js can read from and write to disk. Your game will write the relevant information to the local drive, and your wrapper app can read from there.

    Cloud solutions would probably be preferable in this type of application though.

    Thanks, yes cloud save is better, but I'm looking for a backup option.

    Do you understand how to combine localstoge + other games (localstoge) + nw.js? Can you take a screenshot of the code? I know how to work with localstoge, but how to write or read the save through nw.js?

  • Hello.

    Imagine the situation, I made an application - a visual shell-loader of the game.

    From the visual shell-loader using nw.js, I can open the exe of any game if I know the path to it, but there is a problem:

    How do I find saves and send them to the wrapper app? For example, I collected coins in game number 5, cool, but I want to have brief game statistics in the shell application, next to the start button, I want to show how many coins the player has already collected. The question is - how can I find the necessary saves on every computer of thousands of people? Or how can I send data from the game to the shell application and then read it?

  • You do not have permission to view this post

  • r308 stable

  • I have a problem too

  • You do not have permission to view this post

  • + Player: Is overlapping TiledBackground_Down_Right

    -> Player: Set Platform vector X to 100

    I don’t really understand your comment, here is my original file, the slowdown works when climbing to the right, but the slowdown does not work when the hero climbs to the left cloud.mail.ru/public/z15X/NTWTWAN95

  • try physics behavior

    Thanks, but it seems to me that physics on the hero and physics on a large Tilemap will reduce performance on mobile devices, I have a level on several screens, this is a large Tilemap

  • Hello, I'm trying to make an identical control for my game, as in the video example.

    I also checked on my device, there are 2 problems that I don’t know how to solve and Google doesn’t help me, like searching the forum.

    1) Sliding if the hero is standing like in the video + I noticed that the sliding increases if the angle of the surface is larger. How to make a Sliding? I think that in the video example, the earth is an object - Tailmap

    2) Acceleration on an inclined surface, how to do? If the hero is running uphill or downhill, then how to make his speed slower or faster?

    I have an idea to put an invisible sprite in these areas and change the conditions of the hero's behavior from contact with it, but this idea is questionable.

    https://youtu.be/yyaLx1n86GI

  • The number of coins is a global variable that you add to. If you give the coins the Persist behaviour then they will remain destroyed when you replay the level. I don't think you need an array.

    Hah, thanks, I forgot about this behavior, just now when I try to clear it, it works for all objects with the Persist behavior

  • Hi, can someone give some advice or make a simple source file? It seems that arrays are needed for my idea, but while studying them, I realized that this is similar to quantum physics ....

    • In general, there are 100 levels.
    • Each level has coins that the player collects.
    • Each level has a different number of coins, 20,50,80...
    • Levels can be replayed again and again.... How to store coins?
    • For example, if I collected some of the coins, the coin counter should increase, and when the level is restarted, there should not be any coins in the place where the player collected them
    • How to download coins that the player has not collected yet, and how to NOT LOAD coins that the player has collected before

    I chose the construct because it is simpler and I can’t master Unity, therefore, if there is a possibility, I just ask for the original one, which I could change to suit my tasks. Maybe I can buy it from you if the price is not high.

  • Hello, I'm a regular user of construct 3 after the main work, I need an experienced developer to implement my idea.

    store.steampowered.com/app/1227750/Puzzle__LINES_AND_KNOTS

    I have a game and I want to upgrade it or make a new implementation from scratch. In order not to take up your time, imagine how much effort it takes to implement such a puzzle and multiply by 2-3 what I will need based on the complexity of the implementation.

    I will describe everything in detail in a personal message, but for now - I need to be able to make a mega puzzle of any size and save and load its individual parts at the right time, by a separate part I mean a playing area equal to one screen on which the puzzle pieces are placed (otherwise if there will be 3000 pieces of the puzzle on the stage, then the players will have 5 fps). The puzzle itself should consist of a Sprite object, which has many animations, each animation is a small puzzle, I will make an image in Photoshop and upload it as frames to the animation)

    If interested, write the approximate cost of implementation and time. spacestarkqtw@gmail.com