old QB Defender game - anyone want to try to bring this up to speed?
#16
(04-02-2023, 03:26 PM)TempodiBasic Wrote: fine and hard your work on this oldQbasic code.
I'm tuning on the OUT /INP emulated into QB64pe!

I haven't even looked at that yet. To start with I have been focusing on fixing the keyboard input. I also removed all the old adlib sound code - we can replace it with playing samples later (at one of those links they had WAV files of some of the sounds, the rest can be found online or pulled out of MAME).

(04-02-2023, 03:26 PM)TempodiBasic Wrote: I'm sorry but running the code posted by you at #12 I can appreciate your menù for game.

I just put in those very primitive menus to keep things simple for now.
The final game would have real menus and option screens that match the look of the real game, like TerryRitchie did in "Widescreen Asteroids".

(04-02-2023, 03:26 PM)TempodiBasic Wrote: I have not understood why do you scramble KeyLeft and KeyDown?

That's not from "Scramble". Sorry, I should have explained what I was doing. The original controls (up, down, thrust, reverse) are hard to use for a lot of people. But they are also part of the challenge of the game! But for beginners or people who just prefer a standard 4-directional joystick (actually 8-directional if we count diagonal movement), I want to include using the arrow keys to move up/down/right/left. So if you are pointing in one direction and the player presses the other way, the code will check the current direction the ship is facing: if they are facing the opposite direction then reverse direction else thrust. I have not added that code yet, just added some variables for it.

(04-02-2023, 03:26 PM)TempodiBasic Wrote: I have tested keyboard with a good result  for A,Z, N,M,K and spacebar.
Buuut running the game (option 1) is terrible!
Because  1 starship moves without any key pressed.  2. graphic makes garbage if you try to move Up/Down the starship.  3. graphic makes garbage is you fire with starship.  Graphic is too fast and I must use on my PC a _limit 10 at the place of _limit cFPS (=30).

Yes it is a mess. I think it can be fixed, but one step at a time!

(04-02-2023, 03:26 PM)TempodiBasic Wrote: I hope that this my feedback should be useful for you that are working on it!

Thanks for your feedback, it is a big help :-)
Reply


Messages In This Thread
RE: old QB Defender game - anyone want to try to bring this up to speed? - by madscijr - 04-02-2023, 07:34 PM



Users browsing this thread: 32 Guest(s)