Games Best practices for simple non-physical game?

ivan.tellez

Active Member
Licensed User
Longtime User
Hi

I want to make a simple game, some pictures drawed in a grid that change when clicked, like tic tac toe but in a bigger grid, looks like the X2 is an overkill to this.

Is there an example for a game like this?

Thanks
 
Last edited:

ilan

Expert
Licensed User
Longtime User
To @ilan, why use 2 canvases instead of one?
in this case it is not so important but it is a good practice to draw only the stuff you wanna draw. the background (number table) is never changing so there is no reason to draw it 60 times per second so I draw it on a background canvas only once.

why you draw so many yellow squares instead of only 2 rectangles?
drawing each rectangle gives me more control and I can do many things like drawing each rectangle with a different alpha value or color you can of course draw only 2 rectangle so it is up to you what you wanna do.
 

ivan.tellez

Active Member
Licensed User
Longtime User
drawing each rectangle gives me more control and I can do many things like drawing each rectangle with a different alpha value or color you can of course draw only 2 rectangle so it is up to you what you wanna do.
Great, thaks.

By the way, I just realized that the talbe is part of the Simple Math app, CAn you share what do you use for the buttons in the menu?
 

ilan

Expert
Licensed User
Longtime User
CAn you share what do you use for the buttons in the menu?

a panel that contains several views in it. so nothing special just design.

1651219302206.png
 
Top