Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / printing out the scores

Author
Message
Joegio13
19
Years of Service
User Offline
Joined: 26th Jan 2005
Location: Miami, FL
Posted: 29th Jan 2005 03:40
for my first game, im making a pong game. I got the program working fine, except for my output of scores and lives. The program is a 3D version of pong. I made nice little bitmaps with the all the numbers and labels. I got a bitmap that i would like to blit parts of it, so that i can display information. how should i do it? as when i try and blit the image it turns my screen all black. plz help

Sry for the double post, the title of my last post is misleading due to a typo in the title.

-sigh- DBPro can't program in the 4th dimension
comando 300
20
Years of Service
User Offline
Joined: 23rd Nov 2003
Location:
Posted: 29th Jan 2005 07:14
You make a variable for the score. When you or the computer score increment the score variable(inc score,value).

For show it in the screen.

Print "Score: ";score

Read my "My First Pong Game" sticky post.

[href]http://www.freewebs.com/comando_300/[/href]
Joegio13
19
Years of Service
User Offline
Joined: 26th Jan 2005
Location: Miami, FL
Posted: 29th Jan 2005 07:58
i know how to do that, but i got an image that i want to blit and load.
this is waht i am doing, and its turning my screen black.

-sigh- DBPro can't program in the 4th dimension

Login to post a reply

Server time is: 2024-09-23 10:23:37
Your offset time is: 2024-09-23 10:23:37