Join us on Discord!
You can help CodeWalrus stay online by donating here.

Flappy Bird on HP Prime

Started by nullweist, September 09, 2016, 02:47:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nullweist

Hello, as the title announces, this is Flappy Bird for the HP Prime. It is currently functional, but I might be releasing some aesthetic updates to it in the future. I have written it as an HP App so that I can take advantage of storing images as pngs.
[spoiler][/spoiler]
Thanks in advance for any feedback.

Enjoy :)
  • Calculators owned: Hp Prime

gameblabla

#1
It looks okay and it seems to be a little more accurate than the javascript clone i'm seeing in the wild, which is truly awful.
If you have to do any aesthetic changes: here are my suggestions :

Put your score between the pipes

Hocoslamfy, a flappy bird clone, does it.
Why you should add it ? Because it allows you to focus on the game and it is very easy to program it.

You should also make the bird looks like he's flying upward.
It can be either software scaled or pre-calculated, but either should improve the look of the game.
If you want to pre-calculate it, there's a handy software called rotSprite which gives pretty good results :
https://info.sonicretro.org/RotSprite

Finally, when the bird dies, make it look like as if he's falling down.
I'm irrated to see programmers doing it the easy way and not trying to make it as closely to Flappy Bird as possible.
Once again, RotSprite should be useful if you don't want to redraw everything.

Good luck
  • Calculators owned: None (used to own an Nspire and TI-89)

nullweist

Thanks for the advice, I'll see what I can do.
  • Calculators owned: Hp Prime

Dream of Omnimaga

Glad to see you again Nullweist. Unfortunately your image URL is broken. I just see some gray icon with an horizontal bar through it :(
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

p2

directly seeing the score in flappy bird is a great idea  :thumbsup: makes it much more fun to compete with others  ^^
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

Dream of Omnimaga

On a side note @nullweist I finally played it and made a screenshot. I didn't try on a real calc yet, though, so it's emulator speed. (unless it runs at the same speed on both?). In any case, I like it so far, although you should try to make the physics more realistic, like in the original game and maybe add parallax scrolling for the background. :3=

  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

p2

Why's there a "you died" screen right at the beginning? ^^

*created a version of the gif with a walrus instead of a bird... too large to upload :'(
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

Dream of Omnimaga

  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Enlightened Ingression

This may be a noob topic, but how do you install the app?

p2

Hey @Enlightened Ingression, and welcome to CodeWalrus  :thumbsup:
Maybe you want to introduce yourself to the forum? :) You can do it in the Introduction area

About your question: Are you talking about  installing Apps on a HP Prime or what system is it you're using? :)
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

Enlightened Ingression

Quote from: p2 on September 15, 2016, 08:33:10 PM
Hey @Enlightened Ingression, and welcome to CodeWalrus  :thumbsup:
Maybe you want to introduce yourself to the forum? :) You can do it in the Introduction area

About your question: Are you talking about  installing Apps on a HP Prime or what system is it you're using? :)
Installing apps like this one on the HP Prime.

Dream of Omnimaga

You need to unzip the file, then in HP Connectivity Kit, when the calculator or HP Virtual Calculator is connected, go to Application Library in the left menu then drag and drop the hpappdir folder itself to the Application library option. Then you go to the applications menu on your calculator.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Dudeman313

That's not really a noob topic. I gave up on the HP Prime Emulator because I was too dumb to install anything. :blah:
  • Calculators owned: TI-84 PCE
  • Consoles, mobile devices and vintage computers owned: Android O Phone
Does this qualify as a signature? 
The answer is "Sure."


Dream of Omnimaga

Erm, shouldn't it just involve clicking Next a few time in most cases? (and making sure the install directory is fine, such as program files/program name) That's unless your computer has special filters that must be disabled before installing or if you need admin privileges, though. But in any case, if you can't run CEmu on your computer then unless HP Prime Virtual Calculator is actually a simulator rather than an emulator, then I can't see how it will run.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Powered by EzPortal