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!
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: http://gameml.iowoi.org/GameML-File-Sharing-h3.htmPlease add only games.
Create A GAMEML BLOG!
Make a Blog on GameML:http://gamemlblogs.wetpaint.com
Keywords


using a blend mode to shift hue of all sprites

View previous topic View next topic Go down

using a blend mode to shift hue of all sprites

Post by GoldenBeastStudios on 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
avatar
GoldenBeastStudios
GameML Adventurer
GameML Adventurer

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

View user profile http://www.goldenbeaststudios.com

Back to top Go down

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

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

You could use the blend action with all objects.

_________________
avatar
CarnivorousA
Moderator
Moderator

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

View user profile http://entertainmypeople.freeforums.org/index.php

Back to top Go down

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

Post by gogame1315 on 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 ?
avatar
gogame1315
GameML Adventurer
GameML Adventurer

Posts : 103
Points : 31785
GameML Reputation : 10
Join date : 2009-07-10
Age : 21

View user profile http://www.yoyogames.com/members/gamesgo1315

Back to top Go down

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

Post by gogame1315 on 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}
avatar
gogame1315
GameML Adventurer
GameML Adventurer

Posts : 103
Points : 31785
GameML Reputation : 10
Join date : 2009-07-10
Age : 21

View user profile http://www.yoyogames.com/members/gamesgo1315

Back to top Go down

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

Post by GoldenBeastStudios on 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:





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

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

View user profile http://www.goldenbeaststudios.com

Back to top Go down

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

Post by -js1210- on 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"
avatar
-js1210-
Super 500 GML
Super 500 GML

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

View user profile http://www.yoyogames.com/members/js1210

Back to top Go down

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

Post by gogame1315 on 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 ?
avatar
gogame1315
GameML Adventurer
GameML Adventurer

Posts : 103
Points : 31785
GameML Reputation : 10
Join date : 2009-07-10
Age : 21

View user profile http://www.yoyogames.com/members/gamesgo1315

Back to top Go down

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

Post by -js1210- on 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
avatar
-js1210-
Super 500 GML
Super 500 GML

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

View user profile http://www.yoyogames.com/members/js1210

Back to top Go down

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

Post by GoldenBeastStudios on 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,
avatar
GoldenBeastStudios
GameML Adventurer
GameML Adventurer

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

View user profile http://www.goldenbeaststudios.com

Back to top Go down

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

Post by gogame1315 on 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/
avatar
gogame1315
GameML Adventurer
GameML Adventurer

Posts : 103
Points : 31785
GameML Reputation : 10
Join date : 2009-07-10
Age : 21

View user profile http://www.yoyogames.com/members/gamesgo1315

Back to top Go down

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

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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