- Game Maker Community
- → Viewing Profile: Posts: Odyssey
Odyssey
Member Since 19 Nov 2010Offline Last Active May 30 2012 09:21 PM
About Me
Generally available 4pm - 11pm on weekdays, and 11am - 11pm on weekends (Pacific Time Zone)
Always available for PMing
.
Always available for PMing
.
Community Stats
- Group New Member
- Active Posts 27
- Profile Views 4150
- Member Title GMC Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Male
-
Version
Unknown
7
Lookin' good!
Posts I've Made
In Topic: HELP HELP HELP!
30 May 2012 - 07:53 AM
^^ +1
In Topic: Surface question! (SOLVED)
19 November 2011 - 02:08 AM
Fantastic - thanks IMP : Worked perfectly.
I added in 'bm_add', and ended up with this
Sorry about the bump Nocturn :/
I added in 'bm_add', and ended up with this
draw_set_blend_mode_ext(bm_one, bm_zero); //draw rectangle draw_set_blend_mode(bm_add); //draw text draw_set_blend_mode(bm_normal);Thank you all : Topic solved
Sorry about the bump Nocturn :/
In Topic: Surface question! (SOLVED)
18 November 2011 - 04:54 AM
IMP is right, the alpha for the text drawn on the surface is being averaged out, which causes it to become more transparent than expected. Solving this requires the use of blend modes:
mysurface = surface_create(300, 10); surface_set_target(mysurface); draw_set_blend_ext(bm_one, bm_dest_color); draw_text_color(0, 0, "TEST A", c_red, c_red, c_red, c_red, 0.8); draw_set_blend(bm_normal); surface_reset_target();The bm_one in the source makes sure that the destination colour is not changed, which also encapsulates IMP's idea that the surface needed to have an alpha of 1.
GameGeisha
Fantastic! Works perfectly
That solves one of my problems at least..
[EDIT]
Nevermind : Got the second one figured out.
Thanks to everyone who helped! Much, much appreciated
[EDIT]
-Issue has changed -
********************
Bumped this topic instead of creating a new one
MODERATOR EDIT: Even though your issue is different, you are still in the same topic and so must abide by the forum bumping rules. So, please do not bump a topic until the permitted 48 hours has passed, even if you have a new issue or wish to add new information. That is what the Edit button is for...
In Topic: Surface question! (SOLVED)
18 November 2011 - 04:35 AM
Not quite the answers I was looking for.. Thanks for trying to help though.
In the draw event, I have this :
In the draw event, I have this :
draw_text_color(x,y,"TEST A",c_red,c_red,c_red,c_red,0.8); draw_surface_ext(mysurface,x,y+50,1,1,0,-1,1)
In Topic: Major surface issue :/
05 November 2011 - 09:20 PM
[Edit]
- Game Maker Community
- → Viewing Profile: Posts: Odyssey
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content