• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Legacy GM [Solved] Time required for the draw event normal on win 7, intense on win 10

touhoufan90

Member
Hi long time lurker, first time poster. Sorry if my english is not perfect.
So my problem is the time required for the draw event.

Friend pc specs are
CPU Amd FX 6300, GPU AMD Radeon HD 7800 Series, Ram8.0 GB

Friend laptop specs are
CPU i7-6700HQ CPU @ 2.60GHz, GPU GeForce GTX 1060, RAM 16 GB

-So my question is does someone has any reason why that yellow bar is super high on win 10 and not win 7?

Also this is my particles code (pretty basic I'm kinda new in the programming scene)
Code:
//Particle System
partsys_fire = part_system_create();
part_system_depth(partsys_fire,depth);

//Fire Particle
part_fire = part_type_create();
part_type_sprite(part_fire,spr_fire_effect,0,0,1);
part_type_size(part_fire,size1,size2,0,0);
part_type_color2(part_fire,color1,color2);
part_type_alpha3(part_fire,1,1,0);
part_type_speed(part_fire,0.125*xx,0.25*xx,0,0);
part_type_direction(part_fire,85,95,0,5);
part_type_orientation(part_fire,0,359,0,0,0);
part_type_blend(part_fire,1);
part_type_life(part_fire,20,40);


//Cinder Particle
part_cinder = part_type_create();
part_type_sprite(part_cinder,spr_cinder_effect,0,0,1);
part_type_size(part_cinder,0.1,0.3,0,0);
part_type_color2(part_cinder,c_orange,c_red);
part_type_alpha3(part_cinder,1,1,0);
part_type_speed(part_cinder,1,2,0,0);
part_type_direction(part_cinder,85,95,0,0);
 part_type_blend(part_cinder,1);
 part_type_life(part_cinder,60,120);
 

//Particle Emitter
part_emit_fire = part_emitter_create(partsys_fire);
part_emit_sfire = part_emitter_create(partsys_fire);

part_emitter_region(partsys_fire,part_emit_fire,x-xx,x+xx,y-yy,y,ps_shape_ellipse,ps_distr_linear);

part_emitter_region(partsys_fire,part_emit_sfire,x-xx+12,x+xx+12,y-yy,y,ps_shape_ellipse,ps_distr_linear);
part_emitter_stream(partsys_fire,part_emit_fire,part_fire,2);
part_emitter_stream(partsys_fire,part_emit_sfire,part_cinder,-10);
 
Last edited:

Simon Gust

Member
Try playing around in the global game settings
or
try disabling the application surface
Code:
application_surface_enable(false);
 

RangerX

Member
What does the debugger says? You could see what takes object takes the most time.
Also, is there many texture swaps? Maybe more of them on Win10?
 

touhoufan90

Member
Try playing around in the global game settings
or
try disabling the application surface
Code:
application_surface_enable(false);
Sadly disabling the application surface didn't help. The yellow bar stay the same. Gonna try playing witt the global settings. Thx for your time ^^.
 

touhoufan90

Member
What does the debugger says? You could see what takes object takes the most time.
Also, is there many texture swaps? Maybe more of them on Win10?
The textures swaps are the same. Im going to check the debugger (didnt think about this thx for the idea.)
 

TheouAegis

Member
Did you turn on vertical synchronization? The numbers don't suggest it's on to me, but it's always mucked things up for me in the past.

Also have him check his video card settings. Maybe he has one card tweaked differently. Maybe one is forcing filters while the other isn't? Stuff like that...
 

touhoufan90

Member
Did you turn on vertical synchronization? The numbers don't suggest it's on to me, but it's always mucked things up for me in the past.

Also have him check his video card settings. Maybe he has one card tweaked differently. Maybe one is forcing filters while the other isn't? Stuff like that...
Oh man it was vertical synchronization! On my computer there was no problem but on my friend it was awful. I think the best solution is to make optional in my game. Thanks for the help everyone! :D
 
Top