Do you play Wolf with a Joystick???
Select messages from
# through # FAQ
[/[Print]\]

DieHard Wolfers -> Polling Booth
Joystick or not?
Play with joystick
5%
 5%  [ 1 ]
Prefer keyboard/mouse
94%
 94%  [ 16 ]
Voted : 17
Total Votes : 17


#1: Do you play Wolf with a Joystick??? Author: HaasboyLocation: South Africa, Johannesburg PostPosted: Mon Jan 30, 2006 11:09 am
    —
I was wondering how many of you use a joystick to play Wolfenstein

#2: Re: Do you play Wolf with a Joystick??? Author: Thomas PostPosted: Mon Jan 30, 2006 11:35 am
    —
.....

Last edited by Thomas on Fri May 27, 2011 2:05 am; edited 1 time in total

#3: Re: Do you play Wolf with a Joystick??? Author: Guest PostPosted: Mon Jan 30, 2006 12:23 pm
    —
Joystick?? hate it at all, had problem with JS when shaft is used... so I prefer old junk keyboard with limited number of keys includes arrows.... Laughing

#4: Re: Do you play Wolf with a Joystick??? Author: BrotherTankLocation: Ontario PostPosted: Mon Jan 30, 2006 12:53 pm
    —
Haasboy wrote:
I was wondering how many of you use a joystick to play Wolfenstein


I am one who still faithfully uses the joystick. The mouse is ok, and so is the keyboard, but with my Gamepad Pro (using all 4 buttons) I can control almost everything without having to touch the keyboard except to change weapons. I hope you aren't thinking about removing the Joystick code from your source code. I know Darkone did in the "NewWolf Classic" source, but to be honest, while you gain a little more memory, it really isn't anything special with all the other places to gain memory from.

Greg
BrotherTank

#5: Re: Do you play Wolf with a Joystick??? Author: RazielLocation: Israhell PostPosted: Mon Jan 30, 2006 1:46 pm
    —
Keyboard is what I use the most. but honestly. I would really like to try wolf with a joystick
I just need to get one Mouth Shut

#6: Re: Do you play Wolf with a Joystick??? Author: DeanLocation: Australia PostPosted: Mon Jan 30, 2006 3:18 pm
    —
Tried a joystick once but seemed to not be able to control as easily.

Tried mouse and although it seems smoother just doesnt seem to give me control as easy. Probably my total lack of
co-ordination to be able toy use 2 things at once!

Been using a keyboard for so long, and all day at work, it's just more what I'm used to than anything else.

#7: Re: Do you play Wolf with a Joystick??? Author: ChrisLocation: Canada PostPosted: Mon Jan 30, 2006 7:05 pm
    —
BrotherTank wrote:
I am one who still faithfully uses the joystick.

Really? Sounds cool Greg. I tried using it a few times, as my dad always encouraged us to so we wouldn't wear out our keys so fast, and we had two different types of joysticks, but I was never really able to get used to using it for a game like wolf3d. It just seemed like I couldn't make precise movements as well, but maybe I just needed to get used to it more, as people use joysticks and stuff for FPS games on console systems all the time.

It was alot of fun when we were babysitting the kids, though, I'd use the keyboard and give one of them a mouse and the other the Gravis Gamepad and we'd fly through levels like mad (when we were actually able to keep our collective movement under control - haha). I remember one time we beat E6L1 in around 40 seconds, which is better than I ever remembered getting on my own, and it felt like using the keyboard and joystick run/up buttons together made us go even faster than usual. I'd have to look at the code to see if that is actually possible, but if not, then it's really weird how it felt like we were able to zoom by everything so quickly (unless we were just caught up in the moment from all the excitement most of the time). I haven't even had a joystick for a looooooooong time, but it would be fun to try that again sometime.

#8: Re: Do you play Wolf with a Joystick??? Author: monkapotomus PostPosted: Mon Jan 30, 2006 7:29 pm
    —
I had an old school joy stick when i was younger *back when my dad was a gamer* but i didnt use it for any FPS i used it for flight sims like gunship 2000 *GOD of all helicopter games* **bows down to his master**

#9: Re: Do you play Wolf with a Joystick??? Author: TricobLocation: Neo-traditions, Inc. PostPosted: Mon Jan 30, 2006 8:03 pm
    —
I like to have access to the Run button and Strafe button, switch to the knife whenever I'm facing a room full of dogs, and I Load and Save a lot. As a result, I keep going over to the keyboard so much to do what I want to do, I feel little reason to stick to anything but the keyboard to play the game.

