Post Reply 
GAME: Racer
02-01-2016, 10:17 PM (This post was last modified: 02-12-2018 10:06 PM by Mark Power.)
Post: #1
GAME: Racer
Hi Everyone, I've been following a tutorial on building an Outrun style racing game. My kids and buddies think it is now ready to unleash. Have fun and let me know what features you'd like me to try to squeeze in next.

[Image: splash.png][Image: night.png][Image: setup.png]



How to install this app:
  • Make sure to update to the latest firmware (8151 or higher).
  • Make sure to update to the latest Connectivity Kit (8151 or higher).
  • Download New v35
  • Unzip Racer35.hpappdir.zip.
  • Copy the Racer35.hpappdir folder into your HP Connectivity Kit\Content folder on your PC or Mac.
  • Run the Connectivity Kit and connect your calculator to your PC or Mac (or optionally run the virtual emulator).
  • Drag the Racer35.hpappdir folder on the left pane of the connectivity kit window, just inside "App Library" category and drop it there.

How to play
  • Select Racer from the Apps screen
  • Press [ENTER] to start a race with the default setup, any other key for instructions. Get back here by pressing [View]
  • Optionally go to Setup... and alter the number of laps to race and whether you want AutoAccelerate (on by default), easy or hard track, day or night mode, and traffic to get in your way
  • Select Start Race
  • Steer using [1] and [2], the cursor pad or arrow keys on the emulator
  • Use [+] and [-] for accelerate and decelerate
  • Keep off the grass!

Limitations
  • Two tracks but you can build your own in ResetRoad() if you are feeling brave.
  • I've added AutoAccelerate so that you don't have to hold down the [+] key to get the car moving.
  • Only 20 road segments drawn per frame to keep the frame rate up. Some serious optimisation is needed to improve this.
  • v23 should fix failure to start
  • v32 fixes timing on the virtual HP Prime and allows steering using PC or Mac arrow keys (in addition to 1 or 2)
  • v35 adds compatibility with firmware 13333 which has an issue with DIMGROB. This version should be compatible with earlier versions of firmware if you have not yet updated to 13333.

Thanks
  • Sega
  • Jake Gordon for his excellent javascript racer tutorial http://codeincomplete.com/posts/2012/6/2...ipt_racer/
  • Tim Wessman and all at HP for truly amazing hardware and spectacular firmware
  • mandresve for showing us how to view png files
  • Han for his tutorial on TRIANGLE which I still haven't used but which inspired me to try 3d out the hard way
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
GAME: Racer - Mark Power - 02-01-2016 10:17 PM
RE: GAME: Racer - Forrestglade - 02-01-2016, 11:15 PM
RE: GAME: Racer - Mark Power - 02-02-2016, 03:52 AM
RE: GAME: Racer - Mic - 02-03-2016, 12:36 PM
RE: GAME: Racer - cyrille de brébisson - 02-05-2016, 05:51 AM
RE: GAME: Racer - Mark Power - 02-16-2016, 09:52 AM
RE: GAME: Racer - Eddie W. Shore - 02-21-2016, 04:22 PM
RE: GAME: Racer - Kevin Ouellet - 02-25-2016, 06:12 AM
RE: GAME: Racer - Mark Power - 03-01-2016, 10:18 PM
RE: GAME: Racer - critor - 03-16-2016, 06:29 PM
RE: GAME: Racer - KlaasKuperus - 03-29-2016, 10:17 AM
RE: GAME: Racer - Mark Power - 04-11-2016, 07:41 PM
RE: GAME: Racer - Kevin Ouellet - 04-12-2016, 05:22 AM
RE: GAME: Racer - Mark Power - 02-14-2017, 10:06 PM
RE: GAME: Racer - wangchong01 - 06-08-2017, 01:34 PM
RE: GAME: Racer - Mark Power - 06-08-2017, 07:16 PM
RE: GAME: Racer - wangchong01 - 06-09-2017, 04:50 AM
RE: GAME: Racer - Mark Power - 02-12-2018, 10:03 PM



User(s) browsing this thread: 1 Guest(s)