The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Breakout!
01-04-2014, 06:07 AM (This post was last modified: 01-11-2014 06:29 PM by Egan Ford.)
Post: #1
Breakout!
Caveats, notes, etc...:
  • This was a small POC that quickly got out of hand (feature creep). I really should completely rewrite this.
  • My first HP Prime PPL program (well after "hello, world"). I still have not read the User's manual, I just skimmed what I needed. If you want to offer up suggestions, then do so in this forum.
  • There are about a godzillian optimizations (space and performance) that can be made, however performance optimizations are not necessary. The game can be too fast.
  • The "mouse" is squirrelly at the bottom of the screen. I suspect there is a conflict between the soft buttons and mouse mode. When you grab the paddle, do so above it, then slide your finger below it. As long as you do not run your finger off the bottom or side, you'll be fine.
  • I tried to abstract everything, however I exceeded my time budget on this and took a few shortcuts. Almost everything is customizable.

To play:
  • Tap screen to exit demo mode.
  • Grab the paddle.
  • Hit the ball. You get five balls.
  • Ball travels 2x speed if you hit orange or red bricks, however you can slow down to 1.5 speed if you hit around the center of the paddle.
  • Each level moves down a row of bricks, but resets at level 6,11,etc... Watch the demo mode and example of game play.
  • At game end, tap the screen to reset back to demo mode.
  • "On" to exit.

Video:





Attached File(s)
.zip  breakout.zip (Size: 10.54 KB / Downloads: 298)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Breakout! - Egan Ford - 01-04-2014 06:07 AM
RE: HP Prime Breakout! - Egan Ford - 01-04-2014, 06:08 AM
RE: HP Prime Breakout! - Kevin Ouellet - 01-04-2014, 07:12 AM
RE: HP Prime Breakout! - ArielPalazzesi - 01-04-2014, 09:30 AM
RE: HP Prime Breakout! - Egan Ford - 01-04-2014, 03:57 PM
RE: HP Prime Breakout! - Mic - 01-05-2014, 07:54 AM
RE: HP Prime Breakout! - tgallo - 01-05-2014, 09:20 AM
RE: HP Prime Breakout! - Thomas Klemm - 01-09-2014, 10:32 PM
RE: HP Prime Breakout! - tgallo - 01-09-2014, 10:50 PM
RE: Breakout! - Dante - 02-03-2014, 03:32 AM
RE: Breakout! - Egan Ford - 02-03-2014, 05:11 PM
RE: Breakout! - Dante - 02-04-2014, 06:24 AM
RE: Breakout! - Han - 02-04-2014, 08:24 PM
RE: Breakout! - Dante - 02-05-2014, 04:26 PM
RE: Breakout! - Han - 02-05-2014, 07:16 PM
RE: Breakout! - debrouxl - 02-05-2014, 05:22 PM
RE: Breakout! - Dante - 02-06-2014, 09:04 PM
RE: Breakout! - Han - 02-07-2014, 04:46 AM
RE: Breakout! - danielmewes - 01-04-2015, 06:58 AM



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