RELEASE game-example - console mode game

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by Dontwait00, Sep 10, 2018.

  1. Dontwait00
    OP

    Dontwait00 Unknown

    Member
    4
    Sep 3, 2017
    Italy
    game-example v1.0.0 (updated on 11/09/2018)


    what is it?
    first, is my first game im creating in C.
    second, is a game made entirely on CONSOLE MODE with no graphics and no sound. I will create a GTA style game in 2D in the near future.


    CONTROLS:

    UP = up
    RIGHT = right
    DOWN = down
    LEFT = left

    A = Unknown still


    game-example must do/finish:
    •add gun
    •add life
    •add zombies
    •add touch screen support (which i want to try this, so you can play it without joycons!)
    •port on Wii: see here
    •port on WiiU
    •port on Xbox 360

    How did you start developing this? :huh:
    Warning: Spoilers inside!

    i may written badly somewhere, feel free to DM me, thanks

    changelog:
    Warning: Spoilers inside!

    Download: https://github.com/Dontwait00/game-example/releases/latest
     
    Last edited by Dontwait00, Sep 13, 2018
  2. KitsumiTheFox

    KitsumiTheFox Advanced Member

    Newcomer
    3
    Jan 9, 2016
    United States
    Nice! Its always fun to see new homebrew, even if it is just a learning project :P
     
    lordelan and Dontwait00 like this.
  3. Good job! Keep learning and trying new things, you will soon be able to create more advanced stuff, always nice to see people that are willing to learn.
     
    the_leg, lordelan and renhei like this.
  4. Jay Griggs

    Jay Griggs Member

    Newcomer
    4
    Jan 4, 2016
    United States
    Nice! Have you coded in C before?
    I know some C# but no C.:(
     
  5. Dontwait00
    OP

    Dontwait00 Unknown

    Member
    4
    Sep 3, 2017
    Italy
    Not really, no :(

    What i like about C is that you can make it for every OS with just few steps which is awesome! I like program in C, but never did such a big project like this, so im looking forward for this!

    Don't you like C? I thought C# was much more difficult then C.
     
  6. lordelan

    lordelan GBAtemp Psycho!

    Member
    12
    Jan 4, 2015
    Germany
    I'd say C# is one of the easiest to learn languages out there lol.
    Great work by the way. It was wise to share your work here. As you can see everyone appreciate it although they probably won't stop playing Splatoon for it but it's a good entry. :)
     
    Dontwait00 likes this.
  7. Dontwait00
    OP

    Dontwait00 Unknown

    Member
    4
    Sep 3, 2017
    Italy
    i thought of it, but i like coding and i dont mind people playing it or not. This is just basic project.
    (which now i have released 1.0.0 finally, so if you want to see it is here: https://github.com/Dontwait00/game-example/releases) :ha:
     
    lordelan likes this.
  8. Jay Griggs

    Jay Griggs Member

    Newcomer
    4
    Jan 4, 2016
    United States
    Never did C so I cant compare.
    Got friends that do C and they say the biggest differences are that C# is object oriented, C# handles all your garbage collection and with C you need to include your headers.
     
  9. Ghost92

    Ghost92 GBAtemp Fan

    Member
    5
    Jun 29, 2017
    Colombia
    Video, Screenshot?
     
  10. Dontwait00
    OP

    Dontwait00 Unknown

    Member
    4
    Sep 3, 2017
    Italy
    I dont know how to implement screeshots on the thread lol :lol:
     
  11. Ghost92

    Ghost92 GBAtemp Fan

    Member
    5
    Jun 29, 2017
    Colombia
    Well I do not know how you had time to make this thread with two blue and green boxes. Not at all how you got to program a WIP GAME on Switch
     
  12. Kevoot

    Kevoot Advanced Member

    Newcomer
    4
    May 23, 2018
    United States
    To OP: It's a good start. You should pick up the book (or steal the PDF) "Introduction to Algorithms"
    Link: https://mitpress.mit.edu/books/introduction-algorithms-third-edition

    Additionally, do some research into using data structures in C. I can see that you have an idea to establish rules and turn that into code which is the first step. The next step is to define the code in a reuseable, readable, and less-time consuming way (both in terms of running time and how long it takes to write). You have a ton of repeated code which is overkill and leads to a litany of issues, those two resources will get you going in a better direction.

    For reference, if you look up my github account and find my checkers3ds, that was where I was at about 4 years ago. Comparing that to the code I write these days makes my butthole clench. Do yourself the favor and look into those topics.
     
Quick Reply
Draft saved Draft deleted
Loading...