PDA

View Full Version : Mario Bros 3 chain chomp movement


nbourre
11-11-2007, 04:01 AM
Hi,

I want to recreate the chain chomp movement in Mario Bros 3. Do you any idea on how I could recreate the movement?

I have done the random left and right movement, but one do I simulate the small jumps?

What is a chain chomp? Look here (http://www.nintendopedia.org/index.php?title=Chain_Chomp)

Thank you

Scott Euser
11-11-2007, 03:41 PM
not sure what exactly u want, but if u want something to appear to jump... you could activate a function jumpnow() with a random setinterval...

in that you could have a tween in and ontweencomplete a tween back down, then recall the random interval again on complete...

dunno if that is what you mean..

nbourre
11-12-2007, 01:44 AM
A chain chump is an enemy in Super Mario Bros 3. This charater represents a boulet attached to a pole. To move, it jumps around from left to right around the pole.

Question:

What is the syntax to create a function? Is it like in C?

returned_value function_name (param...)
{
}

Thanx