Path: chuka.playstation.co.uk!scea!peter_alau@playstation.sony.com From: Omar Metwally Newsgroups: scea.yaroze.programming.2d_graphics Subject: Re: laser-firing function Date: Mon, 21 Dec 1998 11:25:45 -0800 Organization: SCEA News Server Lines: 55 Message-ID: <367EA0B8.CE2A125E@aol.com> References: <3661BB5B.FFC0EB79@aol.com> NNTP-Posting-Host: 205-220-54.ipt.aol.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.07 [en] (Win95; I) Sean Kennedy wrote: > In article , > developer@woodentulip.com (Sean Kennedy) wrote: > > > > i need a simple laser-firing function. i tried to use Nick F's Amateur > > > Wars, but that was really complicated (i'd have to change my WHOLE > > > control scheme). if someone could write out a simple function which > > > make a laser fire in the direction it was fired, that would be great. > > > > Omar, could you be a bit more specific? > > Are you making a 3D game or a Side Scroller? > > It is kind of a "Point A to Point B" thing. But there are MANY many ways > > of doing it. > > -sean > > Note to self, This is a 2d graphics newsgroup.. > > Actually, the same applies. Except for the "Perspective Z-sort". > What I am asking is whether the game is a Side Scroller or a "2D and a > half" animated game? > > -sean Sean Kennedy wrote: > In article , > developer@woodentulip.com (Sean Kennedy) wrote: > > > > i need a simple laser-firing function. i tried to use Nick F's Amateur > > > Wars, but that was really complicated (i'd have to change my WHOLE > > > control scheme). if someone could write out a simple function which > > > make a laser fire in the direction it was fired, that would be great. > > > > Omar, could you be a bit more specific? > > Are you making a 3D game or a Side Scroller? > > It is kind of a "Point A to Point B" thing. But there are MANY many ways > > of doing it. > > -sean > > Note to self, This is a 2d graphics newsgroup.. > > Actually, the same applies. Except for the "Perspective Z-sort". > What I am asking is whether the game is a Side Scroller or a "2D and a > half" animated game? > > -sean Actually, it's a plain 2-D game. I want to have this vehicle which emits a laser from the tip of it--if you've ever played "Amateur Wars" by Nick F you'll know what I mean. The laser keeps traveling until it hits something. Thanks :-)