Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.


  • Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by geckoo

  1. This is the end of the 44th LD. I did a SuperHexagon clone - all is displayed using procedural generation, pooling system and an improved implementation of coroutines ++

    Please login or register to see this link.

    • Like 2

  2. Hello. I have a little question which is not a problem or a bug - just a misunderstanding. When I execute my latest project in the inspector, when it finishes, I have to wait a few seconds (maybe 10 or a little bit more) before I can work again on code, values in inspector, etc. I don't understand why there is this latence - like if Unity has to clean memory or something else before to be available. My project is entirelly procedural (no sprite, no prefab, no defined material or something else) with more or less 3000 lines of code - no warning no error - and it works really good using just a few batches (less than 30),  CPU main - 13/16ms maximum and a high FPS. As an executable under Windows, there is no latence. Have you an explaination? Thank you for your help ++

  3. As usual, just a few words to say that soon starts the next Ludumdare session.

    If you dare, accept the challenge - create a game in less than 72 hours. according a chosen theme.

    If you want to participate, share here a link and this way I can take a look at your project. I will evaluate it with pleasure.

    I am in ++

    • Like 2

  4. Thank you for your answer. Do you mean that each float number use the same 32-bit system?

    3.14f and 3.14159265359f have no difference for CPU ressource?

  5. Hello friends. I have a question about Mathf.PI - The infamous 3.14159265358979 as said Unity main page information :

    Please login or register to see this link.

    I read somewhere that using long float numbers wastes some CPU ressources. I don't know if it is a bullshit or a fact which has been proved. In my project which is essentially a procedural shapes generation I use often Mathf.PI - an infinite float number. Do you think that I have to change it for something shorter like 3.14 or there is no real incidence? Thank you for your advice. I really appreciate it. Have a nice weekend ++

  6. Maybe it's a joke for the first day of April - or this is a real feature under Unity. I don't know :)

    There is a dog as a primitive prefab :

    Please login or register to see this link.

    Take a look at the script below ++

    • Like 1

  7. I tested you code today and it doesn't work as expected because there is a little mistake. You used the same lenght for all arrays (even the main).

    allSequences.Lenght is not allSequences[sq].Lenght - for each sub arrays...

    However you helped me so as to enlighten this part. Thank you ++

  8. Hello. I need to create a double loop - one for each segment, reading each integer inside them.


    [0] [0] do something (checking lenght)

    [0] [1] do something (checking lenght)

    [0] [2] do something (checking lenght)

    [0] [3] do something (checking lenght) - it read all integers


    [1] [0] do something (checking lenght)

    [1] [1] do something (checking lenght)

    [1] [2] do something (checking lenght)

    [1] [3] do something (checking lenght) - it read all integers


    [2] [0] do something (checking lenght) ...

    etc etc - until it read all sequences


    To do simple, I want to read all sequences as a single line, starting at [0][0] to [3][3].

    I don't understand how I can increment for each array(s) its index. Thank you ++


  9. Again me. This part of code is driving me crazy. I didn't understand something and I cannot find any efficient answer on Unity forums. I did :


    int[] seq0 = new int[] { 1, 2, 3, 4 };
    int[] seq1 = new int[] { 5, 6, 7, 8 };
    int[] seq2 = new int[] { 1, 3, 2, 1 };
    int[] seq3 = new int[] { 5, 4, 3, 2 };


    int[][] allSequences = new int[][] {};


    allSequences = new int[][] {
                seq3 };


    So I have all sequences in a unique array of arrays, but I would like to read all segments in a loop - the first seq0, when it is over the second (seq1), then the third (seq2), etc - but sometimes they have a different sizes - so I use their lenght as limit. I am stucking on this part of code. Really a help will be very appreciated. Thank you my friends ++

  10. I can only say that if you see magenta color, it means that your material shader has an error.

    If you click on this shader in the inspector, you can see where is the bug - the line which generates an error.

    Sometimes Unity changes its semantic - and we have to modify code ++

  11. Hello friends.

    I am trying to find a way to create an array with many arrays using integers. As example I have :


    int sequence1[ ] = new int[ ] {1, 2, 3, 4, 5};

    int sequence2[ ] = new int[ ] {6, 7, 8, 9, 10};

    int sequence3[ ] = new int[ ] {11, 12, 13, 14, 15};


    I want something like this main principle (but in one line if it is possible) :

    int allSequences[ ] [ ];

    allSequences[0] [ ]= sequence1;

    allSequences[1] [ ]= sequence2;

    allSequences[2] [ ]= sequence3;


    so allSequences[1][3] is 9, allSequences[2][2] is 13, etc.


    I would like to create only one array with all these arrays, but I tried many ways - and it doesn't work because I cannot find the right semantic.

    It became a little bit confusing for me. Do you have an idea? Thank you ++

  12. Hello everyone. Today I want to write a last post in this section so as to explain how grab free games on web - of course, legally :)

    I posted so many messages here when I noticed on different sharing platforms a game for free. I think that today it became a way to gather players around a new company - like EpicGames Store which is trying, offering a new game each two weeks, to increase its audience. Why not? A free game is not a bad thing. There is a site on web which lists all these offers - this is IsThereAnyDeal. You can find the best platform for games, considering the best price, some informations - and where are given some free games (giveaway). Take a look at the link below. I hope that it will be useful for players :


    Please login or register to see this link.


    So be careful, often taking a look at this main page (the board at the top - cyan color references) because I will not write anymore something about free games as of today.

    Have a nice day ++

  13. Tacoma for free on Humble Bundle :

    Please login or register to see this link.

    Oxenfree on EpicGames Store :

    Please login or register to see this link.

    • Like 1
  • Create New...