Hello, thanks for visiting GameML, if you are a Game Maker user, this is the site for you, please sign up, or login if you are already a member, or just browse the site! Welcome to GameML!

ATTENTION MEMBERS!!! USERS CAN NOW SIGN UP AGAIN!

Join the forum, it's quick and easy

Hello, thanks for visiting GameML, if you are a Game Maker user, this is the site for you, please sign up, or login if you are already a member, or just browse the site! Welcome to GameML!

ATTENTION MEMBERS!!! USERS CAN NOW SIGN UP AGAIN!
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Log in

I forgot my password

Search
 
 

Display results as :
 


Rechercher Advanced Search

Site Hits
Free hit counter
These stats started at 0 on July 7th 2009
GameML File Sharing
USERNAME: gamemladmin@gmail.com PASSWORD: gamemlsite Upload Here: https://gameml.forumotion.com/GameML-File-Sharing-h3.htmPlease add only games.
Create A GAMEML BLOG!
Make a Blog on GameML:http://gamemlblogs.wetpaint.com

using a blend mode to shift hue of all sprites

4 posters

Go down

using a blend mode to shift hue of all sprites Empty using a blend mode to shift hue of all sprites

Post by GoldenBeastStudios Fri Aug 28, 2009 10:22 am

Is it possible to shift the hue of all sprites by drawing a rectangle over the view and then using some kind of blend mode to shift the hue of everything? I can make a bunch of cool stuff with the various blend modes, but nothing pertaining to the hue of sprites specifically. Any pointers?

Thanks to all who reply Smile
GoldenBeastStudios
GoldenBeastStudios
GameML Adventurer
GameML Adventurer

Posts : 117
Points : 54234
GameML Reputation : 2
Join date : 2009-07-09
Age : 41
Location : Austin, Texas

http://www.goldenbeaststudios.com

Back to top Go down

using a blend mode to shift hue of all sprites Empty Re: using a blend mode to shift hue of all sprites

Post by CarnivorousA Sat Aug 29, 2009 5:53 am

You could use the blend action with all objects.
CarnivorousA
CarnivorousA
Moderator
Moderator

Posts : 1402
Points : 56392
GameML Reputation : 17
Join date : 2009-06-01
Age : 29
Location : At the bottom of the lake.

http://entertainmypeople.freeforums.org/index.php

Back to top Go down

using a blend mode to shift hue of all sprites Empty Re: using a blend mode to shift hue of all sprites

Post by gogame1315 Sat Aug 29, 2009 10:19 am

Umm..... I don't think this is possible.... (It mite be with a DLL.) Why do you wont this ?
gogame1315
gogame1315
GameML Adventurer
GameML Adventurer

Posts : 103
Points : 56205
GameML Reputation : 10
Join date : 2009-07-10
Age : 28

http://www.yoyogames.com/members/gamesgo1315

Back to top Go down

using a blend mode to shift hue of all sprites Empty Re: using a blend mode to shift hue of all sprites

Post by gogame1315 Sat Aug 29, 2009 10:24 am

Though... what exactly do you meen by hue ? do you meen color? or....?
Edit:
what about this
Code:
with(all){image_blend=c_blue}
gogame1315
gogame1315
GameML Adventurer
GameML Adventurer

Posts : 103
Points : 56205
GameML Reputation : 10
Join date : 2009-07-10
Age : 28

http://www.yoyogames.com/members/gamesgo1315

Back to top Go down

using a blend mode to shift hue of all sprites Empty Re: using a blend mode to shift hue of all sprites

Post by GoldenBeastStudios Sat Aug 29, 2009 12:48 pm

The idea is to basically achieve what was done in older arcade games. When a certain number of waves (or whatever) is achieved the background (in my case everything) shifts it's hue to another color. Hue is kinda hard to define, but basically all the colors shift down the color wheel, no colors are lost, just changed. You can find the wikipedia definition here and here's an animated example of the hues being shifted all the way down the spectrum:


using a blend mode to shift hue of all sprites Hue_shift


Thanks for your help! Smile
GoldenBeastStudios
GoldenBeastStudios
GameML Adventurer
GameML Adventurer

Posts : 117
Points : 54234
GameML Reputation : 2
Join date : 2009-07-09
Age : 41
Location : Austin, Texas

http://www.goldenbeaststudios.com

Back to top Go down

using a blend mode to shift hue of all sprites Empty Re: using a blend mode to shift hue of all sprites

Post by -js1210- Sun Aug 30, 2009 7:21 pm

You just make multiple sprites. All with different hues
Of course that would take a long time.
Wouldn't changing the color for the "draw_spr_ext" function work as well?
Example: to make it blue change the color part from "c_white" to "c_blue"
-js1210-
-js1210-
Super 500 GML
Super 500 GML

Posts : 1298
Points : 56542
GameML Reputation : 27
Join date : 2009-06-02
Age : 29
Location : United States

http://www.yoyogames.com/members/js1210

Back to top Go down

using a blend mode to shift hue of all sprites Empty Re: using a blend mode to shift hue of all sprites

Post by gogame1315 Sun Aug 30, 2009 7:53 pm

-js1210- wrote:You just make multiple sprites. All with different hues
Of course that would take a long time.
Wouldn't changing the color for the "draw_spr_ext" function work as well?
Example: to make it blue change the color part from "c_white" to "c_blue"
But he doesn't wont to just change the color to 1 thing, he wont to... I cant explain, did you read the thing above ?
gogame1315
gogame1315
GameML Adventurer
GameML Adventurer

Posts : 103
Points : 56205
GameML Reputation : 10
Join date : 2009-07-10
Age : 28

http://www.yoyogames.com/members/gamesgo1315

Back to top Go down

using a blend mode to shift hue of all sprites Empty Re: using a blend mode to shift hue of all sprites

Post by -js1210- Sun Aug 30, 2009 7:59 pm

Yes, I understand. It doesn't do it the way he wants it to because he would have to do it for each individual things, but it does get the job done
-js1210-
-js1210-
Super 500 GML
Super 500 GML

Posts : 1298
Points : 56542
GameML Reputation : 27
Join date : 2009-06-02
Age : 29
Location : United States

http://www.yoyogames.com/members/js1210

Back to top Go down

using a blend mode to shift hue of all sprites Empty Re: using a blend mode to shift hue of all sprites

Post by GoldenBeastStudios Sun Aug 30, 2009 9:19 pm

I've determined that a "shift hue" blend effect isn't possible with GM. I greatly appreciate the effort though! Thank you all! Smile

John,
GoldenBeastStudios
GoldenBeastStudios
GameML Adventurer
GameML Adventurer

Posts : 117
Points : 54234
GameML Reputation : 2
Join date : 2009-07-09
Age : 41
Location : Austin, Texas

http://www.goldenbeaststudios.com

Back to top Go down

using a blend mode to shift hue of all sprites Empty Re: using a blend mode to shift hue of all sprites

Post by gogame1315 Sun Aug 30, 2009 9:35 pm

Very Happy here, I found a rely grate site wall I was looking for a DLL for hue shifting. http://www.gmtoolbox.com/
gogame1315
gogame1315
GameML Adventurer
GameML Adventurer

Posts : 103
Points : 56205
GameML Reputation : 10
Join date : 2009-07-10
Age : 28

http://www.yoyogames.com/members/gamesgo1315

Back to top Go down

using a blend mode to shift hue of all sprites Empty Re: using a blend mode to shift hue of all sprites

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum