Alternatively, join us on Discord.

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: ShowHide

Thanks in advance for any feedback.

Enjoy :)

gameblabla

September 09, 2016, 03:22:04 am #1 Last Edit: September 09, 2016, 03:32:41 am by gameblabla
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

nullweist

Thanks for the advice, I'll see what I can do.

DJ 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 :(

p2

directly seeing the score in flappy bird is a great idea  :thumbsup: makes it much more fun to compete with others  ^^
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)

DJ 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=


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 :'(
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)

DJ Omnimaga


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? :)
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.

DJ 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.

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:
Does this qualify as a signature? 
The answer is "Sure."


DJ 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.

Powered by EzPortal