Jump to content


armorraja

Member Since 20 Mar 2012
Offline Last Active Private

Posts I've Made

In Topic: Extremephysics - 2d Physics Engine For Game Maker

25 March 2012 - 05:48 PM

Whoops, seems like it was in the draw event after all :P.

draw_surface_ext(surf,0,0,1,1,0,make_color_rgb(0,80,200),1);
Just replace make_color_rgb(0,80,200) with your color.


oh thanks i didnt look at the draw event .
:D

In Topic: Extremephysics - 2d Physics Engine For Game Maker

24 March 2012 - 09:21 PM

sry bro im new at gamemaker pls answer :(
it says
draw_sprite(spr_water,0,xx,yy);
}
}

draw_set_blend_mode_ext(bm_inv_dest_color,bm_zero);
draw_set_color(c_white);
draw_rectangle(0,0,room_width,room_height,0);       // c = 1-c

draw_set_blend_mode_ext(bm_one,bm_one);
draw_set_color(merge_color(c_black,c_white,1-1/8));
draw_set_alpha(1-1/1);
draw_rectangle(0,0,room_width,room_height,0);       // c = c+1-1/8
draw_set_alpha(1);

draw_set_blend_mode_ext(bm_inv_dest_color,bm_zero);
draw_set_color(c_white);
draw_rectangle(0,0,room_width,room_height,0);       // c = 1-c

draw_set_blend_mode_ext(bm_dest_color,bm_one);
draw_set_color(c_white);
draw_rectangle(0,0,room_width,room_height,0);       // c = c+c
draw_rectangle(0,0,room_width,room_height,0);       // c = c+c
draw_rectangle(0,0,room_width,room_height,0);       // c = c+c

draw_set_blend_mode(bm_normal);

surface_reset_target();
i tried
make_color_rgb(255,0,0);
but doesnt work

In Topic: Extremephysics - 2d Physics Engine For Game Maker

24 March 2012 - 11:06 AM

hey guys have a question
how can i change the color of the fluid into red??
want to make it look like blood
pls answer :)