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. Interesting question. At first, I would like to say that you have to inform players that your game collects some info during process.

    But in the same time, there is nothing inside these user data - it's like a leaderboard but anonymous. By consequence, I don't know...

    If you take a look at the request from GooglePlay, we read those lines :


    Google Play requires developers to provide a valid privacy policy when the app requests or handles sensitive user or device information.

    Your app requests sensitive permissions (e.g. camera, microphone, accounts, contacts, or phone) or user data, but does not include a valid privacy policy (bla bla bla)...


    According what I read I think that you have not to include a privacy policy because you are not collecting sensitive user information - only a winner/looser state.

    However, I am not an expert in laws. The best you can do - ask them directly ++


    • Thanks 1

  2. What do a difference between a shoot and a melee attack? Maybe the distance. There is the same mechanic - excepted that your raycasthit go ahead, but not too far.

    However personally I prefer to use a OverlapSphere. Create a position a little bit beyond player and set a radius. If an enemy is inside the sphere, you hit it. This way you can simulate a swipe movement ++


    Please login or register to see this link.

    • Like 1

  3. You can change enemies material as a local feature :

    Take a look at isLocalPlayer ++

    Please login or register to see this link.


  4. Please login or register to see this quote.

    My understanding of code doesn't mean that it's always for a game.

    But in the same time, I remember a game in which you have to escape using doors with numbers - only prime numbers guarantee safe rooms - others are traps :)

    This game is called Bryan Audley's Numbers - it's not a really good game, but its mechanics are interesting.

    Also the main gameplay of this game reminds a great movie - Cube which I highly recommend ++



    • Like 1

  5. Yesterday I saw a disturbing video about prime numbers and their paradoxes.

    Then just for fun I decided to code a script so as to generate an infinite list with prime numbers.

    This script below shows as debug messages some prime numbers, starting from 1 until ... how many time you can wait :)



    Please login or register to see this code.


    • Like 1

  6. Do you meant something like in CoD:MW - a kind of thermal cam (enemies are white and world around gray) ?


    This one could be interesting :

    Please login or register to see this link.


    And you coul change enemies material for a simple Unlit white shader ++

  7. STR!PES is my entry for the 44th LudumDare. This is a procedural game. In my project there is only code - some procedural generation for shapes and stripes - no sprite, no prefab, no physics, no implicite value (excepted a radius PI). I optimized each part of code so as to reach the lowest execution using a simple (but efficient) pooling system and an improved implementation of coroutine. Also I use a leaderboard on-line so as to save best scores. Take a look at the video below. STR!PES is available for free on Itch.io ++




    • Like 2

  8. 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

  9. 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 ++

  10. 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

  11. 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?

  12. 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 ++

  13. 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

  14. 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 ++

  15. 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 ++


  • Create New...