Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / making lazers

Author
Message
Hunter H111
17
Years of Service
User Offline
Joined: 29th Jun 2007
Location: United States
Posted: 1st Jul 2007 00:01
could some one please tell me how to make a sprite shoot lazers just like how the space ships shoot lazers in GALAGA
FPSC Scripts
18
Years of Service
User Offline
Joined: 2nd Oct 2006
Location: Curacao
Posted: 1st Jul 2007 01:40
Hmmm,i dont knwo whats "GALAGA" but you can use line's for lasers,just color them and they will look like real lasrers,Cloggy has a DLL that allows you to make a 3D line,download it here: http://forum.thegamecreators.com/?m=forum_view&t=69221&b=5
And use the D3D_Line3d command.

i'm the M king.
Hippie Dude
19
Years of Service
User Offline
Joined: 6th Feb 2005
Location: California, United States
Posted: 1st Jul 2007 03:15
is it a 2d game or 3d?
Hunter H111
17
Years of Service
User Offline
Joined: 29th Jun 2007
Location: United States
Posted: 1st Jul 2007 04:11
Its a 2d game
Brain111
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location: In my own little world.
Posted: 1st Jul 2007 06:46
You guys don't know what Galaga is? Shame... It's 2D by the way.

Well this would maybe work for a start...



It is heavily commented to help you understand what's going on.

If you wanted to make a galaga style space shooter, you would need lots of other things such as making the ship move when you press buttons, making enemies move down, making it so that they die when hit by the laser, etc. But this should be a good start.

Anarchy Burger - hold the Government!
Hunter H111
17
Years of Service
User Offline
Joined: 29th Jun 2007
Location: United States
Posted: 1st Jul 2007 06:56
Thank you Brain111 But how do i make the laser shoot from the space ship sprite?

Login to post a reply

Server time is: 2024-11-25 15:39:33
Your offset time is: 2024-11-25 15:39:33