Store › Forums › Hackvision › Bugs/Problems › Space Invaders
- This topic has 2 replies, 2 voices, and was last updated 10 years, 2 months ago by KubitronPL.
-
AuthorPosts
-
September 30, 2014 at 7:24 pm #721KubitronPLMember
Hi, i have a problem with the Space Invaders game from Hackvision.
I got original Arduino UNO R3 and i can’t build code of the game in Arduino IDE.This is the error:
invalid conversion from ‘const unsigned char*’to ‘unit8_t’
SpaceInvaders.ino: In function ‘void gameOver()’:
SpaceInvaders:279: error: invalid conversion from ‘const unsigned char*’ to ‘uint8_t’
SpaceInvaders:279: error: initializing argument 1 of ‘void TVout::select_font(uint8_t)’
SpaceInvaders:281: error: ‘class TVout’ has no member named ‘print’
SpaceInvaders:283: error: ‘class TVout’ has no member named ‘print’
SpaceInvaders.ino: In function ‘void enterInitials()’:
SpaceInvaders:299: error: ‘class TVout’ has no member named ‘print’
SpaceInvaders:301: error: ‘class TVout’ has no member named ‘print’
SpaceInvaders.ino: In function ‘boolean displayHighScores(byte)’:
SpaceInvaders:448: error: invalid conversion from ‘const unsigned char*’ to ‘uint8_t’
SpaceInvaders:448: error: initializing argument 1 of ‘void TVout::select_font(uint8_t)’
SpaceInvaders:450: error: ‘class TVout’ has no member named ‘print’
SpaceInvaders:453: error: ‘class TVout’ has no member named ‘print’
SpaceInvaders:468: error: ‘class TVout’ has no member named ‘print’
SpaceInvaders.ino: In function ‘boolean titleScreen()’:
SpaceInvaders:486: error: invalid conversion from ‘const unsigned char*’ to ‘uint8_t’
SpaceInvaders:486: error: initializing argument 1 of ‘void TVout::select_font(uint8_t)’
SpaceInvaders:495: error: ‘class TVout’ has no member named ‘print’
SpaceInvaders:509: error: ‘class TVout’ has no member named ‘print’
SpaceInvaders:517: error: invalid conversion from ‘const unsigned char*’ to ‘uint8_t’
SpaceInvaders:517: error: initializing argument 1 of ‘void TVout::select_font(uint8_t)’
SpaceInvaders:527: error: ‘class TVout’ has no member named ‘print’
SpaceInvaders:536: error: ‘class TVout’ has no member named ‘print’
SpaceInvaders:545: error: ‘class TVout’ has no member named ‘print’
SpaceInvaders:554: error: ‘class TVout’ has no member named ‘print’
SpaceInvaders.ino: In function ‘void newLevel()’:
SpaceInvaders:643: error: invalid conversion from ‘const unsigned char*’ to ‘uint8_t’
SpaceInvaders:643: error: initializing argument 1 of ‘void TVout::select_font(uint8_t)’
SpaceInvaders:646: error: ‘class TVout’ has no member named ‘print’
SpaceInvaders:647: error: ‘class TVout’ has no member named ‘print’
SpaceInvaders:650: error: invalid conversion from ‘const unsigned char*’ to ‘uint8_t’
SpaceInvaders:650: error: initializing argument 1 of ‘void TVout::select_font(uint8_t)’
SpaceInvaders.ino: In function ‘void initSpaceInvaders(boolean)’:
SpaceInvaders:669: error: invalid conversion from ‘const unsigned char*’ to ‘uint8_t’
SpaceInvaders:669: error: initializing argument 1 of ‘void TVout::select_font(uint8_t)’
SpaceInvaders.ino: In function ‘void drawScoreLine()’:
SpaceInvaders:719: error: ‘class TVout’ has no member named ‘print’Please help 🙁
September 30, 2014 at 8:47 pm #2042MichaelKeymasterDid you install the required libraries correctly? The process is described here: http://nootropicdesign.com/hackvision/games.html. If you are using the original Hackvision.pde game, then you need the older TVout library downloadable from nootropicdesign.com.
If you downloaded the standalone SpaceInvaders.ino sketch, then that uses the TVout from Google Code. The instructions say this:
NOTE: This original firmware no longer works with the newer versions of Arduino and the Uno bootloader.
You can use the standalone Space Invaders and Pong games. These are to be used with the TVout library at Google Code and the Hackvision Controllers library.October 1, 2014 at 1:04 pm #2043KubitronPLMemberThanks a lot.
I had to download a version from Google Code 🙂Subject for close.
-
AuthorPosts
- You must be logged in to reply to this topic.