Author |
Topic: Rotating marble maze game (Read 370 times) |
|
PatrickM
New Member
member is offline


Posts: 14
|
 |
Re: Rotating marble maze game
« Reply #2 on: Sep 21st, 2017, 01:27am » |
|
Apart from the arrows, what other keys are available on the Amazon TV stick's remote control? I'll update the program accordingly tomorrow. Thanks, -PM
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline


Posts: 803
|
 |
Re: Rotating marble maze game
« Reply #3 on: Sep 21st, 2017, 08:34am » |
|
on Sep 21st, 2017, 01:27am, PatrickM wrote:| Apart from the arrows, what other keys are available on the Amazon TV stick's remote control? |
|
Here's a picture. Only the navigation ring (left, right, up, down) and the central button (maps to Return/Enter) are testable using INKEY with a negative parameter I think. The rewind, fast-forward, play/pause and menu buttons are additionally detectable with GET or INKEY with a positive parameter.

Richard.
|
|
Logged
|
|
|
|
PatrickM
New Member
member is offline


Posts: 14
|
 |
Re: Rotating marble maze game
« Reply #4 on: Sep 21st, 2017, 12:10pm » |
|
Thanks Richard, here's the new version of the game: http://dusthillguy.ddns.net/folder/rotmaze2.bas Hopefully you should be able to play it on the amazon fire stick now, but let me know if there are any other problems that stop it from working.
PM
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline


Posts: 803
|
 |
Re: Rotating marble maze game
« Reply #5 on: Sep 21st, 2017, 10:19pm » |
|
on Sep 21st, 2017, 12:10pm, PatrickM wrote:| Hopefully you should be able to play it on the amazon fire stick now, but let me know if there are any other problems that stop it from working. |
|
It runs, but I misled you: I'd forgotten that the central button (in the middle of the navigation ring) - whilst generating the same GET code as Enter/Return - has its own negative-inkey value of INKEY(-73) rather than INKEY(-74). With that change all the 'spin' functions work as they should.
To make it fully suitable for the Fire Stick it would be necessary to add the ON ERROR statement that all the other Android example programs have. Otherwise there's no way of getting back to the main menu ('IDE') and it will instead exit to an immediate mode prompt. Not a lot of use on a machine without a keyboard!
Richard.
|
|
Logged
|
|
|
|
|