Product Chat / progressive transparancy texture

Author
Message
Mariokiki
15
Years of Service
User Offline
Joined: 22nd Oct 2008
Location:
Posted: 7th Aug 2016 23:46
Hi everybody,

I am looking for the means to realize an effect of light (green, blue or red ...) as in the Zelda game when Link opens a chest.

I already tried to make a rectangular object I put on the top of the chest but I can't create a progressive transparancy effect on the texture... and the visual result is bad...
if anyone knows how to make a texture like that, Thanks !

Below is an example of what I want to achieve and the texture I use (very bad !)

Attachments

Login to view attachments
PM
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 8th Aug 2016 18:28
I've had similar issues. The default shader seems to clamp the transparency so it's either on or off. Setting transparency in the FPE to 1 is normally the way to get them working properly, but as said, I had issues with a fading transparency even with this set in the past. The main issue for me with GG in this area is your never quite sure if you have to constantly delete the old dbo file when making FPE changes and model tweaks, in this case the texture. Also I find you have to close down GG each time and restart it. You don't always have to, but sometimes that is the issue and you make changes to your objects that don't seem to work, because you haven't restarted GG. It makes tweaking your own media a bit of a nightmare really.


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.
Bolt Action Gaming
GameGuru Tool Maker
10
Years of Service
User Offline
Joined: 24th Oct 2013
Location: Harrisburg, PA (USA)
Posted: 8th Aug 2016 20:38 Edited at: 8th Aug 2016 20:38
try this file.

What I did:

Opened it in paint.net
Used the alpha-mask 2.0 plugin
magic wanded the newly created white area away
saved as DXT5.

Attachments

Login to view attachments
Bolt Action Gaming
GameGuru Tool Maker
10
Years of Service
User Offline
Joined: 24th Oct 2013
Location: Harrisburg, PA (USA)
Posted: 8th Aug 2016 20:43
Side note, I haven't had a chance to test it. If you test it before I do, please do a screenshot for me.
Thanks.
Mariokiki
15
Years of Service
User Offline
Joined: 22nd Oct 2008
Location:
Posted: 8th Aug 2016 22:33
Thanks guys !

I have to test it right now... and I'll let you know ASAP...

Thanks !
PM
Mariokiki
15
Years of Service
User Offline
Joined: 22nd Oct 2008
Location:
Posted: 8th Aug 2016 22:44
This is the first result with MilkShape3D !
Work fine so far ! Have to test it with GG right now !

THANKS !

Attachments

Login to view attachments
PM
Mariokiki
15
Years of Service
User Offline
Joined: 22nd Oct 2008
Location:
Posted: 8th Aug 2016 23:46
Works fine in GG !

I just added a script to turn it on himself !

THANKS !

Attachments

Login to view attachments
PM
Bolt Action Gaming
GameGuru Tool Maker
10
Years of Service
User Offline
Joined: 24th Oct 2013
Location: Harrisburg, PA (USA)
Posted: 9th Aug 2016 02:23
Ah fantastic
Glad to see it worked.

So to recap:
Install paint.net.
Get the free alpha mask plugin. Install into the effects directory for paint.net
Open up your file.
CTRL-A, CTRL-C to put it on the clipboard.
Go to effects, alpha mask, hit ok (usually default settings).
If you get a broad white area, use the magic wand to highlight it and delete it.

Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 9th Aug 2016 05:33
Thank you.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Mariokiki
15
Years of Service
User Offline
Joined: 22nd Oct 2008
Location:
Posted: 9th Aug 2016 16:09
@Bolt Action Gaming,

It's a good recapitulation process !
just add this script on it to have the final touch !

THANKS AGAIN !

EDIT :
--Script name : rotation_fx_01

local delay = {}
local init_delay = {}

function rotation_fx_01_init(e)
delay[e] = 25
init_delay[e] = delay[e]
rotation = 0
CollisionOff(e)
end

function rotation_fx_01_main(e)
PlayerDist = GetPlayerDistance(e)
if PlayerDist < 500 then
if GetTimer(e) > delay[e] then
delay[e] = GetTimer(e) + init_delay[e]
SetRotation(e,0,rotation,0)
rotation = rotation + 5
if rotation > 360 then
rotation = 0
end
end
end
end

Attachments

Login to view attachments
PM
OldPMan
3D Media Maker
15
Years of Service
User Offline
Joined: 10th Aug 2008
Location:
Posted: 13th Aug 2016 10:51
Hi. And I wrote in another thread
Look this post - https://forum.game-guru.com/thread/216104#msg2556261
The secret to creativity is knowing how to hide your sources.
Bolt Action Gaming
GameGuru Tool Maker
10
Years of Service
User Offline
Joined: 24th Oct 2013
Location: Harrisburg, PA (USA)
Posted: 13th Aug 2016 17:44
I was happy I could help but wow, Oldpman strikes again - your version looks amazing
OldPMan
3D Media Maker
15
Years of Service
User Offline
Joined: 10th Aug 2008
Location:
Posted: 13th Aug 2016 20:17
Guys, I very surprised when I happened and I saw this effect

