moving needle back & forth

For questions about using Classic.

Post » Sat Jul 19, 2008 2:40 am

Ok i'm need your help guys. i got this arrow above my character ( see image link)
i need it to rotate around my character in a 180 degree cone.
Think Bust-a-move you'll see.
so i try pretty much all my construc knowledge but i'm lost here.
i create a global variable called "arrow_Ang" and add 5 degree every 1 second.From now on, everything is fine. The problem hit when i want to make it come back when it reach 90 Degree i wish the Global "arrow_Ang" got 5 degree substract and then go back when it reach 270 and so on...
so i'm blind right now. i try the loop and other thing but i don't know them well so even if its the good tool, i don't know how to make it function well. ;)
hope i'm clear enough.

thanks
B
2
S
2
G
4
Posts: 114
Reputation: 1,678

Post » Sat Jul 19, 2008 3:04 am

add "-5"? :P
B
2
S
2
G
5
Posts: 293
Reputation: 2,236

Post » Sat Jul 19, 2008 3:15 am

??? What do you mean? Something like this?

http://www.mediafire.com/?mn4yzhn92tw

Do you want the arrow to rotate too? in that case it's just to paint it in to the circle.

I really don't know what you mean, so i'm just guessing... anyways. explain further if this didn't help and i'll throw something together.
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Sat Jul 19, 2008 3:38 am

vinny; hehe i tried the add -5... or i did it wrong or construct dont like that :D

Attan :what i try to achieve is like the bubble canon in this vid, but over time.
ie. instead of having the player that orientate the direction its time. a bit like a slow metronome.
[url:2ry4c3nn]http://www.youtube.com/watch?v=wvr8FcckqGg[/url:2ry4c3nn]
i hopw i'm clearer.
B
2
S
2
G
4
Posts: 114
Reputation: 1,678

Post » Sat Jul 19, 2008 3:45 am

Aah! ok, 5min.

Edit: There you go http://www.mediafire.com/?j3wywk0joee
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Sat Jul 19, 2008 3:52 am

Sorry im interupting but i made my own example [url:33d9ijpf]http://www.mediafire.com/?dddmjyvccxe[/url:33d9ijpf]

3 conditions, 4 events

Edit: WTF the same name of Variable?
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Sat Jul 19, 2008 4:04 am

Aah, saved some cpu there! now it might not lag so bad! :wink:

i get the last word anyway since it's 3 events, 3 conditions and 4 actions. 8)

edit: AND he said 180 degree, so you didn't fulfill his wishes! :)
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Sat Jul 19, 2008 4:07 am

[quote="Attan":2q003sxz]Aah, saved some cpu there! now it might not lag so bad! :wink:

i get the last word anyway since it's 3 events, 3 conditions and 4 actions. 8)

edit: AND he said 180 degree, so you didn't fulfill his wishes! :)[/quote:2q003sxz]
FAILURE damn...
Btw your Every 10ms dont do anything or it does not do much.
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Post » Sat Jul 19, 2008 4:27 am

[quote="Border":rj0vd5cd] a bit like a [size=150:rj0vd5cd]slow[/size:rj0vd5cd] metronome.[/quote:rj0vd5cd] I'm fulfilling his wishes :lol:
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Sat Jul 19, 2008 4:43 am

[quote="Attan":2a1jwblf]I'm fulfilling his wishes :lol:[/quote:2a1jwblf]
But it doesn't affect at anything!! :lol:
B
4
S
2
G
4
Posts: 719
Reputation: 2,938

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: GameOverBeast and 1 guest