Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Ayumi), 1,353 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
my.facing works in A6.5 but not in A7 #144318
07/29/07 13:38
07/29/07 13:38
Joined: Dec 2005
Posts: 6
chihchang Offline OP
Newbie
chihchang  Offline OP
Newbie

Joined: Dec 2005
Posts: 6
my.facing works in A6.5 but not in A7?
Code:
 ent_create (explo_pcx, my.pos, rocket_explode);

function rocket_explode()
{

my.facing = on;
my.flare = on;
my.bright = on;
my.ambient = 100;
my.frame = 1;
my.scale_x=1;
my.scale_y=1;
while (my.frame < 17)
{
my.frame += 1 * time;
wait (1);
}
ent_remove (me);
}



it works fine in A6.5, but not in A7.
any idea?

Re: my.facing works in A6.5 but not in A7 [Re: chihchang] #144319
07/29/07 13:49
07/29/07 13:49
Joined: Dec 2005
Posts: 6
chihchang Offline OP
Newbie
chihchang  Offline OP
Newbie

Joined: Dec 2005
Posts: 6
It's works after I change code to:
//my.facing = on;
my.pan =0;
my.tilt=0;
my.roll=1;

is it new way in A7?

Re: my.facing works in A6.5 but not in A7 [Re: chihchang] #144320
07/29/07 13:56
07/29/07 13:56
Joined: Oct 2003
Posts: 827
22�21'24"N 114�07'30"E
Frederick_Lim Offline
User
Frederick_Lim  Offline
User

Joined: Oct 2003
Posts: 827
22�21'24"N 114�07'30"E
Yes I think so.

You can just set the roll a very small value like 0.01

Re: my.facing works in A6.5 but not in A7 [Re: Frederick_Lim] #144321
07/30/07 04:48
07/30/07 04:48
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
I'm not sure why, but facing and oriented are no longer used...

I can understand not having both, but at least one would be nice...


xXxGuitar511
- Programmer

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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