.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
The Star and the Crescent- Save $9.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old December 1st, 2007, 12:14 AM

MasterChiToes MasterChiToes is offline
Corporal
 
Join Date: Sep 2006
Posts: 164
Thanks: 0
Thanked 0 Times in 0 Posts
MasterChiToes is on a distinguished road
Default Re: XFile Creation and XFileClasses Effects

How do you control "rotate around the z axis" in the effects?
Reply With Quote
  #2  
Old December 1st, 2007, 12:58 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: XFile Creation and XFileClasses Effects

Code:
Effect 1 Rotate Z                                    := 0

Reply With Quote
  #3  
Old December 1st, 2007, 04:23 PM

MasterChiToes MasterChiToes is offline
Corporal
 
Join Date: Sep 2006
Posts: 164
Thanks: 0
Thanked 0 Times in 0 Posts
MasterChiToes is on a distinguished road
Default Re: XFile Creation and XFileClasses Effects

I get it... you mean rotate in position, where I meant rotate in orientation. Yeah, that would work for small sprites around a planet.

Anyway, I agree that wouldn't be practical for clouds, but it might be nice for asteroids or sub-tiny moons for huge worlds, or maybe planetary infestations.
Reply With Quote
  #4  
Old December 8th, 2007, 06:36 PM

MasterChiToes MasterChiToes is offline
Corporal
 
Join Date: Sep 2006
Posts: 164
Thanks: 0
Thanked 0 Times in 0 Posts
MasterChiToes is on a distinguished road
Default Re: XFile Creation and XFileClasses Effects

Question:

I created an Effect, that I want to retain the original bitmap's color, without any transparency or 'brightness' recoloring. How do I do that?

Blend_Zero seems to result in a silhouette... and Blend_One seems to result in transparency.
Reply With Quote
  #5  
Old December 8th, 2007, 08:48 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: XFile Creation and XFileClasses Effects

There are a whole bunch defined in the files (check the PDFs), perhaps you can find a mix of source and dest blends that will do something cool.
Reply With Quote
  #6  
Old December 9th, 2007, 12:47 AM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default Re: XFile Creation and XFileClasses Effects

Destination blend one, source blend zero should do it.
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
Reply With Quote
  #7  
Old December 9th, 2007, 01:28 AM

MasterChiToes MasterChiToes is offline
Corporal
 
Join Date: Sep 2006
Posts: 164
Thanks: 0
Thanked 0 Times in 0 Posts
MasterChiToes is on a distinguished road
Default Re: XFile Creation and XFileClasses Effects

dyslexically correct... Thanks!

Need to fix my graphics... black edges and not enough frames of animation.

But... I now have a small moon orbiting a planet... with an inclined orbital plane that matches the axial tilt of the planet.
Why 25 units = 90 degrees is a mystery to me.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 08:32 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.