-
Changing speed of the game and change background
by butterbean ·Create Rule? Change attribute? Or place a new "Move" rule, that's where I need the help -
Changing speed of the game and change background
by butterbean ·Also, I deleted the global game attribute speed as integer, and just have the global game attribute score as integer -
Changing speed of the game and change background
by CodeMonkey ·You can't put equations in attributes, but that would be an interesting feature. That equation would go in your Move or Change Velocity behavior's speed value in your prototype. No need for a game.spe -
Changing speed of the game and change background
-
Changing speed of the game and change background
by butterbean ·Also, Codemonkey, or anyone, I need you guys to tell me specifically where to place these attributes , I'm still such a newbie to this, so sorry! -
Changing speed of the game and change background
by JGary321 ·It changes b/c instead of using a number you're using a global attribute. (Score) So when that changes it automatically updates the equation or you. -
Changing speed of the game and change background
by quantumsheep ·So instead of plugging that in, you're saying to plug in under enemy prototype, destroy behavior, change attribute : -
Changing speed of the game and change background
by butterbean ·So instead of plugging that in, you're saying to plug in under enemy prototype, destroy behavior, change attribute : -
Changing speed of the game and change background
by quantumsheep ·Obviously you have a 'score' attribute -
Enemies dropping items/powerups
by butterbean ·So under the enemy itself I placed under the collides with weapon rule (Destroy actor), I put change attribute, game.enemykills to game.enemy kills +1 -
Enemies dropping items/powerups
by JGary321 ·under the rule use when attribute changes-game.Kills = random (10,25) -
Enemies dropping items/powerups
by butterbean ·Also, I tried creating a rule, and said when enemy kills = number, it won't let me insert a random (n,n) function, do I need to use a different attribute to do this? -
Enemies dropping items/powerups
by butterbean ·So I could create a global game attribute, "enemy kills" as integer -
Enemies dropping items/powerups
by JGary321 ·Yea, personally I try to use Global Attributes that already exist. It's less work in some ways. More math involved though. If you just wanted to have a powerup every 100 points, thats easy, just use s -
camera problem...
by beatrage ·if anyone is having doubts here the main problem on the tutorial is the fact that you ned to create an actor with 2 constrain game attributes behaviors 'OffsetX'and 'OffsetY' to 0 and... put this acto -
Enemies dropping items/powerups
by nulo ·the "advantage" about using the score, is that you already have that working. so you will only use a attribute that already exists to spawn the items. -
Enemies dropping items/powerups
by butterbean ·I was originally going to create a global game attribute called "I am enemy number" and keep track of how many enemies were destroyed, and drop items randomly according to how many e -
camera problem...
by beatrage ·this 2 position my character runs smooth with a constrained rule that make his Y axis from 110 to (if self position is greater than 110 )self.position.y = 110 and on the 50 position to go to (if self -
Keeping actor on textured ground
by butterbean ·How do you tell the actor to stand on the ground or platform? Do you add a bounce attribute? -
Keeping actor on textured ground
by nulo ·i created a attribute that tells the game if the player is facing right or left. this way it knows what to animate when the player is standing still.