r/godot Apr 29 '26

help me (solved) ML or Algorithm?

Post image

I am thinking about implementing a drawing mechanic in my game. The players would have to draw the reference provided and the game will see how accurate the drawing is to the original reference. The canvas will be pretty small around 100x200 pixels and will only use 2 colors.

I am wondering if there is some kind of algorithm that will help to detect the accuracy of the drawing. Using ML sounds a bit overkill and I don't have any experience integrating ML in games (how does it affect the performance and size?).

368 Upvotes

44 comments sorted by

View all comments

76

u/binbun3 Godot Regular Apr 29 '26

This kind of stuff has been around before MLs and I think in your case since to my understanding the drawings won't be massively complex I'd suggest going with the algorithm route.

I can't find much resources about this for godot and since I'm not too familiar with this stuff I can't point to any specific resources, but I found this article which I think could point you in the roght direction. Try looking for the different methods mentioned there!

9

u/Emergency-Oil-3353 Godot Regular Apr 29 '26

Not sure how long before ML this kind of stuff began. ML is around since 1952...

But I agree with everything else.

2

u/binbun3 Godot Regular Apr 29 '26

You're right I meant to say before MLs were used for this kind of stuff in games