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. Hello. I wonder how I can "translate" in C# a function which gives the lenght of side for a regular polygon, inscribed in a circle, giving only its radius.

    On the web I founded this explaination, but I cannot understand the proper way for using it in Unity. I tried for a hexagon something like float lenght = (2 * radius) * Mathf.Sin(180 / 6); but it doesn't work. I missed something. Have you an idea?

    Please login or register to see this link.


    r is the radius and n the number of sides :


    side = 2r sin (180/n)

  2. Please login or register to see this link.

    Free DRM - no Steam key


    This game is designed as a narrative investigation where you must piece together elements from the different applications, messages and pictures to progress. Scrolling through the phone’s content, you will find out everything about Laura: her friendships, her professional life and the events that led to her mysterious disappearance and the loss of this phone ++

  3. You did an amazing work. I hope that you can reach your dream - whether creating a commercial game or working on those universes which you like...

    I wish you the best developing your project. Show us some progress regularly - and have fun ++

    • Like 1

  4. Really interesting. Nice aesthetic. There is here a good potential. However I would like to ask you about something which could offend you (sorry) - this is not my will. Why are you wasting so many time and energy, developing a game, which you cannot sell because you have no copyright? Maybe you don't want to sell something and you are developing this project as a fan. Clearly you have skill so as to do something good. Respectfully why don't you want to create your own game? I wish you the best ++

    • Like 2

  5. Unity shares really interesting tutorials to learn how to use their engine and some basics about C#. Take a look at the link below ++

    Please login or register to see this link.

  6. Your code is really hard coded - however it works. I tested it. I guess that you did a mistake setting enemies. In your code you use some defined values (Random.Range(0, 5); If you have less than 5 enemies it doesn't work when it selects an empty slot. So I recommend you to check the lenght of your array to set a limit - exactly like you do with your respawn spawn array. If you want to use a canvas element for each enemy, you have to use a canvas, but in World Space mode. You have many tutorials on YouTube about it. I wish you the best ++


    PS : a clean code is the key to success :)


    Please login or register to see this code.
    • Thanks 1

  7. Please login or register to see this link.


    Kholat is free on Steam for a few hours - если тебе нравится гулять по лесу зимой :)

    • Like 1

  8. LiwaHadri - my dear friend. Respectfully all your questions or requests show us an evidence - you are an absolute beginner. there is no shame in that - we were beginners too a few years ago. Please don't be offended by my advice. Don't use this kit or even any script which are available here or on the web before you have learned the basics. Today you are not able to do difference between a C# script and a JS - it's laughable. Really you have to learn some good tutorials - and all you need is below ++


    Please login or register to see this link.


    Mes amis tunisiens parlent couramment français et j'espère que c'est ton cas. Franchement, c'est ennuyeux. Tu poses des questions qui reposent sur un seul fait - tu es un débutant, lequel ne sait rien. Ce n'est pas grave - nous l'étions aussi. Commence par apprendre en utilisant des tutoriels adaptés à ton niveau. Tout ce dont tu as besoin est dans le lien ci-dessus. Bien sûr, tu peux nous interroger si tu ne comprends pas quelque chose, mais pose de vrai questions. Je te souhaite le meilleur - bon courage ++

  9. Thank you OcularCash for your answer. It helped me to find the solution :)

    I can set each point using a radius this way :


    Please login or register to see this code.

    More easy - more efficient. It works perfectly. Thank you ++


    • Like 1

  10. Working on a simple shader so as to apply a picture on screen, I found a way to create a broken glass shader like in Metro 2033.

    Also you can use this shader to create a frozen effect. I guess that it could be interesting for FPS project as damage FX or something else...

    As usual I use a sub folder callad MyShaders where my shaders are. Take a look at the link where I posted a picture ++


    Please login or register to see this link.


    PS : I use this texture in my project ++

    Please login or register to see this link.


    Please login or register to see this code.


    Please login or register to see this code.
    • Like 3

  11. Hello. I am working on a script so as to create dynamically regular 2d shapes, only setting a circle radius in which shape is drawn. For shapes which use an even number of sides it's easy - I post below an example about how to create a regular hexagon (it's more or less the same principe for square and octogon because h² = AB² - (AB/2)² ). However I have no clue how I could compute these coordinates in the circle for shapes which are buildt with an odd number of sides like a pentagon or a heptagon. I am not really good with trigonometry. Have you an idea? Thank you ++


    Please login or register to see this code.

  12. More seriously, you could just explain what you are trying to do, posting a first attempt which we can fix if it doesn't work, etc.

    You throw a little sentence, waiting something from us - please be explicit, respecting members and I guess that someone could help you...

    Respectfully don't be lazy ++

  13. Mathf.Lerp linearly interpolates between a and b by time - and our object goes slowly at the end.

    To get the same speed between a and b, we can increase it using percentage accomplished (0 to 1) ++

    Please login or register to see this link.


    Please login or register to see this code.
    • Like 2

  14. Please login or register to see this quote.

    Hello. It's a little bit strange. I guess that you don't understand what you are doing. I don't know what you are trying to do exactly, however if you want some instanciating shaders examples, I recommend you to take a look at this page - there is an interesting explanation about instanciating shaders. I wish you the best :

    Please login or register to see this link.

    • Like 1

  15. Please login or register to see this link.


    88% on Metacritic - Cool game with an amazing aesthetic and an unusual gameplay - for free on Epic platform.

    This game has been created by those who released a few years ago The Unfinished Swan - all is said ++



  • Create New...