Official [RELEASE][HBL] Flappy Bird GX2

Discussion in 'Wii U - Homebrew' started by rw-r-r_0644, Oct 5, 2016.

  1. rw-r-r_0644
    OP

    rw-r-r_0644 GBAtemp Fan

    Member
    334
    380
    Jan 13, 2016
    Italy
    [​IMG]
    Flappy Bird GX2

    Introduction

    I wanted to use GX2 for some homebrew and found that Flappy Bird was funny and easy enough (thanks for inspiration Android System Settings :D)

    That's actually my first C++ programs so expect bugs and bad code

    I used Floppy Bird assests sometimes scaled or edited

    Downloads

    You can download it from The Homebrew AppStore (Thanks @vgmoose and @pwsincd :))
    or from the Github Releases

    Changelog

    1.0: First public release

    Features to implement

    -Save scores to SD
    -Proper Game Over screen with scores and Medals
    -Less hacky and more Object Oriented?
    -Some sort of difficult increasing?

    Source Code

    Github

    Credits

    @dimok - WiiU libraries, dynamic_libs, examples, Homebrew Launcher
    @Maschell - GX2_Example and coding help
    @vgmoose - Coding help
    @pwsincd - Icon
    @QuarkTheAwesome, @Dylon99 - Various help and testing
     
    Last edited by rw-r-r_0644, Jan 26, 2017


  2. pwsincd

    pwsincd Garage Flower

    Member
    3,337
    1,733
    Dec 4, 2011
    Manchester UK
    high score table :

    1 : pwsincd - 41
    2 : ???????
     
    Last edited by pwsincd, Oct 5, 2016
    CreeperMario and rw-r-r_0644 like this.
  3. brienj

    brienj Trying to avoid getting cancer

    Member
    1,232
    1,705
    Jan 3, 2016
    United States
    I hope to try this out later today. Awesome job!
     
    CreeperMario and rw-r-r_0644 like this.
  4. xtheman

    xtheman GBAtemp Guru

    Member
    5,847
    5,275
    Jan 28, 2016
    United States
    Cool! Now time to go crazy trying to beat my high score.
     
  5. rw-r-r_0644
    OP

    rw-r-r_0644 GBAtemp Fan

    Member
    334
    380
    Jan 13, 2016
    Italy
    Haha, thanks :D
    Remember that you can't do more than 999 :P
     
    CreeperMario likes this.
  6. xtheman

    xtheman GBAtemp Guru

    Member
    5,847
    5,275
    Jan 28, 2016
    United States
    I high doubt I will reach 50 any time soon.
     
    CreeperMario and rw-r-r_0644 like this.
  7. rw-r-r_0644
    OP

    rw-r-r_0644 GBAtemp Fan

    Member
    334
    380
    Jan 13, 2016
    Italy
    It's easy mode™
    [I made less gravity and more distance between pipes beause I wanted to be able to reach at least 20 points :P]
     
    Last edited by rw-r-r_0644, Oct 5, 2016
  8. pwsincd

    pwsincd Garage Flower

    Member
    3,337
    1,733
    Dec 4, 2011
    Manchester UK
    i got 41 first go..
    :)

    — Posts automatically merged - Please don't double post! —

    i wanna see high score screenshots.. lets have the great GBA flappybirdU off !!
     
    Last edited by pwsincd, Oct 5, 2016
  9. brienj

    brienj Trying to avoid getting cancer

    Member
    1,232
    1,705
    Jan 3, 2016
    United States
    I never played the original, but I've seen many videos of it and this seems to be a pretty faithful reproduction for the most part. Great job!
     
    CreeperMario and rw-r-r_0644 like this.
  10. Coc4tm

    Coc4tm WIP Nintendo hacker.

    Member
    350
    241
    Feb 12, 2016
    France
    fw.img
    Brienj is uncultivated ( ͡ ° ͜ʖ ͡° )
     
  11. CreeperMario

    CreeperMario GBAtemp Advanced Fan

    Member
    616
    364
    Jun 18, 2016
    Australia
    OSv10 v15702
    Yes, of course you can't grow vegetables on @brienj. (dictionary jokes)
    I played the original game once, scored something around ten and just gave up trying to beat it. How well will I do this time? Currently sitting at 17 - can I make it to 20?
     
    Last edited by CreeperMario, Oct 8, 2016
    Coc4tm likes this.
  12. rw-r-r_0644
    OP

    rw-r-r_0644 GBAtemp Fan

    Member
    334
    380
    Jan 13, 2016
    Italy
    2x at least :D
    I scored 9 with the original game and 57 here (hehe)
     
  13. QuarkTheAwesome

    QuarkTheAwesome Working for Hugs

    Member
    810
    1,993
    Apr 19, 2015
    Australia
    Stuck in the PowerPC
    My only experience with Flappy Bird was one of the spin-offs that came after the takedown - Floppy Bird (and yes, the bird was an actual floppy disk).
    The issue was that my only smart device at the time was a HTC Wildfire (not the S model!) I have Pentium 3s in my parts box with higher clockspeeds than that phone. The result was that the game ran at 30%-40% of its original speed, which gave me a bit of an unfair advantage.
    No idea how well I'll do here.

    (P.S. You should set up leaderboards - just use cURL to send off people's highscores. No idea how you'd make it unabusable (esp. with a FOSS app))
     
    rw-r-r_0644 and Coc4tm like this.
  14. OriginalHamster

    OriginalHamster UStealthy

    Member
    3,381
    642
    Nov 2, 2008
    Cote d'Ivoire
    Is there any limit size for HBL .elf's?
    I wonder if could be possible port flOw...
     
    Last edited by OriginalHamster, Oct 8, 2016
  15. CreeperMario

    CreeperMario GBAtemp Advanced Fan

    Member
    616
    364
    Jun 18, 2016
    Australia
    OSv10 v15702
    As of now, the limit is 6.5MB for an HBL executable.
    Though if you need more space for images and sounds, those can be stored outside of the executable and loaded separately. The ELF file can contain just code.
     
  16. rw-r-r_0644
    OP

    rw-r-r_0644 GBAtemp Fan

    Member
    334
    380
    Jan 13, 2016
    Italy
    I neer played the original game too :P
    I found it when some days ago at school they constricted us to do some sort of hour of code (haha, 1 minute to complete all the exersices) and I though it could be ported to Wii U just fine.
    So then I searched flappy bird and found floppy brid html5 (I taken resources from there) but there I scored only 9 after too much tries.
    When I made Flappy Bird I scaled assests to 1,5x but not the gravity and jump so it's much easier ;)
    For leader board I could crypt the connectionnand score file, etc. (But it just wouldn't work with the source code public) or...just ignore cheaters
     
    QuarkTheAwesome and Coc4tm like this.
  17. Coc4tm

    Coc4tm WIP Nintendo hacker.

    Member
    350
    241
    Feb 12, 2016
    France
    fw.img
    I have do hour of code at school too
    Too much easy 4 me :D
     
    rw-r-r_0644 likes this.
  18. QuarkTheAwesome

    QuarkTheAwesome Working for Hugs

    Member
    810
    1,993
    Apr 19, 2015
    Australia
    Stuck in the PowerPC
    I was thinking about highscores, and a possible course of action is to have some crazy encryption system (crazy enough to be hard to reverse-engineer) and build the app to work just fine without it (clever #defines) and simply only include the system in the official elf files and not in the git repo. Thus, the app is still open-source (ish) but the highscore encryption system/key isn't. It'd also be possible to use UDynLoad and have the highscore system as an optional and completely seperate file (or even project) that isn't open source.
     
  19. Deck of Noobs

    Deck of Noobs Politically Incorrect

    Member
    768
    1,123
    Apr 9, 2016
    United States
    3ds.guide
    All of Wii U hacking has culminated to this moment
     
    VinLark likes this.
  20. rw-r-r_0644
    OP

    rw-r-r_0644 GBAtemp Fan

    Member
    334
    380
    Jan 13, 2016
    Italy
    There are still many projects going. We need more devs though, we're just 6-4 actually working on something
     
    KiiWii and Coc4tm like this.