Good going. A completed example would be great Warmachine.
Marv









Good going. A completed example would be great Warmachine.
Marv
458 TGF to CTF 2.5+ Examples and games
http://www.castles-of-britain.com/mmf2examples.htm
Thanks Nivram! i will definitely hook up an example soon! hopefully i can figure out this swing prob im having. still cant get that to work lol

One thing that I began looking into when trying to replicate Super Castlevania style swinging before I gave up... erm postponed work was Sine & Cos because it can be used to make an object orbit around a point and increase or reduce the distance from that point like in Super Castlevania.
You'll find a good article on Sin() and Cos() here:
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=67082#Post67082
Although really it might be overcomplicating things more than necessary - I just thought I may as well mention it anyway.
Here is a simple swinging thingy, I don't know how helpful this will be but you can check it out if you're having trouble with objects swinging from anchors.
View MFA
thanks for all the input guys! i'll be trying your examples very soon and i'll give you some feedback on the progress.
Originally Posted by Aikikame
It shouldn't be going in a full circle, the only thing I can think of that would be causing it to go 360 would be if the "OR" in the 4th event is missing. In that case just create a new event for the second angle telling it to toggle the flag and remove the second angle condition from the first event i.e
4. angle(active)=63 ----> Toggle internal flag 0
5. angle(active)=300 ----> Toggle internal flag 0









The example doesn't go 360 for me.
Marv
458 TGF to CTF 2.5+ Examples and games
http://www.castles-of-britain.com/mmf2examples.htm
thats odd, it still goes a full 360....hm... and i also double checked the events to make sure they matched what you posted and they do. i dont understand why mine goes the full 360 and not you guys
Here's a vid of what im after guys.
http://www.youtube.com/watch?v=nEk3S9ZE5uY
go to 1:31. Im not sure if the method i was shown would work like this or not, but i figured this would be the best way to get my question across. when the player presses left and right, he swings according to the key press, and also, the player will stay on the hook as long as the whip key is held. once the key is released, the player drops.