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
2 registered members (AndrewAMD, alibaba), 1,426 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Animated Skin #265577
05/13/09 08:02
05/13/09 08:02
Joined: Oct 2007
Posts: 116
S
sydan Offline OP
Member
sydan  Offline OP
Member
S

Joined: Oct 2007
Posts: 116
OK, not sure if this is the right section but I was wondering if it's possible to animate a skin. If so, how is this done?? I can't see how this would work with a normal animated sprite.


For some reason, my ambition always seems to beat my ability.
Re: Animated Skin [Re: sydan] #265588
05/13/09 09:10
05/13/09 09:10
Joined: May 2008
Posts: 331
Lithuania, Vilnius
Jaxas Offline
Senior Member
Jaxas  Offline
Senior Member

Joined: May 2008
Posts: 331
Lithuania, Vilnius
Code:
function shiftskin(ent,num) // displace the skin position of a vertex{
	vec_for_uv(temp,ent,num);
 	temp.x += 1; // move the skin coordinate by 1 pixel horizontally
 	vec_to_uv(temp,ent,num);
}
for more check out the manual vec_for_uv wink and same effect you can make with shader, but this the best i think smile


The smaller the bug, the harder it is to kill.
_________________________________________
Forklift DEMO (3dgs)

Moderated by  HeelX, rvL_eXile 

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