Author |
Message |
Imperative
Joined: Sun Nov 08, 2009 2:33 pm Posts: 6
|
Question about rotation
CaveCricket48 recently showed us a stasis generator - a nonmovable ACrab that has a region below it that sets velocity of entering particles to 0.
I wanted to modify it to make it generate a 'field' in another direction. I can move the field, but I wanted to rotate the sprite as well. Is there anyway to rotate the sprite short of editing each and every bitmap?
|
Mon Nov 09, 2009 3:28 am |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: Question about rotation
im pretty sure there is, however i wouldnt know how, Ask the following: Grif, CrazyMLC, Duh102, or whitty
off topic: btw nice jump into cc forums, congrats u have more posts then some people before u alredy.
|
Mon Nov 09, 2009 4:38 am |
|
|
TorrentHKU
Loose Canon
Joined: Sun Mar 29, 2009 11:07 pm Posts: 2992 Location: --------------->
|
Re: Question about rotation
None that I know of, but I'm not really a modder so, yeah. Do what dragon said.
|
Mon Nov 09, 2009 4:57 am |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: Question about rotation
lol hyperkultura, i jst realized how messed up i sound, im a mod contest runner up and veteran modder, AND i dont know if this can happen XD. Anyways, i suggest if none of them answer you pm them, (little bot left corner of their post in any topic theirs a little button that says pm, click it. or click their profile then click pm)
|
Mon Nov 09, 2009 5:16 am |
|
|
Hobbesy
Joined: Mon Feb 11, 2008 11:11 pm Posts: 711 Location: East of Applachia, West of the Mississippi
|
Re: Question about rotation
dragonxp wrote: lol hyperkultura, i jst realized how messed up i sound, im a mod contest runner up and veteran modder, AND i dont know if this can happen XD. I'd say something insulting if I knew I wouldn't get warned. For the person asking the question: You probably need to change the offsets. There's a tutorial for it on the wiki.
|
Mon Nov 09, 2009 5:21 am |
|
|
dragonxp
Joined: Wed Sep 09, 2009 3:16 am Posts: 3032 Location: Somewhere in the universe
|
Re: Question about rotation
Lambda wrote: dragonxp wrote: lol hyperkultura, i jst realized how messed up i sound, im a mod contest runner up and veteran modder, AND i dont know if this can happen XD. I'd say something insulting if I knew I wouldn't get warned. lol, sadly its true, but i dun care if you flame me, ill take it as [DONT EVER POST ANYTHING THAT DUMB AGIN] Just stop posting dumb things then please. - Seraph
|
Mon Nov 09, 2009 5:26 am |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: Question about rotation
Imperative wrote: CaveCricket48 recently showed us a stasis generator - a nonmovable ACrab that has a region below it that sets velocity of entering particles to 0.
I wanted to modify it to make it generate a 'field' in another direction. I can move the field, but I wanted to rotate the sprite as well. Is there anyway to rotate the sprite short of editing each and every bitmap? for particle in MovableMan.Particles do if not particle.ClassName == "MOPixel" then particle.RotAngle = particle.RotAngle + (const, in radians); end end PS: DRAGONXP STOP ♥♥♥♥ POSTING YOU USELESS ♥♥♥♥♥♥ THIS IS NOT GAIA ONLINE WE DO NOT NEED "XDD I AM NOT SURE IDK LEMME GO TALK ABOUT DUMB ♥♥♥♥ ♥♥♥♥ FOR THREE POSTS IN A THREAD I HAVEN'T CONTRIBUTED ANYTHING TO"Shhhh dear, it's only an advert.
|
Mon Nov 09, 2009 7:51 am |
|
|
CrazyMLC
Joined: Fri Dec 22, 2006 4:20 am Posts: 4772 Location: Good news everyone!
|
Re: Question about rotation
You should do some easy bitmap editing to rotate the sprites of the stasis generator 90 degrees, then fix the sprite offsets, then you should be golden. Note: Easier said than done, it will be a little tedious.
|
Mon Nov 09, 2009 9:04 am |
|
|
Imperative
Joined: Sun Nov 08, 2009 2:33 pm Posts: 6
|
Re: Question about rotation
thanks!
|
Mon Nov 09, 2009 9:47 am |
|
|
|