-
Updating Attributes
by firemaplegames ·There are three types of Attributes in GameSalad: -
Updating Attributes
by specialist_3 ·Nope it doesn't work. It is just as I explained. Unlike real coding where we can store the individual attributes in either class instances, arrays or pointers and allow individual actors to interact d -
Updating Attributes
by specialist_3 ·I understand that Change Attribute happens only once unlike Constrain Attribute which keeps constantly updating. -
Updating Attributes
by firemaplegames ·Ok, in that case, create an integer Attribute in the Bullet actor, called something like "myType". -
Show Level
by Shpint ·I end up making an attribute 'level' (interger) and set it to one. -
Updating Attributes
by specialist_3 ·Thanks for your reply. The tag logic you have advised would definitely work if I were comparing different bullet actors (or tags) with the various enemies I have. But I actually have 9 different bulle -
Updating Attributes
by firemaplegames ·The first part you have is correct. Use a global integer attribute to spawn the correct bullet type. -
How to eliminate the HOMING from a missile?
by ORBZ ·Change Attribute self.rotation = vectorToAngle(targetX - self.position.x, targetY - self.position.y) -
Platformer Question?
by lowski ·when they collide. Use the video tutorial to constrain the location of your short and fat actor to the x and y of your tall and skinny actor (that way they will always have the same x and y location -
How to "When colliding" + Emitter Offset
by gyroscope ·Change attribute, self.Hit Wall To true. -
Updating Attributes
by specialist_3 ·and it collides with the enemy actor, I do an attribute comparison (RULE check) and if 1 = 1, the enemy and bullet are destroyed. If it is not equal the bullet simply passes through. I have a global -
Show Level
by debugdesign ·Create a game attribute called 'level' - which is an integer and set the starting value as 1 -
Show Scene Name
by design219 ·You need to create a rule in an actor in each scene (it can be invisible, or you could put it in each scenes background image if you have one) and on that rule you need to change attribute "D -
Show Scene Name
by Shpint ·I want to create an actor with "Display Text" attribute. I want that text to be the scene name. -
How to stop revolving on collision?
by gyroscope ·When touch is released from the green stick, it returns to the centre, but the player also returns to 0 rotation. I solved this by adding to the Otherwise section of a Change Attribute: game.Angle to -
If actor "x" is destroyed then actor "y" is destroyed as well
by Nawee ·Sorry to bother you, one more question, what attribute type do I pick? -
Making actors move with touch
by expired_012 ·Make 2 attributes: one named moveleft one named moveright make it an integer attribute. Go into your right actor, new rule: when touch is pressed, change attribute- moveright to: 1 -
in game: getting upgrades based on points?
by scitunes ·I would have an integer attribute called status. Then in the main character have a rule that says -
Make Object Swing back and forth like Pendulum
by butterbean ·@OrbZ: But how do I get her to grab onto the rope in the first place? Do I constrain her to the bottom of the rope somehow? -
math help pls!
by cptongsg ·can you kindly show me a simple example pls! Im really clueless. I have try to change the constrain but dosn't work.