adrian09_01
Dezerter Babcia Frania
 
Pojedynki: tak
Posty: 227
3 Prestiż
|
Wysłany: 10-07-2011, 18:43 [MMF] [MMF2] Ruch Platformowy cz.2
|
|
|
Pamiętacie mój kurs pt "Ruch Platformowy"
To były tylko podstawy...
Krok 11.
Tworzymy nowe levele (w sumie w StoryBoard mają być 3 levele)
Tworzymy na 1 levelu objekt Active 5 (sprężyna)
Na drugim levelu tworzymy objekt Active 5 (woda)
W trzecim tworzymy 2 objekty:
Platform Movement Object 2 i Active 5 (potwór zaawansowany)
Krok 12.
Sprężynki:
Object is falling - Active is overlapping Active 5 - Jump
Krok 13.
Woda:
Active is overlapping Active 5 - Set Gravity to 7 - Set Y Velocity to 200
×(Negate) Active is overlapping Active 5 - Set Gravity to (twoje ustawienie początkowe) - Set Y Velocity to (twoje ustawienie początkowe)
Active is overlapping Active 5 - Repeat when "Shift" is pressed - Jump
Krok 14.
AI aka Artificial Intelligence (Sztuczna Inteligencja)
Start of Frame - Set object to Active 5
Active.X < Active 5.X - Active 5, nie Active; - User is holding left input key
Active.X > Active 5.X - Active 5, nie Active; - User is holding right input key
Object is standing on ground - Active 5, nie Active; - Active.Y < Active 5.Y - Jump
Test for obstacle overlap - Active 5 is overlapping Backdrop - Selected object overlaps a backdrop
Krok 15.
Podziękowania i komentarze!
Krok 16.
Ściągnąć przykład - wrzucę 20/21 lipca razem z linkiem. |
|