how to shoot em up

Game Editor comments and discussion.

how to shoot em up

Postby wordgames » Mon Oct 08, 2007 7:45 am

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
User avatar
wordgames
 
Posts: 35
Joined: Mon Oct 01, 2007 5:32 am
Score: 0 Give a positive score

Re: how to shoot em up

Postby Kalladdolf » Mon Oct 08, 2007 8:10 am

simple demo... hope u can use it someway :D

laser.zip
lil' game =D
(75.22 KiB) Downloaded 109 times
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: how to shoot em up

Postby wordgames » Mon Oct 08, 2007 8:37 am

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
User avatar
wordgames
 
Posts: 35
Joined: Mon Oct 01, 2007 5:32 am
Score: 0 Give a positive score

Re: how to shoot em up

Postby Kalladdolf » Mon Oct 08, 2007 11:15 am

wordgames wrote: it was shooting on the other side of the screen

sorry, what do u mean by that?
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: how to shoot em up

Postby Rule-Buster » Mon Oct 08, 2007 12:04 pm

Hey, I would l;ike to know the same thing but with main char and enimies, unfortunatly the tutrorial does not work for me
I'm right behind you...
http://freewebs.com/jason-buster/
User avatar
Rule-Buster
 
Posts: 219
Joined: Sat Sep 08, 2007 2:21 pm
Location: In the clouds. In the trees. In the birds. Or in my own little world.
Score: 4 Give a positive score

Re: how to shoot em up

Postby Freddy » Mon Oct 08, 2007 3:50 pm

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
Hola
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score

Re: how to shoot em up

Postby Kalladdolf » Mon Oct 08, 2007 7:43 pm

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*
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: how to shoot em up

Postby wordgames » Tue Oct 09, 2007 12:22 am

ok i understand the prosedure, cool..

just a tweak here and there and i should be fine


wordy
User avatar
wordgames
 
Posts: 35
Joined: Mon Oct 01, 2007 5:32 am
Score: 0 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron