4 line pong :o)

Community Forums/Showcase/4 line pong :o)

Ross C(Posted 2004) [#1]
Thought i'd post this in here :o)

Mousebuttons for the 2nd bat and arrow keys for the 1st bat.

Couldn't get the pixel shaders to work, so your stuck with the gfx i'm afraid :o)




Damien Sturdy(Posted 2004) [#2]
hehe, excelent work :D


Mustang(Posted 2004) [#3]
Cool! ...But you obviously are still learning to code because I was able to optimize it easily so that it's now *1* line long only instead of 4 - savings of whopping 75%! Talk about bloat-ware you had there... I was also able to keep the performance exactly like it was, not even 1 fps drop. So here you go, optimized 1 line PONG:



:)


wizzlefish(Posted 2004) [#4]
That doesn't look like it would work - but i'll try it out.


Ross C(Posted 2004) [#5]
lol @ mustang :o)

The 4 lines were the template given from the code challenge in the MISC section ;) Cheeky git :P lol


wizzlefish(Posted 2004) [#6]


That will settle everything...


wizzlefish(Posted 2004) [#7]
Sadly, no AI