Jump to content


RavenB

Member Since 04 Jul 2012
Offline Last Active Aug 08 2012 12:45 PM

Topics I've Started

how can i make sprites to be rerelative to lives?

31 July 2012 - 10:08 AM

well,hey guys,i don't know how to set sprites relative to my main character's lives,for example i want to check if my character's lives is 1,change the sprite into a hurt main character and so on.and also,i want to check facing(or direction)so if my character is facing right,change it's sprite into a hurt-right-faced sprite and if it's facing left,change it's sprite into a hurt-left-faced sprite.
any help is appreciated,and if your advise worked,in my game,i'll give you credit.

how can i put light in my objects?

22 July 2012 - 03:03 PM

well,hey guys,i've tried to put a light in my object using easy lighting 7,but as i'm not good with codes,i've failed.so if you can put lights in my character,please put it in this example,and also please write the full code in this topic too.

how can i change particle speed?

06 July 2012 - 10:16 AM

Well hello guys,i'm trying to make a smoke particle,but it appears too fast in the game,and i can't change it's speed,also i don't want to change my room's speed.
here is the code.
global.part = part_type_create();
global.system = part_system_create();
global.emitter = part_emitter_create(global.system);
part_system_depth(global.system,depth)
part_emitter_region(global.system,global.emitter,x,x+13,y,y+40,ps_shape_line,ps_distr_linear);
part_type_alpha3(global.part,0.10,0.20,0.15);
part_type_color2(global.part,131586,2039583);
part_type_shape(global.part,pt_shape_smoke);
part_type_life(global.part,18,18);
part_type_speed(global.part,5.25,6.50,1,10);
part_type_direction(global.part,1575,1618,-1,0);
part_type_gravity(global.part,0.03,90);
part_type_orientation(global.part,-48,82,20,20,0);
part_emitter_stream(global.system,global.emitter,global.part,3);