Pleaseeeeeeeee Help With Platform Game ( image included )
creativeapps
Member Posts: 1,770
I have actor in green and its running and collide with red actor that time red actor bouncing and rotating in the air and fall on blue actor. depends on green actor speed red actor bouncing on the air and red actor distance also decide green actor speed. How do I do that? please let me know thanks.
If any demo or example available please let me know thanks
If any demo or example available please let me know thanks
Comments
the red actor's x position should be used to calculate a value that is then used as the green actors speed (you could use magnitude, but that's more complicated). The red actor should also have a rule that when it collides with green it has a change attribute of linear velocity x and y of certain values you want. The red actor should also have an accelerate 270 degrees at about speed 300 to simulate gravity. The blue and red should collide. The green actor then needs a rule to make it move right when started.
These things are not too difficult and when set you should play with the values until it feels right. If you are not sure how to do these things I recommend more reading and cookbook video watching on youtube until you understand each of these elements. Otherwise you are really asking someone to write your game mechanics for you.