-
How can I make new option after complete all levels ?
by tatiang ·You need to start by explaining how you are unlocking the levels. Is each level a separate actor on the scene? Are you determining unlocking of levels by the value of an integer attribute, or by a t -
Help...Spawn actor and Accelerate toward
by tatiang ·Transfer the touch x and y positions to the spawned actor by using actor attributes. Create a boolean attribute in the actor you are spawning (not the actor with the Spawn behavior) called self.targe -
resetting the spawn rate after a pause
by RabidParrot ·Make a global "nuke" integer attribute. -
loading collected items
by personal foul ·Thanks. I'm using save/load attribute. -
loading collected items
by Gnarly ·There are YouTube videos on how to do it. Most common would be saving high score attribute. -
Hit Area
by quinn221 ·(Quote) -
Hit Area
by Gnarly ·I see what your saying. Are there a lot of these actors? Each enemy could have a unique hitbox and unique attribute. -
Wrap Touch Release Problem
by zjhuffaker ·when attribute game.touch is true -
Hit Area
by quinn221 ·@gattoman but how do I control a self attribute from another actor... Hit Box and Enemy are separate... The death of the hit box kills the enemy -
Rotation 0-359 only?
by RabidParrot ·Or you could constrain like jdl stated. -
Rotation 0-359 only?
by Franto ·GS is able to read angles in increments of 360 as well. For example, if you set an interpolate behavior for an actor's angle to 1800, it will rotate the actor 5 times{for whatever duration you set, 0. -
Hit Area
by Gnarly ·You could change global attribute to self attribute. It will only destroy self. -
Rotation 0-359 only?
by Socks ·As @jdlcrater says, constraining the angle to angle%360 will keep it in the 0-360° range. -
Hit Area
by quinn221 ·Is it possible to constrain the hit box to the animation frames, or follow the animation? -
Hit Area
by RabidParrot ·So let me get this straight. You have a global health attribute that reaches zero when the hit box and enemy collide. -
Change actor when touch
by tatiang ·It depends on whether you need to change the image, the image and the rules, or the image+rules+a bunch of self attributes. But as @RabitParrot says, the easiest way is to set an integer attribute an -
Hit Area
by Icebox ·@quinn221 Try using self health attribute on the hitbox, destroy the hitbox when self.health <= 0 , when the enemy no longer collides with the hit box destroy the enemy. -
Hit Area
by quinn221 ·(Quote) -
Hit Area
by RabidParrot ·(Quote) -
Change actor when touch
by RabidParrot ·Make an "Actor" integer attribute that says,