#10: Re: Do you play Wolf with a Joystick??? Author: HaasboyLocation: South Africa, Johannesburg PostPosted: Mon Jan 30, 2006 8:33 pm
    —
BrotherTank wrote:
Haasboy wrote:
I was wondering how many of you use a joystick to play Wolfenstein


I am one who still faithfully uses the joystick. The mouse is ok, and so is the keyboard, but with my Gamepad Pro (using all 4 buttons) I can control almost everything without having to touch the keyboard except to change weapons. I hope you aren't thinking about removing the Joystick code from your source code. I know Darkone did in the "NewWolf Classic" source, but to be honest, while you gain a little more memory, it really isn't anything special with all the other places to gain memory from.

Greg
BrotherTank

Actually I did remove it, but after discovering that it only freed about 200 bytes of near memory, I reinserted it.

Well for me I also prefer playing with the keyboard, practically almost every game I play I only use the keyboard.

#11: Re: Do you play Wolf with a Joystick??? Author: BrotherTankLocation: Ontario PostPosted: Mon Jan 30, 2006 10:22 pm
    —
@Haasboy:

I know... I played with the NewWolf Classic source and found that I really liked using the joystick when playing... And then I did try and remove the Joystick code as well... 200 bytes might be the world when you just have the original source, but once you have merged statetypes and applied all the other memory saving options, the savings with the joystick just aren't really worth it.

For what it is worth, I took the time to compress the code in the wl_play.c play file and came up with these routines:

::: CODE :::

void PollButtons (void)
{
   int buttons;
   // Keyboard
   for (buttons=0;buttons<NUMBUTTONS;buttons++)
      if (Keyboard[buttonscan[buttons]]) buttonstate[buttons] = true;
   // Mouse
   if (mouseenabled)
   {
      buttons = IN_MouseButtons ();
      if (buttons&1) buttonstate[buttonmouse[0]] = true;
      if (buttons&2) buttonstate[buttonmouse[1]] = true;
      if (buttons&4) buttonstate[buttonmouse[2]] = true;
   }
   // Joystick
   if (joystickenabled)
   {
      buttons = IN_JoyButtons ();
      if (joystickport && !joypadenabled)
      {
         if (buttons&4) buttonstate[buttonjoy[0]] = true;
         if (buttons&8) buttonstate[buttonjoy[1]] = true;
      }
      else
      {
         if (buttons&1) buttonstate[buttonjoy[0]] = true;
         if (buttons&2) buttonstate[buttonjoy[1]] = true;
         if (joypadenabled)
         {
            if (buttons&4) buttonstate[buttonjoy[2]] = true;
            if (buttons&8) buttonstate[buttonjoy[3]] = true;
         }
      }
   }
}

