automovement,respawning,andfightback

Game Editor comments and discussion.

automovement,respawning,andfightback

Postby Zehper48 » Tue Jun 13, 2006 7:19 pm

i am having trouble making a game it would help if i knew how to

1.make something respawn
2.make and enemy automaticaly move(like back and forth or in a circle)
3.and enemy fight back and make my health go down
if you could answer any of my questions i would be very happy!! :)
User avatar
Zehper48
 
Posts: 241
Joined: Sun Jun 11, 2006 1:34 am
Location: Advanced Noob
Score: 4 Give a positive score

Postby Zehper48 » Tue Jun 13, 2006 7:30 pm

It would be most helpful if you could give me step by step instructions and the code or something. :lol:
User avatar
Zehper48
 
Posts: 241
Joined: Sun Jun 11, 2006 1:34 am
Location: Advanced Noob
Score: 4 Give a positive score

Postby Zehper48 » Tue Jun 13, 2006 8:34 pm

i found out #1 but if you could answer the other ones it would help me so much
User avatar
Zehper48
 
Posts: 241
Joined: Sun Jun 11, 2006 1:34 am
Location: Advanced Noob
Score: 4 Give a positive score

Re: automovement,respawning,andfightback

Postby CatT » Tue Jun 13, 2006 9:35 pm

Zehper48 wrote:i am having trouble making a game it would help if i knew how to

1.make something respawn
2.make and enemy automaticaly move(like back and forth or in a circle)
3.and enemy fight back and make my health go down
if you could answer any of my questions i would be very happy!! :)


I found something in the forums on #3 because I would like to know that too:

http://game-editor.com/forum/viewtopic. ... eter+metre

Look here too:

http://game-editor.com/forum/viewtopic. ... eter+metre

See if what's there helps you. I haven't had a chance to try them yet.
User avatar
CatT
 
Posts: 75
Joined: Mon Mar 13, 2006 6:57 pm
Score: 0 Give a positive score

Postby duracel92 » Wed Jun 14, 2006 7:53 pm

Making an enemy move can be done using a path. Create several of these and use the 'path finish' events. to make the actor follow a new path and change animation is possible.

The best thing to do, to make something move side to side is to create 2 paths, put a higher integer in 'frame' to make the path longer, and make the actor move swifter. Try to syncronise with the actors animation.

Then click actor control, add event>path finish>change path> path 1 to path 2.
then do add event>path finish 'path 1'>change path>path 2 to path 1.

if you want the animation to change do this:

add event>path finish 'path 1'>change animation 'left.bmp'
and the same for righ or up or down animation. but it will require more paths for that...

Ill let you experiment, ill upload this there image to show key parts.

Image
duracel92
 
Posts: 132
Joined: Sat Jan 21, 2006 10:45 pm
Location: UK
Score: 0 Give a positive score

Postby Zehper48 » Wed Jun 14, 2006 8:13 pm

i did that but my enemey didnt move when i clicked game mode he just stood ther
User avatar
Zehper48
 
Posts: 241
Joined: Sun Jun 11, 2006 1:34 am
Location: Advanced Noob
Score: 4 Give a positive score

Postby duracel92 » Fri Jun 16, 2006 2:50 pm

did you assign 1 path too the actor?
duracel92
 
Posts: 132
Joined: Sat Jan 21, 2006 10:45 pm
Location: UK
Score: 0 Give a positive score

Postby Zehper48 » Fri Jun 16, 2006 3:19 pm

yes
User avatar
Zehper48
 
Posts: 241
Joined: Sun Jun 11, 2006 1:34 am
Location: Advanced Noob
Score: 4 Give a positive score

Postby duracel92 » Fri Jun 16, 2006 7:47 pm

So if I say correctly, i said:

1. Make 2 paths.
2. on actor control make a new event; path finish (path 1)>change path (path 2)
3. make another event; path finish (path 2)>change path (path 1)
4. assign path 1 or 2 to the actor...

I don't really see the problem in this... I will try what I have said...
duracel92
 
Posts: 132
Joined: Sat Jan 21, 2006 10:45 pm
Location: UK
Score: 0 Give a positive score

Postby duracel92 » Fri Jun 16, 2006 7:51 pm

Hmm... what I said definately works for me.... Make sure you haven't clicked random path... W00T 100th post :P - sorry... It might be a bug, but I'm not sure....
duracel92
 
Posts: 132
Joined: Sat Jan 21, 2006 10:45 pm
Location: UK
Score: 0 Give a positive score

Postby duracel92 » Fri Jun 16, 2006 7:53 pm

Another thought is that you might want to put it into the activation region (little or big yellow box) that the player actor is in, so it definately should load.
duracel92
 
Posts: 132
Joined: Sat Jan 21, 2006 10:45 pm
Location: UK
Score: 0 Give a positive score

Postby duracel92 » Fri Jun 16, 2006 8:16 pm

Absolutely no idea... I got 250 fps when I tested it though :)
duracel92
 
Posts: 132
Joined: Sat Jan 21, 2006 10:45 pm
Location: UK
Score: 0 Give a positive score

Postby Zehper48 » Fri Jun 16, 2006 10:18 pm

Thank you sooooooo much it worked. :) i like it when people explain it step by step thank you.
User avatar
Zehper48
 
Posts: 241
Joined: Sun Jun 11, 2006 1:34 am
Location: Advanced Noob
Score: 4 Give a positive score

Postby duracel92 » Fri Jun 16, 2006 11:09 pm

oh.... :)
duracel92
 
Posts: 132
Joined: Sat Jan 21, 2006 10:45 pm
Location: UK
Score: 0 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron