How to code a Card Deck in Unity

  Рет қаралды 8,831

Endocrine Gamedev

Endocrine Gamedev

Күн бұрын

Пікірлер: 41
@Endocrine_dev
@Endocrine_dev 10 ай бұрын
Hi everybody, I am still super busy. I am trying to switch careers into webdev and all of my time is dedicated to that. I still intend to finish this series at some point, but I don't know when. The game I made, that taught me all this code is public on github: github.com/EndocrineMSc/Majinko Feel free to use any code from this repo. The art is not usable, however. I am not the single person involved. Everything included in the downloads for the tutorial can be repurposed though. If you have questions, feel free to write comments, I'll answer as fast as possible.
@BarcelonaMove
@BarcelonaMove 8 ай бұрын
Thank you a lot for that, I hope you find some time soon and wish you the best in your career :)
@Endocrine_dev
@Endocrine_dev 5 ай бұрын
Short update: I recently got a job offer as a webdev, so things are moving along nicely. After everything has settled down and I've moved to a new home, I hopefully will find some time again to continue this series. But it'll be at least November, if not later. Thanks to everyone watching this video I'm still baffled by how well this was received. I'm sorry I have to take other priorities for so long.
@MattCM89
@MattCM89 11 ай бұрын
Really nice tutorial. Excited for next part :) I will say, it would be nice to see a final end result both for the current tutorial and the final project so it is easy to get an idea of what we are working torwards.
@Endocrine_dev
@Endocrine_dev 11 ай бұрын
Thanks for the compliment! This tutorial series is partually a way for me to solidify my learnings from a portfolio project of mine, you can check it out here to see the end goal of the tutorial: endocrine-bamsc.itch.io/pegglewars I'm not claiming that the cards are perfect yet, but I think it's a good start.
@MattCM89
@MattCM89 11 ай бұрын
@@Endocrine_dev That game has such a cool concept. You should definitely plug it more in your videos.
@Endocrine_dev
@Endocrine_dev 11 ай бұрын
That's really nice of you to say. I do like th concept, but I don't like plugging it too much because I overscoped the game and development is halted indefinitely. Doesn't have a lot of content either 😅
@Endocrine_dev
@Endocrine_dev 11 ай бұрын
If you don't know it yet, check out Peglin on Steam. That game is the biggest inspiration behind my game and is really great 😃👍
@MattCM89
@MattCM89 11 ай бұрын
Do you have any recommended tutorials on mass storage? I can see this is using a lot of ScriptableAssets in the GUI. Which is fine for 1 or 2 items. What if we had 300 loaded from a CSV or a API response. That would be awesome to see :) I have a game I'm porting with a lot of assets.
@Thiago-x1e
@Thiago-x1e 6 ай бұрын
Hey! Just saw both of your videos and I'm surprised how much you could explain! most of the time if I wanted to learn all these I had to look for 5 or more videos. You are doing a great work! Hope you can make another video soon!
@Endocrine_dev
@Endocrine_dev 6 ай бұрын
Thanks a lot for the kind words! The next video will probably still take a while sadly, since I need to still put all my coding time into my career transition to web dev. I'm still baffled how well these two videos are received and am very humbled. As soon as things settle down in my life I'll continue game dev and these tutorials 😁
@qorvid4443
@qorvid4443 Жыл бұрын
Gosh, I've been looking for a really simple card compiler/deck builder code to follow and this is near exactly what I need! I have never coded, or even done anything in unity but I am building a ttrpg system for my friends and It would just be more convenient to have a program to run for their spell lists, and I'm overly ambitious...This was really insightful. I know you mentioned that you wouldn't go over the possibility of allowing for multiple deck building so I may have to frankenstein that from another tutorial. Either way, can't wait for the next one!!!
@Endocrine_dev
@Endocrine_dev Жыл бұрын
Thanks for your comment, I am very happy to hear that it helped 😊 I still have a lot going on at the moment, but I will absolutely continue this series next year.
@Tylendel_
@Tylendel_ 11 ай бұрын
Can't wait for the next part, this has been invaluable as a learning tool
@Endocrine_dev
@Endocrine_dev 11 ай бұрын
Glad to hear it! I'm somewhat delayed on the follow up video, but it's in the works!
@Reiko8
@Reiko8 11 ай бұрын
Please keep doing videos like this, they are very helpfull
@Endocrine_dev
@Endocrine_dev 11 ай бұрын
Thanks a lot 😁 I'm having a tough time finding the time for it, but the next video will come soon
@rond556
@rond556 11 ай бұрын
Thanks a bunch. Java dev trying to pick up C#, so this was huge.
@Endocrine_dev
@Endocrine_dev 11 ай бұрын
You are very welcome I've only little experience with Java but I've heard that except for a few key differences Java and C# are pretty similar, so I'm sure you'll adjust well 👍
@rond556
@rond556 10 ай бұрын
@@Endocrine_dev Catching up! Your walkthrough helped out immensely kzbin.info/www/bejne/jX-zp3-Ieq2kqM0&
@Endocrine_dev
@Endocrine_dev 10 ай бұрын
That is so cool! Thanks for showing me this! I have a super guilty conscience about how long it's taking me to get the next video out... this is a great motivation!
@TubbyMcFatDuck
@TubbyMcFatDuck Жыл бұрын
Looking forward to the continuation of this series!
@Endocrine_dev
@Endocrine_dev Жыл бұрын
Nice to read 😊 Next part will probably arrive in January if nothing unexpected happens.
@grazingkelpie
@grazingkelpie Жыл бұрын
This was very helpful, looking forward to more!
@MoAtreides
@MoAtreides 3 ай бұрын
Great stuff man! Kind of wish you would have continued the series, haven’t been able to get a fan hand sadly, horizontal will have to do for now, hope everything is well!
@Endocrine_dev
@Endocrine_dev 3 ай бұрын
Hey thank you! Yeah, the fanned hand is super tricky. It took me like three complete refactors until I got it right. I'm actually moving today and will start my first software dev job soon. That's why I had no time left for game dev at all. I know it's been super long by now, but I still plan on making more tutorials in the future. Just a turbulent time in my life for a while now 😅
@MoAtreides
@MoAtreides 3 ай бұрын
@@Endocrine_dev congratulations man! That’s awesome, a whole new life ahead! Obviously getting a constant paycheck is a lot better so it’s good you’re focusing on that. I’ve subscribed so I’ll be on the lookout to whenever you have time to upload again but getting up to speed on a new job will probably take up all of your time so no pressure. I just saw you uploaded a git repo of your game so I’ll check that for guidance, Thanks for everything!
@cap_gusto
@cap_gusto 6 ай бұрын
Kind of stuck on trying to add card effects to the instances of the cards added to my deck pile, can you please come back and make a video explaining that!
@Skeb90
@Skeb90 6 ай бұрын
I wish I could dm people here... I'm still very busy, sorry... Try looking into my project, Majinko and see if you can copy it from there. In short, you can make a virtual method in the base card class called cardeffect, that gets called when you play the card. In the children, you override that method with the logic for the desired effect.
@muhammedensarsandkc4466
@muhammedensarsandkc4466 Жыл бұрын
More card tutorial pls!!!
@Endocrine_dev
@Endocrine_dev Жыл бұрын
Will do. I'm just pretty busy atm 😅 Next one will be about visualising the hand in a fan, probably.
@nanatian5982
@nanatian5982 11 ай бұрын
Hello, Very very nice tutorial. I have a small question, when I try to assign the CardPrefab to the Deck object, I cannot do it. But the CardPrefab do has the Card script attached. I can only access it when I drag a prefab instance in the scene. and then drag to the Deck( Which doesn't make sense, just to show that I do have a card script attached.....Thanks for the great tutorial again!
@Endocrine_dev
@Endocrine_dev 11 ай бұрын
Hey, sorry for the late response - I didn't get a notification for your comment somehow. Unfortunately I am not sure how what you describe can happen. Do you have your project on GitHub where I could make a clone and have a look myself?
@Ferenc-Racz
@Ferenc-Racz Жыл бұрын
I subscribed now. Dis devlog will be interesting. :) I also do something similar.. (I was literally implemented the digital version of the Century: Spice Road board game :) )
@Endocrine_dev
@Endocrine_dev Жыл бұрын
Very cool. I'll try to make a new video soon. Life's busy right now, but I'm positively surprised by how many people find these videos already.
@UgandaMagus
@UgandaMagus 9 ай бұрын
For me there is no option to create a Card Collection and also an error saying PointerEventData could not be found
@Endocrine_dev
@Endocrine_dev 9 ай бұрын
I'm sorry to hear it. Sadly without looking at your code, that is not enough information to know where exactly the problem lies. Do you have a way to share your project anywhere? I'd have a look and see if I can help if you want to.
How to code Card UI in Unity
19:57
Endocrine Gamedev
Рет қаралды 3,1 М.
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,3 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
5 Golden Rules of Game Cards Graphic Design You MUST OBEY
11:27
Dave Jeltema
Рет қаралды 172 М.
How Do You Improve Turn Based Combat?
17:43
Design Doc
Рет қаралды 813 М.
Can You Beat Minecraft From One Grass Block?
35:27
Beppo
Рет қаралды 6 МЛН
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 791 М.
Can I 100% Superliminal and Get a Refund?
23:36
Gronf
Рет қаралды 325 М.
Making a Roguelike Deckbuilder for the Playdate
8:36
SquidGod
Рет қаралды 20 М.
choosing a game engine is easy, actually
15:08
samyam
Рет қаралды 668 М.
How to make a HEALTH BAR in Unity!
21:06
Brackeys
Рет қаралды 1,2 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН