Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - MacBernick

Pages: [1]
1
HP Calculators / Fast filled circles routine
« on: January 15, 2014, 09:18:39 am »
After a discussion an another thread about filled circles, I made a little program using FILLPOLY_P to simulate a fillled circle. It was really slow because of the use of a FOR loop to make a list of coordinates to feed the FILLPOLY function. One day Han told me it would be more efficient to call MAKELIST for building lists, so I modified it a bit, and this is now REALLY faster :)

You can push the attached program in your calc or the simulator, run "circles" for a quick demo drawing random circles on screen at a nice speed, or use the EXPORTed FILLCIRCLE_P(centerX, centerY, radius, color) function in your program.

You can also copy/past the function in your program if you want to use it but don't want to rely on an external lib.

NB : these are not perfect circles, they are not suitable for mathematics purposes. Also, very small circle may look weird.

Enjoy

2
HP Calculators / How to save things ?
« on: January 06, 2014, 01:52:12 pm »
How do you store high scores, game states, or anything you want to keep safe for an arbitrary amount of time. EXPORTed variable are not reliable for this use, and I can't find a way to create an actual User Variable programmatically. Pre-defined vars are the way ? Sounds odd to me...
Thank you for any advice !

3
HP Calculators / [solved] Bricked because of failed firmware update ?
« on: December 29, 2013, 08:24:12 am »
I received my prime yesterday. I was happy ^^

The first thing I did is updating firmware through the connectivity kit. The calculator entered recovery mode (v13), the progress bar progressed fine, when, at about 4/5 to the end, the connectivity said "update failed", and the machine did not respond at all. I pushed the little reset button on the back, and now the machine won't turn on at all...

What am I supposed to do next, please ?  :'(

EDIT : I managed to start the recovery again ([symb] + reset) after a few try.

EDIT2 : and launching Updater.exe did the rest. Sorry for this useless thread  :angel:

4
The Axe Parser Project / Axe Parser on 84+CSE ?
« on: December 27, 2013, 09:24:28 pm »
Does it work ?

thanks ^^

5
HP Prime / [WIP] Trailblazer Prime
« on: December 12, 2013, 03:36:39 pm »
Hi guys !

I'm trying to remake on the Prime an old 8 bits game called Trailblazer.

D-Pad for controls (left, right, accelerate, slow down),
[Enter] to jump,
[Esc] to quit.



Blue Circle : reverse Right/Left control.
Yellow Arrow : accelerate.
Green arrow : slow down.
White ...thing : free jump.
Green and brown plain tiles cancel reversed controls.

When falling into a hole, you get stopped for 2 sec then restart.

/!\ IMPORTANT /!\
For some (unknown) reasons, the jump routine game is broken on Virtual Calc. Please play on the real hardware.
Because of a stupid bug, be sure to be in degree mode before playing. Will be fixed ASAP.

UPDATE :

v0.0.7 is out.

changelog :

 Game Menu
 Track selection
 Track editor (no loading)
 Lot of minor adjustments
 More bugs !


Spoiler For Spoiler:
v0.0.6 is out.

changelog :

 Better textures,
 New attempt at embossing tiles, still need more work,
 Welcome screen,
 Starting lights,
 Finish line,
 You can only jump 5 times per run.

v0.0.5 is out.

changelog :

 Better graphics (run at about 25 FPS).
 Jump is back (broken on simulator).
 All types of tiles work now (including holes).
 Some kind of dashboard placeholder displaying current speed for now.
 New test track. Goodbye Hello World, hello Goodbye World !
 Falling animation is sometimes weird and need some more work.


v0.0.4 is out.

changelog :

 Far distance fade out nicely with background.
 Angle mode is now set to degrees at start and back to whatever it was when exiting.
 New PNG texture set
 One big textures for the whole track.
 Some tiles are functionals.


v0.0.2 is out.

changelog :
Decreased graphic quality to boost framerate (thanks to DJ Omnimaga).
Added a ball and some controls. Left and Right on D-Pad to move the ball, Up and Down to accelerate / slow down.
Added a framerate counter, disable it by setting showFPS (the very first EXPORTed variable in source code) to 0.
Cleaned up the code a bit to remove useless things, and added some comments.
The W now looks more like a W ^^
I still forgot to set those #*$! angles to degrees, please be sure to be in degree mode and not radians !

The ball sprite is just an ugly placeholder for now, I will do something better hopefully some day.

check the attached file.

Pages: [1]