Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,388 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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