The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: EndTwist on July 16, 2004, 09:45:36 pm

Title: VertiPONG *updated to v0.4*
Post by: EndTwist on July 16, 2004, 09:45:36 pm
Alright, you're thinking WTF is this?

Well guess what? I got bored and made a PONG game for vertical monitors or cocktail machines. Includes classic sounds and classic style.

http://vertiwah.jbeffects.com/VertiPONG.zip

----------------------------------------------------------------------------------------------------------

In the zip:
Joystix.ttf - install this in to your fonts folder (c:\windows\fonts usually)
VertiPONG.exe - the game
pong.ini - config file (edit options here!)
RotateLabelVer_NoFoc.ocx - required file
PONG.wav - first pong sound
PONG2.wav - second pong sound

Also - you do need MSVBVM60.dll, which you can get here:
http://www.dll-files.com/dllindex/dll-files.shtml?msvbvm60

----------------------------------------------------------------------------------------------------------

Keys:
Player 1 Paddle Movement:
Left/Right - Keyboard (depends on mode set in INI)
Mouse Y-Axis - Mouse (depends on mode set in INI)

Player 2 Paddle Movement:
D/G - Player 2 Keyboard (depends on mode set in INI)
Mouse X-Axis - Player 2 Mouse (depends on mode set in INI)

Other:
Up/Down - for use in menus
5 - Insert coin
1 - start 1 player game
2 - start 2 player game
Esc - Exit

----------------------------------------------------------------------------------------------------------

I'm looking for more ideas to convert simple horizontal games to vertical games, so if you have suggestions, tell me!
Title: Re:VertiPONG
Post by: SirPoonga on July 16, 2004, 11:48:59 pm
A couple of sound bugs, but very cool.  Also just need to be able to flip the screen the other way and to be able to swap mouse axis.

I like.

Another issue, on my screen the bottom of the font gets cut off, I only see the top 90% of the numbers.  And there needs to be a who one on the screen.

explain this?
; vertical or cocktail
MonitorType=vertical
Title: Re:VertiPONG
Post by: SirPoonga on July 17, 2004, 12:00:53 am
have you ever played the old pong systems that had many veriations?  you could do that too.
you could make one where the paddles are on the horizontal side too :)  or 4 player.  I wish I could find a quad pong somewhere.
Title: Re:VertiPONG
Post by: Howard_Casto on July 17, 2004, 12:10:21 am
have you ever played the old pong systems that had many veriations?  you could do that too.
you could make one where the paddles are on the horizontal side too :)  or 4 player.  I wish I could find a quad pong somewhere.

There is a defunct emulator/simulator that has pretty much every version of pong ever released by atari in it.  I'll see if I can find a link.  Anyone want to resurrect it back from the dead?
Title: Re:VertiPONG
Post by: EndTwist on July 17, 2004, 07:38:36 am
http://www.pong-story.com/pcpong.htm
That has a number of sims, the first one being the best sim. I'll probably use that as a work-off point for VertiPONG.

SP - do you have a screen shot of where the font gets cut off? Did you install the font that came with the program?

the
; vertical or cocktail
MonitorType=vertical
thing in the INI is to set it for a vertical monitor or a vertical cocktail. If you set it to cocktail, it displays the scores/coins on each side of the game (in the white bars).

What sound bugs?

Also - I can do the flip no problem, I just make it something you can set in MonitorType (like, rvertical (reverse vertical))

edit:
Ack, I'm stupid! I forgot to upload the second pong sound with the zip. Just redownload it and you're good to go.
Title: Re:VertiPONG
Post by: SirPoonga on July 17, 2004, 10:25:37 am
Ahh,sound works now :)  ok, I forgot to install the font, that's better.

Just suggestions, as this ia a cool simulator.  Some knock pong home units you could adjust the size of the bar :)
Also would it be possible to hide the mouse cursor, that's rather annoying.
Title: Re:VertiPONG
Post by: EndTwist on July 17, 2004, 11:44:31 am
Version 0.3 is out. Download from the link in the first post.

