-
enemy movement
hello
I want to make this movement by code (as3)
only by code , I mean how to make the mc move only over the green area
thanks in advence
-
It looks like it's moving along a zigzag pattern of lines, no curving or collisions at all. All that requires is an array of points and have the object move from one point to the next. But if you want collision that's a whole different story, you'll need to know a whole lot of math (I've never done collisions with curves).
-
Prid - Outing
Why not just use Motion Tween with a Guide Line, to make a smooth motion, instead of complicated math?
I am back, guys ... and finally 18 :P
BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS
-
Oh yea...this is why we have more than 1 person helping!
-
Prid - Outing
@5Five555: sorry, I didn't quite get you (sorry for my lack of comprehension), what do you mean xD? Like, was that sarcasm, negatively referring to me, or?
I am back, guys ... and finally 18 :P
BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS
-
Nope, I meant it's a good thing I'm not the only person helping, or he might have gone with my more complex solution compared to your simpler one.
-
Prid - Outing
Oh, good to hear
I am back, guys ... and finally 18 :P
BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS
-
-
Prid - Outing
As already mentioned by 5Five555, making this with code would be really difficult, and would probably require you to make your own gravity and collision detection codes, so you're better off doing it with animation. If not, then please refer to tutorials such as THIS ONE
I am back, guys ... and finally 18 :P
BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|