Calculator Community > HP Prime

4 games for the PRIME

<< < (2/3) > >>

DJ Omnimaga:
Oh, I didn't know there was a FILLCIRCLE command too. It was not listed in the commands menu O.O

EDIT: Wait nevermind, it looks like a sub-routine you made. I was confused because it had all-caps.

MacBernick:
Haha yes sorry, I don't know why I wrote it like that.

Reducing the STEP value increase smoothness but problem occurs with smaller circles. In fact, the smaller the circle, the higher the STEP should be. FILLPOLY doesn't seems to like too close points.

DJ Omnimaga:
Ah I see. I guess it wouldn't be too bad if I used less accurate circles in games, although this can be a problem for games like Simon since it would look weird. Also how fast is this by the way?

MacBernick:
The speed of the FOR loop (too slow for realtime). COS and SIN could be precomputed but I doubt it would make a big difference.

DJ Omnimaga:
I guess in that case we would need to rely on fake circles (a FILLPOLY made of like 20 points that is just small enough so that it still looks somewhat like a circle or by pre-rendering your circles into a GROB then recalling them with BLIT_P)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version