KorGE

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    KorGE Tutorial - Writing 2048 game

    General
    3
    4
    181
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RezMike
      RezMike last edited by RezMike

      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.

      1.png

      1 Reply Last reply Reply Quote 2
      • R
        RawChid last edited by

        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.
        RezMike 1 Reply Last reply Reply Quote 0
        • RezMike
          RezMike @RawChid last edited by

          @RawChid thanks for you feedback! I have updated the Step 0 - added a link to the Step 1

          1 Reply Last reply Reply Quote 0
          • Yuri Volkov
            Yuri Volkov last edited by

            @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

            1 Reply Last reply Reply Quote 1
            • First post
              Last post