ChronoABI

ChronoABI

This is a channel where I teach you how to make games or certain aspect of games. With C# and Bolt.

I am Back

I am Back

Rule Tile For Unity 2D

Rule Tile For Unity 2D

Bolt For Beginner final

Bolt For Beginner final

Пікірлер

  • @oceanmantakemebythehandlea5620
    @oceanmantakemebythehandlea5620Ай бұрын

    my dream fr

  • @tranceemerson8325
    @tranceemerson8325Ай бұрын

    do you have an updated version for Unity 2022, with the new tilemap objects?

  • @ivangelium6348
    @ivangelium6348Ай бұрын

    Thank you, you like godsend for this stuff

  • @shahroznaeem
    @shahroznaeemАй бұрын

    3 years later - this is still one of the best ways to start procedural generation. Thank you! 🙏

  • @Arthur-nd8dn
    @Arthur-nd8dn2 ай бұрын

    hero

  • @awdk7994
    @awdk79942 ай бұрын

    Man Thank so much , you are the best

  • @neu-tronytb3155
    @neu-tronytb31552 ай бұрын

    why when I put animation the boss stops boucing on walls and keep running into it ??

  • @brenoperetta2449
    @brenoperetta24492 ай бұрын

    Thank you very much, helped a lot!

  • @user-kn6gr1bo7m
    @user-kn6gr1bo7m3 ай бұрын

    how do i make the file?

  • @ArtusMagnificus3_2_1
    @ArtusMagnificus3_2_13 ай бұрын

    Exactly what is needed, thanks

  • @user-sg5pe2xh4w
    @user-sg5pe2xh4w3 ай бұрын

    Thanks for help big brother.👍

  • @yume3879
    @yume38793 ай бұрын

    What if I want to spawn a fixed set of enemies (not randomly)

  • @Burchland2
    @Burchland23 ай бұрын

    As soon as the enemy reaches the edge, it can't flip and moves to the current direction without stopping, I did everything in the code, and configured the checkpoints. What am I doing wrong?

  • @jettlewis1609
    @jettlewis16094 ай бұрын

    can someone help, all my blocks are spawning in the same spot so only the grass is showing up, here is my code. using System.Collections; using System.Collections.Generic; using UnityEngine; public class ProceduralGeneration : MonoBehaviour { [SerializeField] int width, height; [SerializeField] GameObject Dirt,Grass,stone; void Start() { Generation(); } void Generation() { for(int x = 0; x < width; x++) { int minHeight = height - 1; int maxHeight = height + 2; int minStoneSpawnDistance = height - 5; int maxStoneSpawnDistance = height - 6; int totalStoneSpawnDistance = Random.Range(minStoneSpawnDistance, maxStoneSpawnDistance); height = Random.Range(minHeight, maxHeight); for(int y =0; y < height; y++) { if(y < totalStoneSpawnDistance) { spawnObj(stone, x, y); } else { spawnObj(Dirt, x, y); } } spawnObj(Grass, x, height); } } void spawnObj(GameObject obj, int width, int hieght) { obj = Instantiate(obj, new Vector2(width, height), Quaternion.identity); obj.transform.parent = this.transform; } }

  • @ParadisArtificiel_
    @ParadisArtificiel_4 ай бұрын

    Yo bro you gave up ?

  • @noobdev6464
    @noobdev64644 ай бұрын

    Do my phone need to be in developper mode to install an apk that do not come from the googlestore?

  • @NitinKr7
    @NitinKr74 ай бұрын

    no

  • @alexh.6481
    @alexh.64814 ай бұрын

    Thank you! Very helpful tutorial :)

  • @amirrezarabani7861
    @amirrezarabani78614 ай бұрын

    Thank Youuuu ❤❤❤❤❤

  • @feeney8715
    @feeney87154 ай бұрын

    >clicks on a tutorial >indian guy >learns more than 3 hours of stuff in 13 minutes

  • @maxiq1989
    @maxiq19895 ай бұрын

    thanks for the tutorial, but just a question when im trying to play the scene, the main enemy becomes invisible, what can i do? (im using your assets)

  • @maxiq1989
    @maxiq19895 ай бұрын

    nice to see you again

  • @emanalialmograbi
    @emanalialmograbi5 ай бұрын

    In the first part, the enemy does not move. What is the reason? Programming is no problem @chronoABI

  • @thisguymartin
    @thisguymartin5 ай бұрын

    Wast his ever started ? I cannot find anything around the course ?

  • @klikchannelini766
    @klikchannelini7666 ай бұрын

    Sorry, but why when i tried your code, it only spawning a box that the width and height of the box is same like in the variables, no matter what smoothness and seed i put. This is my code (I change some of my variable so i will didn't get confuse): using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Tilemaps; public class TerrainGeneration : MonoBehaviour { [SerializeField] int width, height; [SerializeField] float smoothness; [SerializeField] float seed; [SerializeField] TileBase WorldTile; [SerializeField] Tilemap WorldTileMap; int[,] map; private void Start() { Generate(); } void Generate() { WorldTileMap.ClearAllTiles(); map = GenerateArray(width, height, false); map = TerrainsGeneration(map); RenderMap(map, WorldTileMap, WorldTile); } public int[,] GenerateArray(int width, int height, bool empty) { int[,] map = new int[width, height]; for (int x = 0; x < width; x++) // will go through width of the map { for (int y = 0; y < height; y++) // will go through height of the map { map[x, y] = (empty) ? 0 : 1; } } return map; } public int[,] TerrainsGeneration(int[,] map) { int perlinHeight; for (int x = 0; x < width; x++) // will go through width of the map { perlinHeight = Mathf.RoundToInt(Mathf.PerlinNoise(x / smoothness, seed) * height/2); perlinHeight += height / 2; for (int y = 0; y < perlinHeight; y++) // will go through perlinheight of the map { map[x, y] = 1; } } return map; } public void RenderMap(int[,] map, Tilemap WorldTileMap, TileBase WorldTile) { for (int x = 0; x < width; x++) // will go through width of the map { for (int y = 0; y < height; y++) // will go through height of the map { if(map[x,y] == 1) { WorldTileMap.SetTile(new Vector3Int(x, y, 0), WorldTile); } } } } }

  • @klikchannelini766
    @klikchannelini7666 ай бұрын

    Hopely you'll respond.

  • @ramab2052
    @ramab20526 ай бұрын

    thank you for this awesome video. very helpful.

  • @EnodevVN
    @EnodevVN6 ай бұрын

    Thank you very much <3

  • @teamredstudio7012
    @teamredstudio70126 ай бұрын

    Very simple explanation, I hoped to see some better algorithms than simple random numbers. Please follow the naming conventions and put the comments in the right place. This video is great for beginners, but beginners have to learn the syntax!! You should pay extra attention to putting the spaces after commas, capital letters on the right places and use the correct word choice for the functions and properties. Don't want beginners to get the habit of writing their code unconventially.

  • @isaaconyach9401
    @isaaconyach94016 ай бұрын

    could not find .Net 4.7.1 on their supported or outdated versions, it skips the entire 4 version and only provides version 5

  • @pizzakingx58
    @pizzakingx587 ай бұрын

    Cool tutorials, For some reason my enemy wont jump and will just stand still do u have any solutions?

  • @jiakai7254
    @jiakai72547 ай бұрын

    hi I cannot drag and drop things from hierarchy/assets to inspector pls help TT (Mac user)

  • @user-se7ih2xn8u
    @user-se7ih2xn8u7 ай бұрын

    да, это очень оптимальный вариант, класс 👏

  • @egorro5442
    @egorro54427 ай бұрын

    Супер!)

  • @noobdev6464
    @noobdev64647 ай бұрын

    Any more tutorial??

  • @egorro5442
    @egorro54427 ай бұрын

    Спасибо!)

  • @deacoplo1693
    @deacoplo16937 ай бұрын

    The bullets aren't follower the play but I've followed everything I'm not sure whats wrong

  • @yusufziyakalyoncu8739
    @yusufziyakalyoncu87397 ай бұрын

    Thank you for the video. You saved my day. <3

  • @MiikaKontio
    @MiikaKontio7 ай бұрын

    It worked. Thanks

  • @nimblepixeluk
    @nimblepixeluk7 ай бұрын

    Thank you so very much for this series. I've learnt so much recently. Very helpful.

  • @its_vickybae
    @its_vickybae7 ай бұрын

    Thanks very much ^^

  • @marynanovohorodska8784
    @marynanovohorodska87847 ай бұрын

    Thank you very much, I couldn't find a video about using rule tiles in world generation. Thank you!👏

  • @klikchannelini766
    @klikchannelini7667 ай бұрын

    Hey, looks like that is a good procedural generation script. Can you show me how do i'll make cave generation with that procedural generation script? because i have struggle making the cave system by myshelf:( so can you or anyone tell me how do i'll make cave generation with that procedural generation script?

  • @thepocotrampo
    @thepocotrampo7 ай бұрын

    Thanks

  • @Cavdar2012
    @Cavdar20127 ай бұрын

    thnx a lot, but you are too fast.

  • @MEHROUNNISA597
    @MEHROUNNISA5977 ай бұрын

    thanks bro

  • @malikaikinn1153
    @malikaikinn11538 ай бұрын

    All my video suggestions have exhilarating jazz.. And I don't even listen to jazz

  • @VkStudio_
    @VkStudio_8 ай бұрын

    At 26:42 it doesnt allow me to drag my Wave Name into the field? Please help

  • @VkStudio_
    @VkStudio_8 ай бұрын

    Day 3 of waiting for a response (i missed day 2)

  • @VkStudio_
    @VkStudio_8 ай бұрын

    Day 4 of waiting for a response

  • @wandereer9118
    @wandereer91188 ай бұрын

    Ty man only video that solved the issue

  • @geannbosco1395
    @geannbosco13958 ай бұрын

    TYVM

  • @blackacidff7287
    @blackacidff72878 ай бұрын

    The only vedio on yt which solved my problems of intellence also ❤

  • @muhammadawaiskhan4068
    @muhammadawaiskhan40688 ай бұрын

    great video