Page 1 of 1

how to shoot em up

PostPosted: Mon Oct 08, 2007 7:45 am
by wordgames
how do i get say a space craft to fire a laser ( saying i have the images already)
so i can control it and so it disapears along the way when i miss

wordy

Re: how to shoot em up

PostPosted: Mon Oct 08, 2007 8:10 am
by Kalladdolf
simple demo... hope u can use it someway :D

laser.zip
lil' game =D
(75.22 KiB) Downloaded 108 times

Re: how to shoot em up

PostPosted: Mon Oct 08, 2007 8:37 am
by wordgames
i am a little nieve at this program i got 50 % done but it was shooting on the other side of the screen

so when ever u have time try and explain it to me???

8) :lol: :D

Re: how to shoot em up

PostPosted: Mon Oct 08, 2007 11:15 am
by Kalladdolf
wordgames wrote: it was shooting on the other side of the screen

sorry, what do u mean by that?

Re: how to shoot em up

PostPosted: Mon Oct 08, 2007 12:04 pm
by Rule-Buster
Hey, I would l;ike to know the same thing but with main char and enimies, unfortunatly the tutrorial does not work for me

Re: how to shoot em up

PostPosted: Mon Oct 08, 2007 3:50 pm
by Freddy
Here is a simple way to do it if Im right in thinking what you mean. Im guessing that the laser will travel somewhere like a bullet, and it moves upwards. Heres how to do it: First go to the space craft actor or whatever it is that makes the laser.If you want the laser to be created when you press the left mouse button, then go to mouse button down, and left click. Then add a create actor action. In the create actor action, have the actor "lazer" (or whatever your lazer actor is called) created at 0, 0 relative to the creator. Then, for the lazer, add a draw actor event, script editor and type in:
Code: Select all
y = y - 5;

That should be all you have to do. If you want the lazer to be destroyed when it hits an enemy, have a collision event, and then put the destroy actor action (event actor). :D

Re: how to shoot em up

PostPosted: Mon Oct 08, 2007 7:43 pm
by Kalladdolf
yeah, maybe this has to be said: *hold your breath...*
this turtorial was only one way, the way I wudd do it :D
a'course there are thousand ways... good job, freddy! u made 'em understand *i hope*

Re: how to shoot em up

PostPosted: Tue Oct 09, 2007 12:22 am
by wordgames
ok i understand the prosedure, cool..

just a tweak here and there and i should be fine


wordy