Jump to content
  • Advertisement
Sign in to follow this  
Mr_Fhqwhgads

Primitive Pong

This topic is 4828 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Well, I finished it! My first Irrlicht and my first C++ game ever, so go easy on me ;). Player 1's controles are A Z Player 2's Controles are K M Download: http://www.christiangaming.org/graphics/users/stormtrooper/primitivepong.zip Screenshot: http://www.christiangaming.org/graphics/users/stormtrooper/primitivepong.jpg

Share this post


Link to post
Share on other sites
Advertisement
Nice one. Have you done the background flame yourself? It looks beautiful but my eyes hurt after a while.

Share this post


Link to post
Share on other sites
One thing: the ball sprite is clearly visible as a rectangle (when moving through the fire).

Share this post


Link to post
Share on other sites
A) The background is a 3D Particle System
B) I tried making the sprite by using transparent png, but the engien doesn't support it. Then I tried using code to make the sprite transparent, but it messed up the particle system.

Share this post


Link to post
Share on other sites
I just gave a quick look and noticed a few things:

1) There doesn't seem to be any boundaries for the paddles (they can go right off of the screen!)
2) The collision detection is a bit off, it seem to detect collisions with the backs of the paddles instead of the fronts, causing a couple of confusing deaths
3) You might want to think about letting the paddles move smoothly instead of making them move in discrete intervals
4) I don't know anything about Irrlicht, but I'd be very surprised if it didn't offer a way add transparancy to the ball and paddles without affecting the particles

Otherwise, good job. Just keep at it. [wink]

Share this post


Link to post
Share on other sites
Quote:
Original post by ursus
Nice one. Have you done the background flame yourself? It looks beautiful but my eyes hurt after a while.

Quote:
Original post by Mr_Fhqwhgads
A) The background is a 3D Particle System

That much is obvious; I believe he was asking if you wrote the code for it yourself.

Share this post


Link to post
Share on other sites
Basicly, with irrlicht you creat an emitter, you tell it what sprite you want it to emmit, you change all these color properties, angles, and position. Sorry for not being specific the first time.

I am working on V2, which I will try to make smoother movements. And I have already added better colision detection. I'm hoping to add AI so you don't NEED a 2nd player. Then maby make V3 with online play.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!