-
Performance question. Accessing, destroying actors.
by AlchimiaStudios ·It sounds like a logic issue if fps is dropping. Hard to say exactly what but it's common to drop frames when using tons of spawns or logic that iterates often (loop, constrain, every timer). -
How to get enemy alerts
by ohtukrw ·(Quote) -
How to get enemy alerts
by Icebox ·Yes get rid of the constrain and make it the way i mentioned above (Image) -
Overlap or Collide rule doesn't work?
by wongj19 ·(Quote) -
Overlap or Collide rule doesn't work?
by WhitePanther ·check if the actor's physical attribute is set to "movable" -
How to get enemy alerts
by ohtukrw ·(Quote) -
How to get enemy alerts
by Socks ·If you want to limit the amount of spawns (let's say to 200) . . . make a game.attribute, let's call it 'S'. -
How to get enemy alerts
by Icebox ·if i wanted to spawn after random number of seconds , and repeat the same timer over and over, I will have to put it in a condition with a game attribute ? Is this the way to approach it ? -
How to get enemy alerts
by Icebox ·@Socks Yes I already mentioned no need to constrain if the hero wont move , but the random every timer , i didnt think of it this way before , your right it makes sense now -
How to get enemy alerts
by Socks ·A couple of quick notes, you don't need to constrain the hero's X position as there is nothing changing the hero's x position - also you cannot have a random value for an 'every' timer, 'every' means -
How to get enemy alerts
by ohtukrw ·(Quote) -
How to get enemy alerts
by Icebox ·If your Hero actor wont move right and left, you can avoid constraining its position to a game attribute , you can do it this way -
How to respawn actor. (fixed)
by ohtukrw ·(Quote) -
How to respawn actor. (fixed)
by Icebox ·change attribute self.color.alpha to 0 -
Camera x,y coordinates - Help!
by Socks ·constrain ball x to mouse x + camera origin x -
How to save high score? file provided
by ohtukrw ·(Quote) -
How to save high score? file provided
by tatiang ·Change Attribute game.score to game.score + 100 -
Detecting actor movement direction without using player.linear velocity?
by Icebox ·When it interpolates from right to left put a change attribute self.flip horizontally to false. -
Detecting actor movement direction without using player.linear velocity?
by quinnii ·Im trying to detect which direction an actor is being interpolated in order to add an animation based on it's direction, obviously the "Interpolate" attribute overrides physics so i -
Division of an object
by Icebox ·Here is one way to do it , by spawning seperate actors left/right and using custom collisions to detect collision , and giving them speed, I attached a demo hope it helps.