HEY!!!
Im making a vertical space invaders game with C++/Allegro, and i had thought and thought abouthow i can get bullets to work without my on method,
I have a class called Bullet with 3 integers of x, y, speed, and a void function of Move() which subtracts y and speed. Is there more i need to add or anything, or something else.
Im serious when i said i was a noob, i have only been programming for almost a year.
HELP!!!!!!!!!!!!
I'm a noob: help on game please
Moderator: Coders of Rage
- derbon
- Chaos Rift Cool Newbie
- Posts: 54
- Joined: Tue Jun 09, 2009 7:25 pm
- Current Project: Big Nasty Enemies
- Favorite Gaming Platforms: NES SMS snes PC N64 PS2 Vectrex The Arcade Machine
- Programming Language of Choice: C++, Perl
- Location: why shud i tell u u mite steal my tv
- Contact:
I'm a noob: help on game please
i think the best paint program would be microsoft paint + paint.NET+graphics gale + Paint shop Pro 7 + photoshop CS3, it would be called Paint Gale Pro Shop.NET,
http://youtube.com/gonduda
http://youtube.com/gonduda
- MarauderIIC
- Respected Programmer
- Posts: 3406
- Joined: Sat Jul 10, 2004 3:05 pm
- Location: Maryland, USA
Re: I'm a noob: help on game please
Well... does it work as it is? If the answer seems to be yes, the only other thing to consider is that if you create the bullet, you need to remove it too.derbon wrote:I have a class called Bullet with 3 integers of x, y, speed, and a void function of Move() which subtracts y and speed. Is there more i need to add or anything, or something else.
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
- hurstshifter
- ES Beta Backer
- Posts: 713
- Joined: Mon Jun 08, 2009 8:33 pm
- Favorite Gaming Platforms: SNES
- Programming Language of Choice: C/++
- Location: Boston, MA
- Contact:
Re: I'm a noob: help on game please
Looks like you and I have the same goal right now. I recently began implementing projectiles as well, but I am using SDL instead of Allegro. Check out this thread for marauder's response to my projectile question, perhaps it will shed some light on what you need to do. It sure did for me.
http://elysianshadows.com/phpBB3/viewto ... art=999999
http://elysianshadows.com/phpBB3/viewto ... art=999999
"Time is an illusion. Lunchtime, doubly so."
http://www.thenerdnight.com
http://www.thenerdnight.com