godot-demo-projects icon indicating copy to clipboard operation
godot-demo-projects copied to clipboard

Demo for turn based grid game

Open CowThing opened this issue 9 years ago • 3 comments

Roguelike or board game. This would be a useful demo to have.

CowThing avatar Jul 20 '16 14:07 CowThing

Is this still desired? We currently have a few grid-based demos already.

What are some minimal game ideas we could use for this? Perhaps chess?

aaronfranke avatar Mar 07 '20 04:03 aaronfranke

Yeah at the time that I made this issue there weren't many grid-based examples for Godot. And some of the examples I found from other engines used some strange methods, like using the physics engine and ray casts to check grid positions. I do think that a turn-based demo would still be useful. Chess would be good because it can show grid-based gameplay, pieces that have different rules, and turn based gameplay where each player can only interact with their pieces on their turn.

CowThing avatar Mar 07 '20 13:03 CowThing

@CowThing wouldn't be easier in a purpose of a demo to make something like a single player Tic Tac Toe game ?

I understand the main purpose is to generate a grid on screen which have configurable size for cells and columns & rows, then put something in the right screen coordinates according to logical location inside the grid.

Alternate turns and pieces specific rules are a bit out of scope of such demo IMHO.

If so, I made everything needed to make a board game (it's an Ishido - The Way of Stones clone) and I could take some time to extract base logic, still only tested so far using fixed size window, so there may be some surprise on resolution change. There is also the nice Match3 tutorial from Mister Taft Creates which also do some grid <-> screen conversion calculations.

InfiniteProductions avatar Mar 04 '23 16:03 InfiniteProductions