Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 718 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Doubt about the sprites (the very beginning) #225895
09/06/08 16:03
09/06/08 16:03
Joined: Sep 2008
Posts: 2
Porto, Portugal
pedroal3xandre Offline OP
Guest
pedroal3xandre  Offline OP
Guest

Joined: Sep 2008
Posts: 2
Porto, Portugal
Hey sirs! This is my first message in the forum smile

Im applying some sprites in wheels for a train.
But the problem is that the sprites are always looking at the camera.
How can i build sprites in the manner that they will not move?!

The method im using is OBJECT - ADD SPRITE
than i add a .tga file with alpha channel. the sprite is ok, only this moving thing doesnt.

Thanks for any help, any tip.

Best Regards
-
pedroal3xandre


Peace to your soul, lucidity to your mind, love for your heart, energy for your body and great strength to live on your conscience!
Re: Doubt about the sprites (the very beginning) [Re: pedroal3xandre] #234506
11/03/08 11:41
11/03/08 11:41
Joined: Sep 2008
Posts: 3
H
HOL Offline
Guest
HOL  Offline
Guest
H

Joined: Sep 2008
Posts: 3
Hello all!
I am sorry but I have the same problem. My sprites are rotating, though I do not want them to rotate.
Can anyone really help and answer what to do?

Sprites for 3d game like rails, bushes, etc.

Re: Doubt about the sprites (the very beginning) [Re: HOL] #234507
11/03/08 11:57
11/03/08 11:57
Joined: Apr 2006
Posts: 624
DEEP 13
badapple Offline
User
badapple  Offline
User

Joined: Apr 2006
Posts: 624
DEEP 13
well i know in a6 you could just use my.facing=off;my.oriented=on; but i dont know if a7 is the same or not

Re: Doubt about the sprites (the very beginning) [Re: badapple] #234537
11/03/08 13:45
11/03/08 13:45
Joined: Oct 2008
Posts: 218
Nashua NH
heinekenbottle Offline
Member
heinekenbottle  Offline
Member

Joined: Oct 2008
Posts: 218
Nashua NH
Originally Posted By: badapple
well i know in a6 you could just use my.facing=off;my.oriented=on; but i dont know if a7 is the same or not


Looking at the manual, Oriented and Facing are old C-Script coding. Try this:
Code:

action sprite()
{
     set(my,DECAL);
}



According to the manual, the DECAL flag allows you to orient a sprite via pan, tilt, roll.

Be sure to attach the action to the sprite.


Last edited by heinekenbottle; 11/03/08 13:47.

I was once Anonymous_Alcoholic.

Code Breakpoint;
Re: Doubt about the sprites (the very beginning) [Re: heinekenbottle] #234756
11/04/08 15:58
11/04/08 15:58
Joined: Mar 2004
Posts: 206
The Netherlands
R
Roy Offline
Member
Roy  Offline
Member
R

Joined: Mar 2004
Posts: 206
The Netherlands
Hello,

You can just set the rotation of the sprite to avoid facing:

rightclick at the sprite -> tab position -> enter 0.001 at 'rotation'.

You won't see it, but it will work!

Roy

Re: Doubt about the sprites (the very beginning) [Re: Roy] #237149
11/18/08 17:25
11/18/08 17:25
Joined: Sep 2008
Posts: 3
H
HOL Offline
Guest
HOL  Offline
Guest
H

Joined: Sep 2008
Posts: 3
Thanks guys. cool


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