Bolt Action Gaming , Hi !
Have you seen my latest NORMALIZATOR version ? What do you say. Even better? Any comments, what is missing?
The secret to creativity is knowing how to hide your sources.
Bolt Action Gaming
GameGuru Tool Maker
10
Years of Service
User Offline
Joined: 24th Oct 2013
Location: Harrisburg, PA (USA)
Posted: 13th Aug 2016 20:50
Works pretty good, I tried it out and got some good results on my normals. Didn't get a chance to really use it in depth though.
Mariokiki
15
Years of Service
User Offline
Joined: 22nd Oct 2008
Location:
Posted: 13th Aug 2016 23:29 Edited at: 14th Aug 2016 08:05
Take a look at the video link below. It's just a first example of it...

https://www.youtube.com/watch?v=s7AdCtcIPsc&feature=youtu.be

or




Many thanks everybody for help and suggestion !
PM
OldPMan
3D Media Maker
15
Years of Service
User Offline
Joined: 10th Aug 2008
Location:
Posted: 14th Aug 2016 07:36
Mariokiki , It looks cool !
Regards.
The secret to creativity is knowing how to hide your sources.
Mariokiki
15
Years of Service
User Offline
Joined: 22nd Oct 2008
Location:
Posted: 14th Aug 2016 16:22
Thanks OldPMan !

Thanks to you (and to all members of active communitie !)
I hope to achieve another style of game, even if GG is not originally provided for this purpose...
I hope also alot more people will be interested in the design of this kind of game (Mario and Zelda like)

I have a lot of mechanisms to start with : Traps, spikes, treasure quest, moving platforms, etc...

Don't get too distant, I would certainly still need your advice !




PM
OldPMan
3D Media Maker
15
Years of Service
User Offline
Joined: 10th Aug 2008
Location:
Posted: 14th Aug 2016 17:51
I respect this community. Here are so many of good people. All help each other. When there is free time, I am also ready to help.
And always ready to learn something himself.
The secret to creativity is knowing how to hide your sources.
Bolt Action Gaming
GameGuru Tool Maker
10
Years of Service
User Offline
Joined: 24th Oct 2013
Location: Harrisburg, PA (USA)
Posted: 15th Aug 2016 14:55
The community is literally Game-Guru's best asset.
Mariokiki
15
Years of Service
User Offline
Joined: 22nd Oct 2008
Location:
Posted: 15th Aug 2016 18:08 Edited at: 16th Aug 2016 07:10
Certainly yes !

I still working on my "platforms game" and with advices from the community I can achieve more and more things now !

New test of today with my new kind of platforms :
The platform is controlled by the proximity of the player.
It remains in the top position as long as the player is positioned above.
When the player moves away, the platform take back its original place.

Take a look at my test level (not game level yet, just to be sure that everything works correctly)


Thanks !
PM
Wolf
Forum Support
16
Years of Service
User Offline
Joined: 8th Nov 2007
Location: Luxemburg
Posted: 15th Aug 2016 21:48
I really like where your game is heading Mariokiki



-Wolf
"When I contradict myself, I am telling the truth"
"absurdity has become necessity"
Mariokiki
15
Years of Service
User Offline
Joined: 22nd Oct 2008
Location:
Posted: 15th Aug 2016 23:27
Thank you for your support Wolf !

It will seem strange for some people, but in my game, the player will have no weapon ! ...and many enemies will be traps or puzzles.

The player will have to use his brain in order to progress through the level...
It's this kind of game that I would achieve, even if GG isn't really intended for this.

I saw the game a few community members which suggests that's possible to make something different...

PM
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 16th Aug 2016 00:13
The video is Excellent ... You nailed the effect on opening the chest ..
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Jerry Tremble
GameGuru TGC Backer
11
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 16th Aug 2016 00:51
That looks cool! Nice work!
Desktop: i7 4770@3.4Ghz, 12GB RAM, Win 10/64, GeForce GTX 1080, 1TB SSD, 1TB HDD; Laptop: i7 4800MQ@2.7Ghz, 16GB RAM, Win 10/64, GeForce GTX870M , 1TB SSD.
PM
Mariokiki
15
Years of Service
User Offline
Joined: 22nd Oct 2008
Location:
Posted: 16th Aug 2016 18:44
Thanks Synchromesh & Jerry Tremble !

I continued this afternoon to progress with a new trap style :
The idea is taken from the game "Zelda" ...
The trap moves between two obstacles (pillars, walls, etc ...)
The player is killed instantly on contact with the trap !!!

Take a look on the link :
https://youtu.be/CJYIA2hZU-c

Thanks !
PM
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 16th Aug 2016 19:39
Nice done Mariokiki!

Quote: "The player will have to use his brain in order to progress through the level..."

Always apply that rule to my game projects, and do I love Zelda.

So, keep up mate! this migh help.

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
Mariokiki
15
Years of Service
User Offline
Joined: 22nd Oct 2008
Location:
Posted: 16th Aug 2016 22:21 Edited at: 16th Aug 2016 23:40
Thanks 3Com !


The latest kind of trap with rotation...

https://youtu.be/cswfQu3zkRA

PM

Login to post a reply

Server time is: 2024-06-29 03:41:25
Your offset time is: 2024-06-29 03:41:25