Join for FREE | Take the Tour Lost Password?
[x]

deviantART

 
©2008-2009 ~VoxDiabolica
:iconvoxdiabolica:

Artist's Comments

Its pong. You try and get the ball past the AI Player. I would point out that the godlike AI is so called because its impossible to beat without exploiting a bug in my coding. The stupid AI isn't actually stupid. Its just artificially slow.

There are also options to have the ball leave a trail and for the bats shrink each time they are hit.

I'll upload the source in a minute, so people can have a look at how it works.

Edit: Source Code [link]

Comments


love 0 0 joy 0 0 wow 0 0 mad 0 0 sad 0 0 fear 0 0 neutral 0 0
:iconeliskan:
Cool, I like the ball effect. A suggestion is to add a left/right bumper to each paddle, which'll cause the ball to change direction so you might have the option to change it's momentum/direction
:iconiain1:
its a what now?
:iconvoxdiabolica:
If you hit the ball while moving it changes the speed the ball moves. Or did you mean while the ball is in flight?

--
This is my signature.

See?
:iconeliskan:
I see now, I didn't realize there was a way to change the speed lol.. in the first round against the godlike AI, the pong ball just kept going straight back and forth.

I tried my hand in making a pong-like game a while back, my system was a bit different then this one: the paddle was broken into three parts (left, middle, right), and each part had it's own mathmatical calculation when the ball hit it. If it hit the left one, it'd try to turn the ball sharp left, and the same with the right side respectively. The middle would cause it to slow down, making it possible to gain complete control of the ball.

Not saying this is how you should've done this: now that I know you can effect it's y speed with the paddles, it makes more sense to me. But it's an alternative method, if you'd like the example I can share the source :)

How'd you do the ball effect? With bitmap data?
:iconvoxdiabolica:
The trail? Its just a movie clip of a ball shrinking, that deletes itself once its finished. Its just duplicated at the position of the real ball, and it stays there, while the ball moves away. I was quite proud of the effect, even though it's not much use. I tried using a fade, rather than shrinking it, but it didn't look as good,

--
This is my signature.

See?
:iconeliskan:
Yes, it's very cool! I'd be proud of it too, if I had made it lol, I may have to take some inspiration from that.

Lately I've been intruiged by the Bitmap data class, I know virtually nothing about it but from what I've learned, it can do something similar to your effect here, just in an entirely different way - by merging the duplicate object onto the background. It's supposed to be a rather efficient trick.

I discovered the glitch you face with the Godlike AI :) It seems the speed gets too fast for the computer to react. You might be able to make a 'max speed' on the ball to prevent that kind of issue, though of course it's always fun to have a way to beat the enemy, so perhaps have the max speed just a fraction above what the enemy can handle

Very good game still, I'm adding this to my favs :)
:iconevilkiki:
Yay, I won!

--
I won't thank you for the fave.

So please don't thank me for the fave.

:D
:iconvoxdiabolica:
Congratulations.

--
This is my signature.

See?
:iconevilkiki:
Although I shouldn't be all proud- I went against the Stupid AI...
^^;

--
I won't thank you for the fave.

So please don't thank me for the fave.

:D

Details

November 17, 2008
36.7 KB
9.7 KB
641×402

Statistics

11
5 [who?]
620 (0 today)
34 (0 today)

Share

Link
Embed
Thumb

Site Map