thevaleev Posted August 8, 2013 Report Share Posted August 8, 2013 I have problems with place system(for racing platformer), that works like that: /* instance_range_count(obj) *///Argumentsvar object, radius;object = argument0;//Loop through instancesvar inst, i, maxinsts, total;maxinsts = instance_number(object);total = 0;for (i=0; i<maxinsts; i+=1) { inst = instance_find(object, i); if (inst.x>x){ total += 1; }}//Donereturn total+1; //plus one to make it 1st and not 0st[/CODE]Sometimes players got same positions.Tell me, please, what I can do in this case to moveposition of the player (which got same position later) down?[b]UPDATED:[/b]Sorry guys, problem is resolved, thanks to NeKit for help (https://www.facebook.com/fakekit). But if you still have offers to resolve it, you can write it. Link to comment Share on other sites More sharing options...
Recommended Posts