Beginner Godot Tutorial - How To Make Tic Tac Toe
HTML-код
- Опубликовано: 17 июн 2024
- Learn the basics of Godot by making tic tac toe in this beginner tutorial.
The code for the game is built from scratch and will cover setting up the different scenes and their nodes as well as linking everything together using signals.
Code and assets for this video github.com/russs123/tictactoe...
Timestamps:
0:00 Intro
1:00 Setup Game Board & Markers
6:00 Getting Mouse Clicks
14:50 Grid Data Array
21:30 Placing Markers
28:40 Info Panel
38:45 Checking for Winner
45:20 Game Over Menu
Learned so much! Thank you!
This is an excellent tutorial, with so many insights! Not only does one have the end result, but going along there's so much we learn about the different functionalities, the workflow and so on. I am absolutely enthusiastic!
Thank you! I'm glad you liked it
This was concise, well explained and fun to watch.
Thanks!
Let's go! Godot tutorials
Trying something new :)
With this framework, we can do any tabletop game! Instant sub! Thank you ^^
Good job! I wait for more 🤪
Wonderful! Thank you so much for your tutorial. It's a clear pleasure!
One of the best tutorials to Godot Ive seen in a while. Much useful knowledge, thank you for that!
Thanks!
Guy is a legend, from pygame tutorials to ursina to now godot 👏👏
i agree
Great tutorial, really did an awesome job explaining everything along the way.
Thanks! Glad it was helpful
very well. thanks a lot
thank you i needed this so bad
Glad it helped :)
Great tutorial thanks
Thanks!
a powerful tutorial buddy thank you, keep posting such good things please
Thank you! Got more in the works.
He russ we want more Godot tutorials
I'm working on another one right now :)
Please make complete series starting fr basics to A platfomer game and information about Godot sprites,sound,scripting etc like u made about pygame
Finally made it
Nice!
I SURVIVED THE TUTORIAL! HA! Take that mom.
Hey there. I've been attempting to build a Tic Tac Toe game from the ground up as a learning experience. That is, figuring out how I wanted to approach the game, and how I wanted to implement the gameplay. While initially I had an idea to have a grid, with an X and O to drag and drop from, I went with placing menu buttons on all grid spaces, offering to change the position to an X or an O. I've gotten the menu buttons to work, but I have no idea how to make either character appear in the slot after selecting it from the menu. Any tips or tutorials on how to make events occur upon making a selection using a menu?
So how would you go about doing this using grid / tile maps instead? It seems has some built in things that I assume would make it easier. Also how about doing it with UI nodes?
Great tutorial, thanks to you. I learn a lot from this video.i have a question about the cell_size. If the board texutre in 3D with diffrent width and height how can I determine the cell_size ? Let's say the borad is 800x600
In that case you may need to have two different variables, one for cell width and one for cell height.
can you make an ultimate introduce about ursina
pygame multiplayer fighting game next?
Hey russ its been a looooong time since i watched ur vids but plz can u make a tutorial for Minesweeper the old microsoft game that u press mines and numbers?? ive been really wanting to code it on my own but i just cant get it. so id appreciate it if u do a series or just one vid for me
Funny you say that, I actually plan to do that soon. :) Although it will be in Godot as I've been using that more now.
k thx!!@@CodingWithRuss
I'd give it a try, but you have to wait forever for them to take their turn.
❤
I got the point of getting mouse clicks and then something happened and now it won’t register in the debug screen. I rewrote everything, didn’t work. Reopened the save file that was working, not working anymore
How do you run the script when this is not in tool mode??
wow
The game over menu works for x or o win but when you tie the play again button doesn't work
Fixed it, forgot to pause game on tie
I got this Error: "Cannot call non-static function "instantiate()" on the class "PackedScene" directly. Make an instance instead."
help please
I could fixed it with a preload instead of a packedscene.
how do i import my assets?
You can put them into the assets folder and they will be available to use in your game
oh ok thanks i got it@@CodingWithRuss
Balls