Hello Dear reader, Please take your time to read this
Question1
I'm making a 2d game with 2 little aircrafts (one at the top of the screen and one aircraft at the bottom of the screen). They can only move left or right.
For the aircraft at the bottom of the screen i've used:
the leftkey() en rightkey() for moving
For shooting i've used the spacekey() command. Shooting and moving AT THE SAME TIME with these command leftkey(), rightkey(), spacekey() works perfect.
The problem is:
It DOESN'T work with keycode 30 and 32 33. (move with "[A]" and "[D]" and shoot with "[F]"). The plane will stop moving when i'm shooting at the some time. (in otherwords: i have to stop moving to shoot a bullet from the top airplane.
Does anybody know the difference between the left,rightkey()and spacekey() and the keycode commands??? How do i fix my problem?
Question2:
At the beginning of code I'm loading a few bitmaps.
(for the background,aircrafts and bullets)
But i cant draw any text in front of it with the print "text here" command.
I really need to draw some text to create a scoreboard.
How do i fix this problem too?
Please help me out
See my code also
[rems are in dutch,funny language you might think]
[The coding might look a bit noob, sorry for that too]
[media not included, but i hope its not important to anwers my questions]
With kind regards Pieter
homepage[www.vbbasics.tk]