Drell
Member
I'm usually pretty good with reading the manual and figuring things out, but I think I'm misunderstanding something fundamentally about how particles work. I'm currently using particles for on hit effects in my game which is working brilliantly. However I'm trying to do the same thing for the jumpDust, and it isn't creating the particles in the right place. I've got the following code (which again is working perfectly fine for the onhit effects) that is creating the particles, but doing so in 0,0 position in the room.
A solution to the problem would be great, but I'd really like to understand the problem so I can solve any new issues that arise.
An example of the already working on hit effects
Code:
var source = self.id;
with (partBlood){
[INDENT]part_emitter_region(colDust,jumpDust,source.x,source.x+12*sign(image_xscale),source.y,source.y,ps_shape_ellipse,ps_distr_gaussian);[/INDENT]
part_emitter_burst(colDust,dust,jumpDust,20);
}
An example of the already working on hit effects