Changes in v0.3:
- No more "basic" and "harder" - instead, "Tennis" and "Squash"
- You can turn on color or B&W
- More authentic coloring
- Sizable paddles
- Opposite vertical montor rotation via MonitorType=rvertical
Title: Re:VertiPONG *updated to v0.3*
Post by: Minwah on July 18, 2004, 01:17:17 pm
Cool, I like it :)

One thing I noticed using the mouse, is sometimes the paddle will jump say from the middle of the screen to the side.  Doesn't always do it just occasionally...
Title: Re:VertiPONG *updated to v0.3*
Post by: EndTwist on July 18, 2004, 03:26:45 pm
Odd, you sure it isn't the way you're moving your mouse? I didn't test it too much, so I will probably need to go back to it and take a look.
Title: Re:VertiPONG *updated to v0.3*
Post by: Minwah on July 19, 2004, 05:00:31 am
Odd, you sure it isn't the way you're moving your mouse? I didn't test it too much, so I will probably need to go back to it and take a look.

No, it was a glitch of some kind...say I'd be moving the mouse slowly and all of a sudden the paddle would jump to the edge of the screen.

Are you using the mouse cursor's position to move the paddle?
Title: Re:VertiPONG *updated to v0.3*
Post by: EndTwist on July 19, 2004, 08:29:52 am
Yeah, but not very well (I did it quickly when I was already tired). Which paddle does it happen to? The left or right one?

If it's the right then its probably because I mapped that to the X-axis of the mouse, without setting some kind of restraints for it. If its the left, then I have no idea why it's happening.
Title: Re:VertiPONG *updated to v0.3*
Post by: Minwah on July 19, 2004, 01:41:00 pm
Yeah, but not very well (I did it quickly when I was already tired). Which paddle does it happen to? The left or right one?

If it's the right then its probably because I mapped that to the X-axis of the mouse, without setting some kind of restraints for it. If its the left, then I have no idea why it's happening.

The left one  ::)  Not sure if you are moving the mouse cursor to a centre point, but if so it could be something to do with that (I seem to recall running into something similar before)...
Title: Re:VertiPONG *updated to v0.3*
Post by: EndTwist on July 19, 2004, 06:29:32 pm
Not sure if you are moving the mouse cursor to a centre point

What do you mean center point?
Title: Re:VertiPONG *updated to v0.3*
Post by: Minwah on July 20, 2004, 10:03:11 am
Not sure if you are moving the mouse cursor to a centre point

What do you mean center point?

Well the way I have done (admittedly a bit cheap) mouse stuff before, is have some code which checks the mouse position, relative to the centre of the screen, and then moves the mouse cursor back to the centre of the screen...I guess if the position were to be read at the wrong time it could cause probs like moving the wrong way or the wrong amount...
Title: Re:VertiPONG *updated to v0.3*
Post by: Howard_Casto on July 21, 2004, 08:47:32 pm
Using directinput is the best solution... it turns the absolute mouse position into a relative offset.  (not 320,240  rather -3,+5)

It's best because you can easily transplant the same code for joystick support.  
Title: Re:VertiPONG *updated to v0.3*
Post by: EndTwist on July 21, 2004, 09:42:39 pm
Yeah, except I didn't use DirectX for this. Never been very good with it...

Anyways, I gotta get around to adding "Football" mode in.
Title: Re:VertiPONG *updated to v0.3*
Post by: Howard_Casto on July 21, 2004, 09:58:37 pm
directx4vb.com


you can add directinput just for the mouse and leave the rest off.... there is a sample project you can directly modify.  
Title: Re:VertiPONG *updated to v0.4*
Post by: EndTwist on July 25, 2004, 11:13:09 am
Yay, once again, I've updated it.

New/changed features:
- New "Football" mode
- cleaned up coding problems

If someone would be so kind as to get some good screenshots, email em to me (endtwist +at+ gmail.com), because I'm too lazy to do it myself  :P.

Same link as in my first post. Here it is again for those who don't want to scroll up:
http://vertiwah.jbeffects.com/VertiPONG.zip