Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (M_D), 1,430 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Rotate #146972
08/09/07 20:51
08/09/07 20:51
Joined: Jul 2002
Posts: 857
Québec
Marky Mark Offline OP
User
Marky Mark  Offline OP
User

Joined: Jul 2002
Posts: 857
Québec
Another noob question.

I can't get c_rotate to work. I only want an entity to slowly rotate (from right to left)..

Thanks to help


Yeah! IE sucks, use Mozilla...
Marc Rémillard.
Re: Rotate [Re: Marky Mark] #146973
08/09/07 20:55
08/09/07 20:55
Joined: Feb 2007
Posts: 77
São Paulo, Brazil
AttosRH Offline
Junior Member
AttosRH  Offline
Junior Member

Joined: Feb 2007
Posts: 77
São Paulo, Brazil
you can use my.pan but in this way it will not detect collisions...

Re: Rotate [Re: AttosRH] #146974
08/09/07 21:16
08/09/07 21:16
Joined: Jul 2002
Posts: 857
Québec
Marky Mark Offline OP
User
Marky Mark  Offline OP
User

Joined: Jul 2002
Posts: 857
Québec
I do not need any collisions. Thanks i'll check this out.


Yeah! IE sucks, use Mozilla...
Marc Rémillard.
Re: Rotate [Re: Marky Mark] #146975
08/09/07 21:18
08/09/07 21:18
Joined: Jul 2002
Posts: 857
Québec
Marky Mark Offline OP
User
Marky Mark  Offline OP
User

Joined: Jul 2002
Posts: 857
Québec
Hum, and how do I set the pan to rotate the entity? (Damn sorry for my bad knowledge)


Yeah! IE sucks, use Mozilla...
Marc Rémillard.
Re: Rotate [Re: Marky Mark] #146976
08/09/07 21:40
08/09/07 21:40
Joined: Mar 2006
Posts: 752
Portugal
demiGod Offline
User
demiGod  Offline
User

Joined: Mar 2006
Posts: 752
Portugal
my.pan += 10 * time_step; (in a loop) ?

O_o

Re: Rotate [Re: demiGod] #146977
08/10/07 03:44
08/10/07 03:44
Joined: Jul 2002
Posts: 857
Québec
Marky Mark Offline OP
User
Marky Mark  Offline OP
User

Joined: Jul 2002
Posts: 857
Québec
I tried it.

while(1)
{
my.pan += 10 * time_step;
}

in my action.

I get this ingame error : Possible endless loop in [myaction]
Noooo really? hey! that's what I want! so I press Ok but I have to press Cancel because this annoying error message is popping in my face every .5 seconds. then it crashes.

Any idea?

Sorry about me


Yeah! IE sucks, use Mozilla...
Marc Rémillard.
Re: Rotate [Re: Marky Mark] #146978
08/10/07 04:54
08/10/07 04:54
Joined: Apr 2005
Posts: 7
Oklahoma
Claybotech Offline
Newbie
Claybotech  Offline
Newbie

Joined: Apr 2005
Posts: 7
Oklahoma
You forgot to add you wait statement below your action in yor while loop.
You are not allowing anything else to run.
In loops, the wait statement is crucial.
You should really review the tutorials available on the download page, as this will really help with some of your scripting.

After this line:
my.pan += 10 * time_step;
Insert the following:
Wait(1);

Clay...


Wow! You have some major polygon issues there.
Re: Rotate [Re: Claybotech] #146979
08/10/07 11:27
08/10/07 11:27
Joined: Feb 2007
Posts: 77
São Paulo, Brazil
AttosRH Offline
Junior Member
AttosRH  Offline
Junior Member

Joined: Feb 2007
Posts: 77
São Paulo, Brazil
read the 8th workshop for more details

Re: Rotate [Re: AttosRH] #146980
08/10/07 14:53
08/10/07 14:53
Joined: Jul 2002
Posts: 857
Québec
Marky Mark Offline OP
User
Marky Mark  Offline OP
User

Joined: Jul 2002
Posts: 857
Québec
Oh my god! Thanks, but I don't know why I forgot the wait statement! maybe its because of my 3 months off of 3dgs, and I was already a newbie... Anyway, sorry for my frenchie english, thanks, and have a nice day


Yeah! IE sucks, use Mozilla...
Marc Rémillard.

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1