Jump to content
IGNORED

A little help with one game I'm working in IntyBASIC


Kiwi

Recommended Posts

I'm having problem with the instruction portion of this game. I'm not sure what's the cause of the problem.

wait
MODE 0,4,15,4,13
define 0,8,gamegraphics
wait 
define 16,10,numberfont 
wait
define 28,12,TitleGraphics
tick=8:Lasa=0:
Lasx=1:#sc=0:#NumTotal=0:#GoalTotal=0:
dim numberz(4):dim goal(4):
reset:cls

print at 26 color 7,"\284\285\286\287\288\289"
print at 46 color $2002,"\290"
print at 47 color 2,"\291\292\293\294\295"
print at 52 color $2002," "

print at 124 color 7,"Start Game"
print at 144 color 7,"How to Play"

print at 180 color $2002," "
print at 184 color 7,"Made by Kiwi"
print at 206 color 7,"IntyBASIC"
print at 224 color 7,"by NanoChess"
ypos=123
Title:
wait
print at ypos color 7," "


if cont1.up then ypos=123
if cont1.down then ypos=143
if cont1.B0 AND ypos=123 then goto Start
if cont1.B0 AND ypos=143 then goto HowToPlay
print at ypos color 7,"\258"
goto Title
'xxxxxxxxxxxxxxxxxxxx0000011111222223333344444555556666677777000001111122222333334444455555666667777700000111112222233333000001111122222333334444400000111112222233333
HowToPlay:
print at 80 color 7,"Shoot the number to increase them by 1. If the numbers matchthe goal number,thenthe round is done.  If overflow then    that number is resetback to zero. Enjoy!"
cont1=0
wait

a=255

HowToPlayloop:
wait
if cont1.BO AND a=0 then goto reset
if a<>0 then a=a-1

goto HowToPlayloop

Start:

I was trying to find a way to have the instruction stay on screen. When the user press the button, it goes back to redraw the title screen. It stays on screen about 4.15 seconds due to a not being 0 yet. It seems that the button is sticky. It doesn't stick during gameplay though.

 

NumberBlaster.bas

 

NB.bin

Link to comment
Share on other sites

Yes, it was a typo. Thank you. I do need to figure out how to change the font in Notepad++. 1 and I, 0 and O use the same letter as it was like the old typewriter days.

 

 

Here's a nice article on configuring Notepad++: http://www.groovypost.com/howto/notepad-plus-plus-change-font-color/

 

As far as terminal fonts go, I like Terminus and Consolas. Consolas comes with Windows as of Windows Vista.

 

For the record, I pretty much hate Courier. :)

Edited by intvnut
  • Like 1
Link to comment
Share on other sites

Number Blaster is a new game? A new kids math game? :P

Yep, it's a new game. Hmm... maybe... It was original made on the TI-83 calculator... hmm. Anyway, I made a gifo of the game in action.

 

post-24767-0-59927000-1424050691_thumb.gif <-- click to animate

 

In the snake 10 liner thread I made 2 different version of the same game, the meteor shooting game. One only use background layer, the other only use sprites. So the one with the background layer was going to be this game, but 10 liner would be difficult to make Number Blaster in. I decided to make this one without 10 lines limitation. The sprite version of 9 liner meteor shooting game going to be expand upon.

 

  • Like 2
Link to comment
Share on other sites

This game kind of reminds me of a game I made for the comp.sys.sinclair crap game compo just a few months ago. Perhaps I should try to port it to IntyBASIC.

http://www.mykeweb.co.uk/csscgc2014/review.php?name=acdivide&site=full

 

(after publishing it, I've learned there are methods to determine if a number is divisible by 7, 11, 13, 17 etc so the number of professional levels could be extended)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...