Skip to main content
GameDev.net gamedev.net
🔒 Locked

WORMS/GUNBOUND LAND help!

Started by macmoy Dec 7, 2007 at 10:57 AM 6 replies 2.7k views
Original Post
macmoy
macmoy
how to make worms-like or gunbound-like game.. i made already tetris3d in C++ using opengl.. how to make the land of gunbound/worms?? i mean the collision of the land/ground.. if the land has a small rock,,the worm will be moving on top of that rock.. u know!!! im sorry i cant express myself..im poor in english..sorry.. when an explosion hit the ground,,the land will be HOLED(a rounded part will be destroyed).. and the worms,, can go there(LAND that is hit).. im very sorry,,i cant explain it well,,i hope you can understand.. im very sorry for my english.. thanks for any reply guys!
Captain P
Captain P
You should learn how to do your own research. There have been various threads about this topic already. Hint: search for pixel perfect collision or per pixel collision. Or simply for worms...

Also, it seems like you're jumping from one idea to another. I'd stick with something simple if I were you, and get that done. Once you've got a working game, you can expand it if you want to. Flying from one idea to another, asking loads of questions but never actually starting something isn't going to get you anywhere with your thesis.
ConorH
ConorH
check this
http://jnrdev.72dpiarmy.com/en/jnrdev5/
macmoy
macmoy
im sorry captian P.. im still thinking what game should i make for my thesis.. when i've decided what to make,,then il stick to that.. thanks for the info.."pixel perfect collision"

thanks!! new word for me...:D
macmoy
macmoy
the link was nice!! but how to store every pixel color in an array?? how to load it in your app made in c++??
ConorH
ConorH
Depends what your Libs your using, but I think that jnrdev (that link) covers it in the pixel perfect bit. Unfortunately he doesnt have any source code up atm
macmoy
macmoy
im using Opengl..
Chad Smith
Chad Smith
Quote:
Original post by macmoy
im using Opengl..


Then what you should do is google some OpenGL things. Maybe try searching "getting pixel values in OpenGL" or something along those lines. Just learn the methods involved in reading in pixels with OpenGL and then you will be on your way.

Chad

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.