SRL Archive - Other Scripts

Pong and BreakOut


nielsie95

2007-06-24 09:57:20

Pong and BreakOut

by Nielsie95



Pong


hey,
I recreated one of the first games ever: Pong!


Wikipedia:
PONG is a video game released originally as a coin-operated arcade game by Atari Inc. on November 29, 1972.
PONG is a first generation video game, a term used to describe the video game industry between 1972 and 1977.


Features
  • Adjustable PaddleSize.
  • Adjustable speed of the PC. (the higher the better the pc gets)
  • Adjustable ball speed.
  • 1 player compactable.
  • 2 players! - 1 with mouse, 1 with keyboard.
  • Lifes + score
  • Click to pause and click to shoot the ball after death.

1 Player Presets
  • Easy - PaddleSize 30, TSpeed 10, PcSpeed 1.5
  • Medium - PaddleSize 30, TSpeed 12, PcSpeed 2.5
  • Hard - PaddleSize 30, TSpeed 16, PcSpeed 4.0
  • Ultra Hard - PaddleSize 30, TSpeed 22, PcSpeed 6.5






BreakOut



When I was done with Pong it wasn't hard to convert it to BreakOut, so I though: Why not?.. Here's: BreakOut!


Wikipedia:
They had an idea to turn PONG into a single player game, where the player would use a ball to deplete a wall of bricks without missing the ball on its rebound


Features
  • Adjustable PaddleSize.
  • Adjustable StartLevel. (the higher the better the pc gets)
  • Adjustable StartLifes.
  • Adjustable ball speed.
  • Lifes + score
  • Click to pause and click to shoot the ball after death.
  • 20 levels! - Note: If you get above level 7, the bricks don't respond that good.. :(





Credits to Wizzup for the CheckPos function which is in both scripts!

Please post bugs, comments and enjoy.
Nielsie95

shaunthasheep

2007-06-24 10:23:59

Too much arrays and math, my head hurts.

Nah, both run smooth and I havn't found a bug yet :) .
Definitely love that it is all canvas :f:

Spky

2007-06-24 11:11:06

Nice work.

Janilabo

2007-06-24 11:16:44

Woah, amazing nielsie95! :eek: :)

stupedspam

2007-06-24 11:22:38

Gha I was going to make pong as soon as I learnd Forms, which I learned yesterday… Oh well, guess I'll have to make a better one…(jk)

~Stupedspam

wired16

2007-06-24 12:34:21

i love it:D


Stats[0].Lifes := 9999;

EDIT: if you go to fast on blockbuster it will go thru the blocks instead busting them :D

nielsie95

2007-06-24 12:53:56

Yes, I know.. It's because the speed is higher then the size of the blocks..
Thanks for all the great comments :)

SKy Scripter

2007-06-25 00:16:03

Nice Game, Lol i didnt know you made break out too :p XD

Santa_Clause

2007-06-25 02:45:26

Omfg! That's amazing!

RudeBoiAlex

2007-06-26 09:46:14

i love pong its uber thanks man

R0b0t1

2007-06-26 20:26:39

Ooh… Time to make an auto to get through it for me.

Santa_Clause

2007-06-26 20:43:20

Lmao! Good luck with that…;)

JAD

2007-06-26 22:31:43

Haha!! Check this out! And I was still going… Just got bored :)


:D

Awesome job Nielsie! LOVE it :)

nielsie95

2007-06-27 07:56:12

Haha, nice one Jad! :p
Glad you like it :)

Jason2gs

2007-06-27 11:22:14

Haha, very nice :)

<3 Useless scripts!

Tim0suprem0

2007-07-02 13:39:46

Hahah I definitely spent waaaay too much time playing this. Nice job Nielsie!

the scar noob

2007-07-08 11:52:14

this is awesome!, who should be best at those canvases? nielsie95 or yakman? rofl

Johura

2007-07-12 00:43:45

[/sarcasm]
WTF nielsie? You cant script for shit! Go read some tutorials.
[sarcasm]

itSchRis917

2007-07-12 13:06:36

I love pong man! freakin sweet!

BobboHobbo

2007-07-13 00:16:59

I made Pong in Flash for my brother for his website check it out.

http://habboholiday.com/ then on the side go to pong and enjoy

nielsie95

2007-07-13 05:45:29

Looks nice bobbo, though it's a little buggy :p.
The ball kept going the same way, so I didn't need to move my paddle :p
Also if the ball comes on the side off the paddle the ball fires away, lol.

BobboHobbo

2007-07-14 03:10:36

Ye i know its very buggy :)

That what you call awesome flash skills these days :D

You made yours freaken heaps good!