Jump to content
IGNORED

Displaying Scores - Help requested


Recommended Posts

dim a as UINT

 

 

'score shit is added to 'a'

 

do

'game loop goes here

rlocate 10,10

rprintint a

 

vsync

loop

 

 

 

 

this is VERY basic stuff, covered in rb+ documentation, the dodger example and probably 95% of every other example you look at

the only thing that may not be covered is UINT which translates to 'dim a as long' in vb terms

 

seriously, if you cant do this stuff with text then you should stop now.

Edited by omf
Link to comment
Share on other sites

If score=score+20, how did you manage to score 30?

Hit the pizza first for +10 and then the burger for +20. Thats good because I was worried about it adding the numbers correctly the way I had it. I didnt realize you had to call rprint in the subroutine where the score actually counts and then I wasnt sure if every score action had to rprint (thank God thats not the case)

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...