Stack - Making 'Stack' Android game [C#][Stream VOD]

Поділитися
Вставка
  • Опубліковано 2 жов 2024

КОМЕНТАРІ • 378

  • @n3ken
    @n3ken  8 років тому +115

    This is some cold raw unedited footage, let me know if you liked it or not!

    • @volkswagiejk
      @volkswagiejk 8 років тому +2

      +N3K EN I like it a lot! thanks!

    • @JosipKladaric
      @JosipKladaric 8 років тому

      Thanks for the tutorial, I watched it and made this play.google.com/store/apps/details?id=com.JosipKladaric.TheTower

    • @DwipMakwana
      @DwipMakwana 8 років тому +1

      can n u sent me his coded script full wirhot errors

    • @Chaoticy
      @Chaoticy 8 років тому

      Hey Im having a problem with the cutting of the tile when its moving to the upper left and the bottom right. Do you think you could help me out?

    • @ueb99
      @ueb99 7 років тому

      N3K EN the stack

  • @MasterAraid
    @MasterAraid 8 років тому +10

    Best channel on unity tutorials!

  • @fromtunisia1182
    @fromtunisia1182 8 років тому +26

    using UnityEngine;
    using System.Collections;
    public class TheStack : MonoBehaviour
    {
    public Color32[] gameColors = new Color32[4];
    public Material stackMat;
    private const float BOUNDS_SIZE = 3.5f;
    private const float STACK_MOVING_SPEED = 5.0f;
    private const float ERROR_MARGIN = 0.1f;
    private const float STACK_BOUNDS_GAIN = 0.25f;
    private const int COMBO_START_GAIN = 3;
    private GameObject[] theStack;
    private Vector2 stackBounds = new Vector2(BOUNDS_SIZE, BOUNDS_SIZE);
    private int stackIndex;
    private int scoreCount = 0;
    private int combo = 0;
    private float tileTransition = 0.0f;
    private float tileSpeed = 2.5f;
    private float secondaryPosition;
    private bool isMovingOnX = true;
    private bool gameOver = false;
    private Vector3 desiredPosition;
    private Vector3 lastTilePosition;
    private void Start()
    {
    theStack = new GameObject[transform.childCount];
    for (int i = 0; i < transform.childCount; i++)
    {
    theStack[i] = transform.GetChild(i).gameObject;
    ColorMesh(theStack[i].GetComponent().mesh);
    }
    stackIndex = transform.childCount -2;
    }
    private void CreateRubble(Vector3 pos, Vector3 scale)
    {
    GameObject go = GameObject.CreatePrimitive(PrimitiveType.Cube);
    go.transform.localPosition = pos;
    go.transform.localScale = scale;
    go.AddComponent();
    go.GetComponent().material = stackMat;
    ColorMesh(go.GetComponent ().mesh);
    }
    private void Update()
    {
    if (Input.GetMouseButtonDown(0))
    {
    if (PlaceTile())
    {
    SpawnTile();
    scoreCount++;
    }
    else
    {
    EndGame ();
    }
    }
    MoveTile();
    // Move the stack
    transform.position = Vector3.Lerp(transform.position, desiredPosition, STACK_MOVING_SPEED * Time.deltaTime);
    }
    private void MoveTile()
    {
    if (gameOver)
    return;
    tileTransition += Time.deltaTime * tileSpeed;
    if (isMovingOnX)
    theStack[stackIndex].transform.localPosition = new Vector3(Mathf.Sin(tileTransition * BOUNDS_SIZE), scoreCount, secondaryPosition);
    else
    theStack[stackIndex].transform.localPosition = new Vector3(secondaryPosition, scoreCount, Mathf.Sin(tileTransition) * BOUNDS_SIZE);
    }
    private void SpawnTile()
    {
    lastTilePosition = theStack[stackIndex].transform.localPosition;
    stackIndex--;
    if (stackIndex < 0)
    stackIndex = transform.childCount - 1;
    desiredPosition = (Vector3.down) * scoreCount;
    theStack[stackIndex].transform.localPosition = new Vector3(0, scoreCount, 0);
    theStack[stackIndex].transform.localScale = new Vector3(stackBounds.x, 1, stackBounds.y);
    ColorMesh(theStack[stackIndex].GetComponent().mesh);
    }
    private bool PlaceTile()
    {
    Transform t = theStack[stackIndex].transform;
    if (isMovingOnX)
    {
    float deltaX = lastTilePosition.x - t.position.x;
    if (Mathf.Abs(deltaX) > ERROR_MARGIN)
    {
    //CUT THE TILE
    combo = 0;
    stackBounds.x -= Mathf.Abs(deltaX);
    if (stackBounds.x 0)
    ? t.position.x + (t.localScale.x / 2)
    : t.position.x - (t.localScale.x / 2)
    , t.position.y
    , t.position.z),
    new Vector3(Mathf.Abs(deltaX), 1, t.localScale.y)
    );
    t.localPosition = new Vector3(middle - (lastTilePosition.x / 2), scoreCount, lastTilePosition.z);
    }
    else
    {
    if (combo > COMBO_START_GAIN)
    {
    stackBounds.x += STACK_BOUNDS_GAIN;
    if (stackBounds.x > BOUNDS_SIZE)
    stackBounds.x = BOUNDS_SIZE;
    float middle = lastTilePosition.x + t.localPosition.x / 2;
    t.localScale = new Vector3(stackBounds.x, 1, stackBounds.y);
    t.localPosition = new Vector3(middle - (lastTilePosition.x / 2), scoreCount, lastTilePosition.y);
    }
    combo++;
    t.localPosition = new Vector3(lastTilePosition.x, scoreCount, lastTilePosition.z);
    }
    }
    else
    {
    float deltaZ = lastTilePosition.z - t.position.z;
    if (Mathf.Abs(deltaZ) > ERROR_MARGIN)
    {
    //CUT THE TILE
    combo = 0;
    stackBounds.y -= Mathf.Abs(deltaZ);
    if (stackBounds.y 0)
    ? t.position.z + (t.localScale.z / 2)
    : t.position.z - (t.localScale.z / 2)),
    new Vector3(Mathf.Abs(deltaZ), 1, t.localScale.z)
    );
    t.localPosition = new Vector3(lastTilePosition.x, scoreCount, middle - (lastTilePosition.z / 2));
    }
    else
    {
    if (combo > COMBO_START_GAIN)
    {
    if (stackBounds.y > BOUNDS_SIZE)
    stackBounds.y = BOUNDS_SIZE;
    stackBounds.y += STACK_BOUNDS_GAIN;
    float middle = lastTilePosition.z + t.localPosition.z / 2;
    t.localScale = new Vector3(stackBounds.x, 1, stackBounds.y);
    t.localPosition = new Vector3(lastTilePosition.x, scoreCount, middle - (lastTilePosition.z / 2));
    }
    combo++;
    t.localPosition = new Vector3(lastTilePosition.x, scoreCount, lastTilePosition.z);
    }
    }
    secondaryPosition = (isMovingOnX)
    ? t.localPosition.x
    : t.localPosition.z;
    isMovingOnX = !isMovingOnX;
    return true;
    }
    private void ColorMesh(Mesh mesh)
    {
    Vector3[] vertices = mesh.vertices;
    Color32[] colors = new Color32[vertices.Length];
    float f = Mathf.Sin(scoreCount * 0.25f);
    for (int i = 0; i < vertices.Length; i++)
    colors[i] = Lerp4(gameColors[0], gameColors[1], gameColors[2], gameColors[3],f);
    mesh.colors32 = colors;
    }
    private Color32 Lerp4(Color32 a, Color32 b, Color32 c, Color32 d,float t)
    {
    if (t < 0.33f)
    return Color.Lerp(a, b, t / 0.33f);
    else if ( t < 0.66f)
    return Color.Lerp (b, c, (t - 0.33f) / 0.33f);
    else
    return Color.Lerp (c, d, (t - 0.66f) / 0.33f);
    }
    private void EndGame()
    {
    Debug.Log("Lose");
    gameOver = true;
    theStack[stackIndex].AddComponent();
    }
    }

  • @Chris_t0
    @Chris_t0 7 років тому +15

    Good work but you really shouldnt be reusing the tiles, there is virtually no point and limits what you can do i.e. zooming out on gameover to see your tower like the original stack.

  • @shayshay8295
    @shayshay8295 6 років тому +12

    for some reason we have the same script
    theStack[i] = transform.GetChild(i);
    and this line gives me an error

  • @rishabhchandra2087
    @rishabhchandra2087 4 роки тому +5

    Seriously, at least give us a hint, HOW DID YOU BECOME SUCH A PRO?😍

  • @rushidesai2836
    @rushidesai2836 7 років тому +2

    Your skills are crazy. A God.

    • @n3ken
      @n3ken  7 років тому

      maybe not so much of a God lol but thanks! ;3

  • @dealvik
    @dealvik 8 років тому

    These kinds of videos are great, would love to have more! Keep up the good work

  • @ajwad3722
    @ajwad3722 8 років тому

    Hello N3K EN. I absolutely love these kind of videos. Please make more :)

    • @n3ken
      @n3ken  8 років тому +1

      +Ajwad Imran Thanks friend! The feedback as been amazing so i will make more :)

  • @nelsongabriel8574
    @nelsongabriel8574 8 років тому +7

    Hey N3K EN, the video was wonderful. I know you can't put ads on it but I have been having some hard putting ads on games so I was hoping if possible you can make a video about integrating ads please?

    • @n3ken
      @n3ken  8 років тому +4

      +Nelson Gabriel Working on this :D , video will come this week

    • @JEBInc-be2sm
      @JEBInc-be2sm 8 років тому

      +N3K EN Wow really I was about to ask about the same thing about an ad video integration like Admob or adbuddiz. Sorry if I'm stepping on the line but when is the video going to come out?

  • @vule656
    @vule656 7 років тому +1

    Are we allowed to publish this game on our own google play account and put ads on it?

  • @WAR10CK97-p7b
    @WAR10CK97-p7b 8 років тому +5

    can you help me?
    i am trying to make the gradient background in my game in unity.
    i want my gradient background to be just like the game stack by ketchapp!
    i searched many forms but could'nt find the solution anywhere, so if you can help me i would appreciate :)

    • @hebahamdy1417
      @hebahamdy1417 7 років тому

      could you found solution for this problem or not ?!
      i have the same problem with my game :/

    • @cakety4042
      @cakety4042 7 років тому

      psych3d Forums make a thread codeprokect stackexchange unity forums

  • @prabhavchopra2748
    @prabhavchopra2748 8 років тому

    bro you are great keep on making such great tutorials

  • @MrMasteryder
    @MrMasteryder 8 років тому +2

    Really good tutorial my friend, well presented, clean code.
    When looking at that game, I always asked myself how the heck they cut the tiles, and now that I see how you did it I realize that sometimes you got to think differently :)
    Subscribed and hope to learn more from you ^^

  • @Ian-dy3ul
    @Ian-dy3ul 8 років тому +14

    So he just made the stack game by himself in 2 hours? thats amazing ! everyone always told me that game development took teams for months? This gives me hope i can make my own games soon

    • @Yikes_YT
      @Yikes_YT 8 років тому +12

      Most of the current popular mobile games are simple and score based. They are easy to make and N3K was making this project to completely copy it, just in his own style, which is easier to do as it takes away the creativity part. Still impressive, nonetheless.

    • @McTravDad
      @McTravDad 7 років тому +2

      It's all in the scope of the game. If you want to make games like Fallout or World of Warcraft, those are (probably obviously) going to take more than 2 hours to make.

    • @neXib
      @neXib 7 років тому +2

      GTA V probably cost about $500 million (all included) so it's all relative.

    • @jedrullo4886
      @jedrullo4886 7 років тому

      Tintinabulator Zea But ketchapp has made this game in C++ or something like that. Making games in unity is a lot easier than objective programming ;)

    • @pan_czerwony5437
      @pan_czerwony5437 6 років тому

      The FatBat Hey unity is fkin oop,u see all these classes and inheritance?

  • @Hayleeyyo
    @Hayleeyyo 8 років тому +3

    This is awesome! Your explanation was great, thanks so much for this video and looking forward to see more of them :)

  • @agito289
    @agito289 8 років тому +5

    Were you joking when you said that English is not your main language ? Because you sound like a native speaker to me :D

    • @JeppeBeier
      @JeppeBeier 8 років тому

      He has some word that sound really weird though. An example is spawn ;)

    • @fro5tboy
      @fro5tboy 7 років тому

      maynaygment

  • @wotfree--worldoftanks743
    @wotfree--worldoftanks743 8 років тому

    Thanks for the tutorial! Awesome lesson

  • @LuisCanary
    @LuisCanary 6 років тому

    Thank You ¡¡ For the tutorial is really awesome :D

  • @manuelmenar
    @manuelmenar 8 років тому +13

    omg how he did that vertical selection 1:09:34 xD. The tutorial is amazing.

    • @n3ken
      @n3ken  8 років тому +4

      Pulling out those MLG skills

    • @n3ken
      @n3ken  8 років тому +5

      +Manuel Mena hold ALT

    • @manuelmenar
      @manuelmenar 8 років тому +3

      wow thanks broth, i spent 3 hours copying the code you wrote, and for a moment i felt like a real developer :3

    • @n3ken
      @n3ken  8 років тому +13

      Hey, thats what real developper do too! hahaha

    • @chriskormaris
      @chriskormaris 8 років тому +4

      Yeah plus spending a lifetime behind a screen, reading entire man pages and documentations.

  • @chilly1g
    @chilly1g 6 років тому +1

    Don't worry about the UI, that's a job for other UA-camrs, your job is coding and I loved this tutorial :) Great job

  • @realearlchannel4114
    @realearlchannel4114 8 років тому +1

    N3K EN, have you ever considered going on UDEMY and teacher a bigger audience?

  • @jamols09
    @jamols09 6 років тому +1

    Damn son, you write code on paper. That is hard core mode

  • @Parth-psp
    @Parth-psp 5 років тому +1

    Thanks a lot for this great tutorial on the amazing game...
    Great work ...😃 Keep it up 👍

  • @ahmedthebest
    @ahmedthebest 7 років тому

    can i download the broject files for free bleas like every live stream you do

    • @n3ken
      @n3ken  7 років тому

      some assets and files are free but some arent, you can fine them here:
      n3k.ca
      www.patreon.com/N3K/posts

  • @crispie4364
    @crispie4364 3 роки тому +1

    Is there a way to make the camera move instead of the stack when the stack is stacking up?

  • @junaid.chishti
    @junaid.chishti 8 років тому +1

    Thats Really Awesome and i must say that it is one the best tutorials
    Stack game was never been there nor in tutorial any where
    So thanks Developer

  • @sameerrajpal8525
    @sameerrajpal8525 6 років тому

    Hi! I liked your video... thanks man but i have a question when creating rubble you are using" GameObject go = GameObject.CreatePrimitive (PrimitiveType.Cube);" what if i want to use my own 3d object which i have imported as fbx.

  • @TheHauntedSockdrawer
    @TheHauntedSockdrawer 8 років тому +3

    Hmm interesting =) Thanks for all your tutorials and work N3K EN! much appriciated! you are a very good teacher!

    • @n3ken
      @n3ken  8 років тому +2

      +Tristan Banhegyi Thank you :D

    • @TheHauntedSockdrawer
      @TheHauntedSockdrawer 8 років тому

      +N3K EN No problem dude! =) have an awesome Easter!

  • @amitmamoria-u8c
    @amitmamoria-u8c 6 років тому

    Hi, I'm Getting following Error in Unity 2018 . Any Solution
    unity cannot implicitly convert type unityengine.transform' to unityengine.gameobject'
    private GameObject[] theStack;
    private void Start () {
    theStack = new GameObject[transform.childCount];
    for (int i = 0; i < transform.childCount; i++)
    theStack[i] = transform.GetChild(i); -- IN THIS LINE
    }

  • @luqnotperfect
    @luqnotperfect 8 років тому

    great video! we want more

  • @CodanCrux
    @CodanCrux 8 років тому

    Great Video! I really like this project. Could you make a video of how you created the gradient and the particles in the background? I don't know how to do it.

  • @LoveCyprusNikolas
    @LoveCyprusNikolas 7 років тому

    hey! thx for everything tou do...
    i have problem with VertexColor. If you ccn help me...
    Unity say:
    Shader error in 'VertexColor': Parse error: syntax error, unexpected TVAL_ID, expecting TVAL_VARREF or '(' at line 8
    Shader warning in 'VertexColor': Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
    1.Shader "Vertex Color" {
    2. Properties {
    3. _MainTex ("Base (RGB)", 2D) = "white" {}
    4. }
    5.SubShader {
    6. Pass {
    7. Lighting On
    8. ColorMeterial AmbientAndDiffuse
    9. SetTexture [_MainText] {
    10. combine texture * primary DOUBLE
    11.
    12. }
    13. }
    14. }
    15.}
    your code is 1:21:14.
    sorry for my english...
    am a beginer for unity :)
    please help me!!!

  • @gappuma7883
    @gappuma7883 8 років тому +1

    Hey man, great tutorial! One thing i noticed in my version was that mutiple tiles would spawn after each mouseclick, i think it was due to the sensitivity of my mouse. Luckily
    i had a bit of code from another shooter tutorial that would limit the "firerate" so in my code i put:
    void Update ()
    {
    if (Input.GetButton(0) && Time.time > nextFire)
    {
    nextFire = Time.time + fireRate;
    ...
    }
    }
    courious why your verion didnt have this problem?

    • @techji2726
      @techji2726 5 років тому

      It was inputGetMouseButtonUp

  • @Gabrielsantana-vj6bt
    @Gabrielsantana-vj6bt 7 років тому

    Amazing boy, great job.

  • @MakerMark
    @MakerMark 8 років тому +3

    Its funny to sit here 5 months after a live stream and tell the screen " its because stackBounds.x should be stackBounds.y" lol

    • @mihaiiosif6034
      @mihaiiosif6034 8 років тому

      where

    • @MakerMark
      @MakerMark 8 років тому

      He was having a bug where the "rubble" tile, the part that gets cut and falls down, was not cutting correctly. He finally sees it later in the video and fixed it.

    • @mihaiiosif6034
      @mihaiiosif6034 8 років тому

      +Mark's World ok so i don't have to worry about that. but i have 1 problem at the parts that fall. i think there is some problem with the x or y at me

  • @ajaythakur2685
    @ajaythakur2685 6 років тому

    Hello sir can I learn to making game with your help. Privately please .......

  • @kangarun-out3371
    @kangarun-out3371 5 років тому +1

    thanks for making this vid

  • @dutchubergamingi2229
    @dutchubergamingi2229 7 років тому

    Hey! I am following this video but im stuck at around 30 minutes. When i click it moves the 'hovering' block right to the place where the 'previous' block was. The problem is that the X axis works good but the Z axis moves a lot every click. It doesnt center with the previous block. This is my code so far: pastebin.com/m39h5esJ Can you help?

  • @zach8901
    @zach8901 8 років тому +4

    Can you do a tutorial on the colors?

    • @PHPLanceRU
      @PHPLanceRU 8 років тому

      It would be nice!

    • @hdpasd123lol
      @hdpasd123lol 8 років тому +4

      material.google.com/style/color.html#color-color-palette

    • @mrfade352
      @mrfade352 7 років тому

      which press the key to move the blocks in game

  • @EnlightendBeast999
    @EnlightendBeast999 7 років тому

    The referenced script on this Behaviour (Game Object 'The Stack') is missing!
    around 12:54 in while going along with the video.
    Also when I hit play and click my tile doesnt go up like yours in the video around 12:50

  • @gappuma7883
    @gappuma7883 8 років тому

    if (stackIndex

  • @nf-games6375
    @nf-games6375 8 років тому

    can n u sent mee his coded script full with no error so we can do thet so fast please.We need to stop the video 1000 time to do thet

  • @cheese6120
    @cheese6120 7 років тому

    Im at 1:09:08 and the blocks arent falling .-. anyone know why?

  • @Emadbssamaljamal
    @Emadbssamaljamal 7 років тому

    i have a problem that i can`t fix ... when i but " gameOver = true; " the last cube number 11 just falls down and when i click in the mouse the other cubs jumps from there places ... i hoe you understand me .. and i hope you can help me as soon as possible

  • @aryamangoel5483
    @aryamangoel5483 8 років тому +3

    How old are you? Great Tutorial btw!

  • @TheGopirock
    @TheGopirock 7 років тому

    " transform.position = Vector3.Lerp(transform.position, desiredPosition, STACK_MOVING_SPEED * Time.deltaTime);"
    everything worked perfectly fine until i wrote this line and the whole stacks just went to another position.....i did everything just as u did but this shit happened (sry for the language) ... so can u help?
    but the stack is working along the code. it just changes the position on its own

    • @caiorocha3322
      @caiorocha3322 6 років тому

      you've solved it?
      same problem here

  • @xoelroixo3692
    @xoelroixo3692 6 років тому

    1 question. How did you do in Unity the Scroll View to show 2 columns, one starting from Upper Left and one from Upper Right, that you use in your styles sheet canvas?
    Thanks

  • @naitfis7237
    @naitfis7237 8 років тому +3

    i know my question is stupid but i really dont understand this question. This game is made in Unity or C#???

    • @Jamesterjim
      @Jamesterjim 8 років тому +2

      The game is made in a program called Unity using a C# scripts. So to answer your question, its made in both. Lets say you wanted to move a cube forward 10 meters. You would use the menu inside unity to create a new cube and you would write some C# code to move the cube forward and then attach the script to the cube.

    • @naitfis7237
      @naitfis7237 8 років тому

      +Jamesterjim ooh Okok Thaaanks. hhhm and what other lenguages can i use for the same objective (create stacks)? :3

    • @Jamesterjim
      @Jamesterjim 8 років тому +1

      Unity supports scripting for Javascript and C#

    • @naitfis7237
      @naitfis7237 8 років тому

      +Jamesterjim okokok 10000 Thanks :D

    • @Berryss
      @Berryss 8 років тому

      +Christian Fisco you can use other languages.
      Unity is a Game Engine. Which only supports JavaScript and C#
      There are other game engines that support other languages.
      Such as:
      Unreal Engine, CryEngine, etc
      There are others that you dont even need to code. It uses "blocks" of code.
      For example:
      Construct 2, GameSalad, etc
      Hope this comment helped you ;)

  • @SerjZimmermann
    @SerjZimmermann 8 років тому

    N3K EN this is very usefull and awsome. But i unfortunately do not understand how to make gradient background like you have as result. May you help?

  • @kendoPol
    @kendoPol 8 років тому

    Hey i have i problem that drive me crazy. My code dosen't works in unity cause tell me theStack members name cannot be same as their enclosing type.
    Someone have a solution please ?

  • @himanshugoyal2903
    @himanshugoyal2903 8 років тому

    hey,your video is very helpful to me ,i started developing this game but i got an error that my script is not worked after creating a game object and then add component.And there is an another error on color32[] lerp4 is not exists,how to resolve this Lerp4 error, am not able to use play mode in unity because of these errors.please help me to resolve these errors.

  • @SuperZombie131
    @SuperZombie131 7 років тому

    After i wrote the color part of the code, my X axis stopped working, so the game would just go on the z axis and no color changed....

  • @sridevipindi1547
    @sridevipindi1547 8 років тому

    i have asked this question before ...
    In MurderManor game i have come across one letter will be there .this is tore into many no of pieces....if we arrange the correct pieces together then those two pieces are locked othewise we can seperate them.....after arranging all the pieces of the letter correctly the letter is animted.....could u teach us this concept....
    and in 9 th level telephone switchboard (which is 10 rows and 10 columns)will be there ....could u teach us even this too....it is very interesting.......

  • @xCrystalXGaming
    @xCrystalXGaming 8 років тому

    Definitely do more of these kind of videos please, I was wondering if you would do something complex like clash of clans type of game or even a candy crush type of game?

  • @firsttry5419
    @firsttry5419 7 років тому

    you just placed the statement dto move stack to desired position in Update(). Shoudn't this make it keep setting the position of stack every frame even tho it hasn't changed???

  • @DupczacyBawol
    @DupczacyBawol 7 років тому

    2 hours to develop a game. LOL! if so, there would be only your games on Google Play. ( 1000 games made for a year)

    • @n3ken
      @n3ken  7 років тому +1

      I only publish like 5% of what i make haha

  • @newday910
    @newday910 Рік тому

    hey man how can we add those cool effects like ketchepp when we place perfect in row

  • @gamingstream1160
    @gamingstream1160 8 років тому

    Hi howdy? i have a bit problem. why my stack appear ever in the middle? if the last stack is on the corner the new stack appear in the middle. ever.

  • @dawid4190
    @dawid4190 8 років тому +5

    I love your videos.
    What is your main language?

  • @Heycollege2010
    @Heycollege2010 7 років тому

    I have some questions about publishing games, and seems like you had ketchapp publish this game, is it okay if i ask some questions about this area?

  • @junaid.chishti
    @junaid.chishti 8 років тому

    Sir i am doing the same way as you are doing but as i Spawn the tiles the are not moving up as your tiles are :( what could be the problem i have written the Same Code but not working

  • @jatinsingalEARCS
    @jatinsingalEARCS 5 років тому

    Sir, my movingtile not working please help you have done in void moveTile();
    Then private void moveTile()
    {//Code} I have done the same but nothing happen why?

  • @TheMrPalich
    @TheMrPalich 7 років тому

    DO. NOT. USE. PLAYERPREFS. TO. SAVE. ANYTHING.

  • @1LordaBG1
    @1LordaBG1 8 років тому

    So the ourselves made game runs in android ?

  • @sailendrakc549
    @sailendrakc549 7 років тому

    your website is not working please fix it. and you are awsome liked it ....i also have bad english ;:

  • @taimurazhar7277
    @taimurazhar7277 8 років тому

    Ohh boii, this was some serious help and too good tutorial, though it was easy too make game through this tutorial but coding level is damn good, I'll share game link soon, Really thanks buddy, it was amazing!!!

  • @mehmedcavas3069
    @mehmedcavas3069 7 років тому

    I want to ask something. when u create for the first time a UI panel your panel is mor vertical like a phone screen but at my ui its mor horizontal the witdh is larger than the height. The values are the same. I think u changed a setting but i couldnt see wich one. is there any setting where the standart screen is mor vertical not horizontal.

  • @alisafeer1292
    @alisafeer1292 8 років тому

    i am not able to move the tile..i have done everything like tile transition speed etc but there is no movement of the tile like yours in the tutorial..any sort of help will be highly appreciated.

  • @eriks2866
    @eriks2866 7 років тому

    Help! My last cube (11) is standing in the same spot when other are going up.Cannot find solution.

  • @buddy5024
    @buddy5024 6 років тому

    i am writting perfect code for this game same has the video at the play mode in unity their is no error but the code is not working their is no working in the cubes why ? i'm new on unity

  • @anirudhsureka7199
    @anirudhsureka7199 6 років тому

    how to add music and gradient background pleasee help N3K EN.
    love your work.

  • @rehang9890
    @rehang9890 7 років тому

    How did you reference the HighScore from PlayerPrefs into the MainMenu ?!

  • @anoyrc5859
    @anoyrc5859 6 років тому

    I am having problem making a replica of dancing line( a game by cheetah mobile)help me!!please!!

  • @colombia12342009
    @colombia12342009 7 років тому

    your the best man!! most professional tutorials so far! I got a question do you know why unity adds permissions when you build an apk even if i erase them unity puts them back and i dont need them

  • @PawanKumarDubey
    @PawanKumarDubey 5 років тому

    After 40 moves the stacks goes out of camera view ,anyone knows how to fix this ?

  • @sridevipindi1547
    @sridevipindi1547 8 років тому +1

    As usual u r awesome sir........

  • @Johnybogo
    @Johnybogo 7 років тому

    Do you know anywhere I can go for intermediate programmers because I don't know what to learn next to be able to code like this.

    • @n3ken
      @n3ken  7 років тому

      We have something that i consider intermediate level coming up in about 2 weeks, check out the facebook page for more info

  • @dutchstylemapping3846
    @dutchstylemapping3846 5 років тому

    What does vector1,2 and 3 mean?

  • @faikowki1128
    @faikowki1128 8 років тому

    you are a intelligent men !! Thank you because ı wonder what ı make a stack game :))))

  • @Oshyrath
    @Oshyrath 8 років тому

    Is there a debugging tool that lets me see syntax errors like in eclipse? If so, how do I use it?

  • @bhoopalani7256
    @bhoopalani7256 8 років тому

    Thanks so much for the awesome video.
    Not sure why we write (mathf.sin (tileTransition) ... I feel like the game respond the same way when we use cos instead of sin.

  • @factsspace8326
    @factsspace8326 8 років тому

    i cant download the project files from ur website can u put the direct download link for me

  • @sekhardeka498
    @sekhardeka498 7 років тому

    Hey can you make a big size videoOn c# programming for developing android game in unity.

  • @leanderpereira5257
    @leanderpereira5257 5 років тому

    Hey can u tell me what software are using

  • @RemixProf
    @RemixProf 8 років тому

    Greate work @N3K EN, just discovered your channel. Subscriber +1;

  • @emilkadilli9278
    @emilkadilli9278 8 років тому

    Colors not working .. Plz Help !

  • @williamloke8081
    @williamloke8081 8 років тому

    Great Video ! Subscribed =) !

  • @devonchia5976
    @devonchia5976 7 років тому

    hi. can this be done with java coding?

  • @GhaziXX
    @GhaziXX 8 років тому

    Awesome :)

  • @raystarzee3929
    @raystarzee3929 7 років тому

    How did you learn to code? do you recommend any books that can teach me to code gaming apps?

  • @souryadeepk17
    @souryadeepk17 8 років тому

    Loved the video!
    The moment I saw the original game I felt that it must have been made with Unity.
    Ketchapp did make it with Unity right?

  • @guillemgarcia3630
    @guillemgarcia3630 8 років тому

    Oh god you have a very sweet voice compared to what is out there about tutorials. Thanks!

  • @sai-codes
    @sai-codes 7 років тому

    hey great video although you didnt tell how to make the changing background...how to do that?

  • @arvinpineda9858
    @arvinpineda9858 8 років тому

    Sir this game have database ? If this game have .. What is your database sir ?

  • @TeamHarrisonMachine
    @TeamHarrisonMachine 8 років тому

    Excellent Tutorial... I wonder if you could do one for Candy Crush Soda or Toy Blast.

  • @1LordaBG1
    @1LordaBG1 8 років тому

    Does it runs in adnroid ?

  • @fulmineus
    @fulmineus 7 років тому

    9:21 Cannot implicitly convert type `UnityEngine.Transform' to `UnityEngine.GameObject'
    help please

    • @renishparghi
      @renishparghi 7 років тому +1

      +Fulmineus you just need to add .gameobject after that. (i.e transform.GetChild(i).gameObject;)

  • @JonathanGorr
    @JonathanGorr 8 років тому

    Funny, I thought it cut the block mesh via a boolean operation.

  • @marcosssocram
    @marcosssocram 7 років тому +1

    The PlaceTile function made me feel like some sort of low life form, Thanks :') . Want to get that pro.