NPC Movement. [Solved]

For questions about using Classic.

Post » Sun Jan 30, 2011 6:49 pm

I'm working on my first platformer. Trying to make it about a skeleton escaping a crypt. This is just a simple layout for testing. I've gotten the basics down, bat running LOS to get to the skeleton and all.

I'm also using only resources made by myself (sprites, music, all of it). The trick right now is, getting the jumping spider to move left and right after the skeleton (player).

As of right now the spider bounces a lot, and eventually moves after the player, but does not stay stuck to the ground, he'll start drifting off like the bats do.

He has three properties, ball, custom, and LOS. So any help here would be appreciated! This is still very early on in the game, and I am thinking of removing HP from the game, but at the moment you can collect bones and hit the bats 2 times to destroy them. Mostly variable testing and all.

Skelgame.cap (Rar file)

EDIT:: Space to jump, Z to shoot. Included resources in case the cap doesn't load them. Please do not distribute or use them outside of this game.

EDIT 2:: I've been trying to check out the Deadeye tutorials but most don't seem to work, specifically #7 I cannot climb ladders in it to get through enemy AI lessons. =\

I have gotten most of the glitchiness out of the system without really having to set up ai. Just got a simple LOS, move to Skeleton. Ball object with 2 directional movement.
B
2
G
1
Posts: 8
Reputation: 466

Post » Mon Jan 31, 2011 2:18 pm

There is an edited file. I deleted the ball behavior from the spider, it didn't work together and added 2 new sub events
FILE
ImageImage
B
25
S
6
G
8
Posts: 773
Reputation: 6,643

Post » Mon Jan 31, 2011 3:12 pm

[quote="Noga":1jyvggzh]There is an edited file. I deleted the ball behavior from the spider, it didn't work together and added 2 new sub events
FILE[/quote:1jyvggzh]

Very nice. I was having issues with it just not setting angles. This helps a ton.

Thanks!
B
2
G
1
Posts: 8
Reputation: 466


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests