SRL Archive - Other Scripts

SCAR pong


Tootoot222

2009-05-25 15:23:11

yea, I've been working on my game making again, and I finished making pong today. Lol, this is like my 30th attempt at making a game (I've done pong before, just never released). BTW, this engine can be made to do 3D, if you add a camera and a transformation algorithm.

Press F12 to make it stop
The red player uses the left and right arrowkeys to move, and the blue player uses "A" and "D"

EDIT: updated it a bit, made when you hit a wall you bounce, and *hopefully* fixed the "unresponsiveness"

EDIT: updated again, added some AI and if you *really* think the paddles are unresponsive, turn on FastWalk (options to turn off FastWalk and the AI are in main.scar, just comment out the line it's on to turn it off)

Da 0wner

2009-05-25 15:27:05

Mmm, seems sexy. But the arrow keys don't respond fast enough :(.

Simtoon

2009-05-25 15:27:11

lol u made pong playing now

Tootoot222

2009-05-25 15:30:09

Da 0wner: you can ajust the speed, I just picked a speed that seemed reasonable to me
in source\logic.scar change lines 44, 47, 66, 69 to something more then 0.008 if you want it to accelerate faster

tico2

2009-05-25 16:35:36

Haha, nice game in scar lol :)

Tootoot222

2009-05-31 01:16:38

updated again, added some AI and if you *really* think the paddles are unresponsive, turn on FastWalk (options to turn off FastWalk and the AI are in main.scar, just comment out the line it's on to turn it off)

Smarter Child

2009-09-20 02:53:23

<3 it. But, its a littler hard, the ball moves ub3r fast :p