/*
===================
=
= PollMovement
=
===================
*/
void PollMovement (void)
{
   int  xmove=0,ymove=0,cx=0,cy=0;
   long double basemove;
#ifdef STAMINA
  int x=STAMINAX,y2=STAMINAY,y1,stamc;
#endif
#ifdef WEAPONSPEED
   float weapspeed;
#endif
  basemove = BASEMOVE * tics;
   // Mouse
   if (mouseenabled)
   {
      Mouse(MDelta);
      xmove = _CX;
      ymove = _DX;
      cx = xmove*10/(13-mouseadjustment);
      cy = ymove*20/(13-mouseadjustment);
   }
   // Joystick
   if (joystickenabled)
   { 
   INL_GetJoyDelta(joystickport,&xmove,&ymove);
      if (xmove > 64)   cx = basemove;
      else if (xmove < -64) cx = -basemove;
      if (ymove > 64)   cy = basemove;
      else if (ymove < -64)   cy = -basemove;
   }
   // Keyboard
   if (Keyboard[dirscan[di_north]]) cy = -basemove;
   if (Keyboard[dirscan[di_south]]) cy = basemove;
   if (Keyboard[dirscan[di_west]])  cx = -basemove;
   if (Keyboard[dirscan[di_east]])  cx = basemove;
#ifdef STRAFEKEY
   if (Keyboard[STRAFEKEYLEFT]) strafe -= BASEMOVE*tics*(buttonstate[bt_run]?2:1);
   if (Keyboard[STRAFEKEYRIGHT]) strafe += BASEMOVE*tics*(buttonstate[bt_run]?2:1);
#endif
   // Run
   if (buttonstate[bt_run]) { cx *= 2; cy *=2; }

#ifdef STAMINA
   stamtics += tics;
   if (buttonstate[bt_run])
   {
      cx = (((cx / 2) * gamestate.stamina)/100)+(cx/2);
     cy = (((cy / 2) * gamestate.stamina)/100)+(cy/2);
   }   
  if (stamtics > 5l )
  {
   if (buttonstate[bt_run] && (cx != 0 || cy != 0) ) gamestate.stamina --;
     else if (cx == 0 && cy == 0 ) gamestate.stamina++;
     stamtics=0;
  }
  if (gamestate.stamina >= 100) gamestate.stamina = 100;
   else if (gamestate.stamina < 0) gamestate.stamina = 0;
  if (gamestate.stamina) y1 = y2-(gamestate.stamina/4);
  if (gamestate.stamina>5 && gamestate.stamina<=100)
  {
      if (gamestate.stamina >=60) stamc = 10;
     if (gamestate.stamina <60 && gamestate.stamina >20) stamc = 14;
     if (gamestate.stamina <=20) stamc = 12;
      // Draw Stamina on Statusbar
      VWB_Vlin(y2,y2+5,x,stamc);
      VWB_Vlin(y2,y2+5,x+1,stamc);
      VWB_Vlin(y1,y2,x,stamc);
      VWB_Vlin(y2-25,y1,x,0);
      VWB_Vlin(y1,y2,x+1,stamc);
      VWB_Vlin(y2-25,y1,x+1,0);
  }
#endif
#ifdef WEAPONSPEED
   switch (gamestate.weapon)
   {
      default:
         weapspeed = WSPDKNIFE; break;
      case wp_pistol:
         weapspeed = WSPDPISTOL; break;
      case wp_machinegun:
         weapspeed = WSPDMACHINEGUN; break;
      case wp_chaingun:
         weapspeed = WSPDCHAINGUN; break;
   }
   cx /= weapspeed;
   cy /= weapspeed;
#endif
   controlx += cx;
   controly += cy;
}

And then in the "PollControls" routine.... I changed this:
::: CODE :::

//
// get button states
//
   PollKeyboardButtons ();

   if (mouseenabled)
      PollMouseButtons ();

   if (joystickenabled)
      PollJoystickButtons ();

//
// get movements
//
   PollKeyboardMove ();

   if (mouseenabled)
      PollMouseMove ();

   if (joystickenabled)
      PollJoystickMove ();



to this:

::: CODE :::

// get button states
  PollButtons ();
// get movements
  PollMovement ();


And then I removed all the unused routines that I had just merged. The result makes for easier installation of the "Stamina" and "Speed based on weapon in use" tutorials and takes less memory than the original code (even with the two tutorials installed). And for some strange reason, the game seems faster.

As for the joystick... If you play a lot of video games it probably makes using it easier. Personally, I was selling Tandy-1000's (RadioShacks first fully IBM compatible computer) when Wolf3d was released. I actually started using Wolf3d to sell computers as people found it great that they could actually play something so revolutionary (at that time) with such an inexpensive comuter. We ended up having to use Joysticks because the number of people wanting to play was wearing out keyboards... hence why I use the joystick for almost every game I play (that allows for it).

Anyhow... that's my story... Feel free to use the code as well... It's a combination of Tek-Zk's stuff with a few modifications of my own... It's nothing great, but it's at least functional... Smile

Greg
BrotherTank

#12: Re: Do you play Wolf with a Joystick??? Author: insurrectionmanLocation: Wisconsin PostPosted: Tue Jan 31, 2006 8:55 am
    —
Well I used to play the game with a joystick on my old 386 until me and my brother got into a fight and broke it. I was only 4 then...

#13: Re: Do you play Wolf with a Joystick??? Author: insurrectionmanLocation: Wisconsin PostPosted: Wed Dec 20, 2006 7:44 pm
    —
Well, the game is quite old and the game probably doesn't recognize the drivers to the joystick, or something to that extent.

#14: Re: Do you play Wolf with a Joystick??? Author: BlitzkriegLocation: New Jersey PostPosted: Sun Mar 11, 2007 7:41 pm
    —
OMG, LOL, Joysticks wow.

That takes me back to the 90's. I think Ive used a joystick for this game WAYY back when it first came out. And then afterwards, well, I stuck with the mouse & keyboard.

#15: Do you play Wolf with a Joystick??? Author: allthisandwolf3dLocation: USA PostPosted: Thu Mar 15, 2007 6:03 pm
    —
who uses a joystick =\ i use mouse and keyboard...
i only use keyboard for opening doors



DieHard Wolfers -> Polling Booth


output generated using printer-friendly topic mod. All times are GMT

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group