QB64 Phoenix Edition
Footrace! A running / obstacle course / maze race game for 2-4 players. - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Prolific Programmers (https://qb64phoenix.com/forum/forumdisplay.php?fid=26)
+---- Forum: madscijr (https://qb64phoenix.com/forum/forumdisplay.php?fid=46)
+---- Thread: Footrace! A running / obstacle course / maze race game for 2-4 players. (/showthread.php?tid=1680)



Footrace! A running / obstacle course / maze race game for 2-4 players. - madscijr - 05-12-2023

A track & field type running game for 2-4 players. 
The faster you move the controller the faster your player goes 
(kind of like the old arcade game Track & Field in a way).

Setup
Download the "footrace3-00.bas" file and run. The first time you run the game, choose the map controls option and save your mapping. I haven't tested it beyond my own PC (Windows 10), keyboard/mouse (standard wired USB ones), and a couple of different game controllers (see below), but it seems to work.

Game Controls
The game lets you map your own controls, and supports both game controller and keyboard input. 
However it's much easier playing with joystick / gamepad controllers, where one joystick controlls each foot:

[Image: footrace-game-controller-1.png]

You can find a wired USB one for around $15 - 20.
Like this Logitech Wired Gamepad Controller for PC
Get one of those per player and you're good to go.

For player 1-2, I use a couple Logitech RumblePad 2 controllers which are cheap on ebay
and for player 3-4, I have 4 Atari 2600 joysticks connected to one of these
iCode Atari Joystick, Paddle, Driving to USB Adapter 4 ports 2600 7800 XE/XL/ST

(Later I'll post instructions on building a pair of joysticks cheap!)

Screenshots

[Image: footrace01.png]

[Image: footrace02.png]

[Image: footrace03.png]

[Image: footrace04.png]

[Image: footrace07.png]

[Image: footrace08.png]

[Image: footrace09.png]

[Image: footrace10.png]

[Image: footrace11.png]

History
I first had this idea back in February 2003, and it went on to the backburner with the 10,000 other "bright ideas" to be toyed with or maybe finished or forgotten.

Well, thanks in no small part to QB64, it has finally been realized. Only took 19 years! You kids - let that be a lesson to you - sometimes perseverance pays off!!

I'm sure this could be done better, I am not what you would call a talented programmer. Also I am not really a gamer and am not too up on things, so maybe this concept has been done.

I just wanted to make something that would be fun for the family on a rainy day, that can be tinkered with, without having to be a rocket scientist.

I still want to build some crazy game controllers to make for a unique user experience. That could be part of the experience - each player brings their own customized contraption to control their player.



Original post from 2022: Footrace! A simple local multiplayer video olympic e-sport game for 1-4 players.


RE: Footrace! A running / obstacle course / maze race game for 2-4 players. - mnrvovrfc - 05-12-2023

Well done! But I'm going to need a joystick to play. I wish I still had that one that I was able to use for only one game many years ago...


RE: Footrace! A running / obstacle course / maze race game for 2-4 players. - madscijr - 05-12-2023

(05-12-2023, 05:12 PM)mnrvovrfc Wrote: Well done! But I'm going to need a joystick to play. I wish I still had that one that I was able to use for only one game many years ago...

Thank you! You could use a keyboard, if you're good with using cursor keys!