Mario enemy

For questions about using Classic.

Post » Thu Nov 10, 2011 1:29 pm

How to make monster move like a brown mushroom in Mario? For example I have a platform and I want it to move from A to B, if its at the point B start moving towards point A, if its at the point A move towards B.
B
11
S
3
G
6
Posts: 193
Reputation: 4,234

Post » Thu Nov 10, 2011 2:04 pm

Platform Behavior + Logic = GOOMBA

example .cap: http://dl.dropbox.com/u/17634050/Goomba_Movement.cap


*edit*

When using the platform behavior for enemies and such, make sure to ignore input when it's created.

If you want it to turn around at certain points, you'll have to make detectors. If you want it to turn around when it's about to walk off a ledge, you can use collision offset.Tokinsom2011-11-10 14:10:12
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Thu Nov 10, 2011 4:51 pm

Thanks you soo much but can you show me in a .cap how to make collision offset, so it will move from ledge to ledge?
B
11
S
3
G
6
Posts: 193
Reputation: 4,234

Post » Thu Nov 10, 2011 5:23 pm

I've managed to do it on my own, thanks anyways :)
B
11
S
3
G
6
Posts: 193
Reputation: 4,234


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests