KorGE Tutorial - Writing 2048 game
-
Check out the first KorGE Tutorial with a complete game sample!
- Step 0 - Introduction
- Step 1 - Views
- Step 2 - State and interaction
- Step 3 - Animation
- Step 4 - Data saving
The resulting game is available here. The source code is on GitHub.
-
Thanks for creating this tutorial. For me a fun way to get familiar with KorGE
Some feedback:
- Step 0 is quite short and only setting up, when I reached the end it states: "In the next part of the tutorial, we'll know how to use graphics and text views and how to position them... ... Stay tuned!". At first I was a bit disappointed. I wanted to start with the fun part, but this was already the end. But after some googling I found the step 1 fortunately. I think it would be nice to add a link to the next step at the end. So that the reader easily can continue.
- In step 1 I had trouble getting the copied code regarding
roundRect
working, but it looks like you already have updated this part.
-
@RawChid thanks for you feedback! I have updated the Step 0 - added a link to the Step 1
-
@RezMike Thank you for the tutorial and for the working game app!
I think that KorGe community may be also interested in my 2048 game implementation that I created based on it.But it's not a clone of that repository: it's a rewrite aiming at becoming a (board) game template that is easy to modify, to extend and to play with using Kotlin programming language and KorGe game engine.
Following this goal, the source code has been structured and cleaned. We're trying to use
board games terminology (e.g. Glossary of chess)
in order ease understanding of implementation logic.Please see https://github.com/andstatus/game2048