There should be an image attached to show what I mean.
Instance variables, local variables, and custom scripts no longer show up for me in their assigned colours.
And yes, I checked my preferences, and nothing has changed there.
Additionally, none of those show up in Code Completion either...
I made a menu based on the menu video from shaun spalding. And I want to know how I can make the color of the text change if I am scrolling up or down(like in Undertale). So the selected word should change its color.
Open for help:p
How do I put a variable into draw_set_colour in GMS2?
global.second_colour = "c_yellow";
draw_rectangle(340, 600, 940, 650, true);
When I do this it tells me that the draw_set_colour is wrong :(
Error is "draw_set_colour argument 1 incorrect type (string)...
I have two sprites that are essentially identical other than the top and middle part. One has a red top and one has a green top. Both have a layer of shading on top that takes over more of the red/green colour as the 4 animation animates.
The red sprite looks great, but something feels off with...
Hi there. I'm sure this one's simple to those experienced with shaders and buffers.
The goal itself IS simple to explain.
I need to apply a fade shader I have (or create a new one to perform the same function) to a plain colour/alpha un-textured vertex buffer.
I'm not that great with either...
I have a sprite font.
global.spritefont_black = font_add_sprite( ... );
I need to change the colour of that, but it's a sprite so there is no way to change it instead of creating new sprite for your coloured font.
What should I do? Transform my sprite font into default font? If so...
So i've been porting my game from GMS1.4 to GMS2....
But i've hit a snag...
I can't seem to blend a tile?
Any help is much appreciated....
As for what i need to blend tiles for... it's an enlarged pixel grid you can draw on.. needs colours.
colour_get_hue, colour_get_saturation, colour_get_value seem to be returning float numbers.
In the manual it says int. I would expect int 0-255. Is there a reason for it to be a float?
The colour_get_red, colour_get_green, colour_get_blue seem to return ints
As an example I have a col =...
Seemingly, the colours you pick in an object's Variable Definitions in the IDE (also called Object Variables - very confusing), are not actually valid colours in GML. The colour picker creates a HEX-colour in the format #RRGGBBAA, while GML expects either a color made through make_color() or...
First off, It's not a big issue.
The problem is, most people use the dark skin for the site, they put a lot of effort into their posts and do some colour coding. The thing is, only normal text colour (white in dark skin) changes to a darker grey in light skin.
This means, light skin users...
I have a problem with function draw_getpixel.
var i = C_Sound;
Hello! I am trying to make a program that draws pixel by pixel but for some reason, I can't change the color?
Here is the code:
if(global.drawdot = true and global.penon = true)
This is probably a simple thing to do but I'm just not sure how to do it.
Say I have a vertex buffer that I want draw with a tint of red, something like doing this:
But this doesn't work, I read...
Making game graphics is hard because of the grey colour that appears in my scanned images.
When I draw on a clean white A4 paper and colour the drawing, it looks good to me.
When I scan the paper, the white parts of the resulting image look grey! And even the coloured parts are...
Hi, I am using PS4 controller input for gamepad slot 4 (DirectInput).
When using gamepad_set_colour(4,c_blue) it will not change the colour. I have windows as my target. I know the controller colour can be changed through windows because games like broforce can change it. Is this just a problem...
I am not sure how this was planned, but i have the feeling that this Colour Picker/Select Colour is buggy.
if i pick a colour with the colour picker(O), i get the colour on the mouse button i used to pick it up, now if i want to change this colour by clicking on the colour, the Select Colour...
No matter what this always returns a 0.
>global.valueTotal = 0;
>currentPos = draw_getpixel(xPosition, yPosition);
>global.valueTotal += colour_get_value(currentPos);
I have tested this with all the pixels from this test image.
(image will be uploaded in a moment, the upload at image button is...
LUT shader is allowing you to use RGB lookup tables that provides you to make any color correction in your game for changing style, mood, making post effects and full color grading. You can actually "port' any color...