-
Post your links for any free to use game assets
by superNES ·These images are provided with a Creative Commons Attribution license, meaning they are free to use in both commercial and hobby projects, however one should attribute the art to the original creator. -
Position constraint problem
by CodeMonkey ·2. Add the Constrain Attribute behavior and set the Y position (self.Position.Y) to 160. -
Multiple collision detection zones and AI
by CodeMonkey ·Multiple actors: You could have multiple actors that represent each side of the ship. When each one collides with an object, you would set one of several game(global) attributes showing where the col -
Creating a Rule for Enemies to release items
by CodeMonkey ·1. Create a game attribute that keeps track of how many enemies have been spawned. 'TotalEnemy' -
scroll-wrap feature or workaround...
by CodeMonkey ·When it is all the way off the screen(i.e. its centerpoint is offset from the edge of the scene by half the width(or height) of the actor, then change the attribute value of the X position to the othe -
scroll-wrap feature or workaround...
by CodeMonkey ·-> change attribute : The X position is set to its X position plus the width of the actor plus the width of the scene. -
List of integers - selecting 4 numbers from that list
by CodeMonkey ·Since we don't have tables yet, you will need game attributes that will keep track of which numbers have been chosen. -
Weird actor spawning
by CodeMonkey ·Make 2 attributes: randomSpawn (integer) and doSpawn (boolean) -
Position constraint problem
by Zourath ·It appears that when I constrain the Y position, the X position gets stuck. For example, this actor is supposed to move left and right, and always be constrained to a certain height, but when it gets -
Weird actor spawning
by Zourath ·Every second it changes the attribute self.chance to a number between 1 and 5. after that, in the same timer, there is a rule that checks to see if self.chance is a one. If it is, it spawns an actor. -
Turning On/Off seperate move sets with the same button
by CodeMonkey ·% is the math symbol for modulus. So with your boolean attribute sneaking it adds 1 to the current value then gives the remainder when dividing by 2. -
Turning On/Off seperate move sets with the same button
by lordsprinkles ·Change Attribute: 'sneaking' => ('sneaking' +1)%2 -
my drifting game
by ktfright ·is the gas on attribute a boolean, or integer? -
Turning On/Off seperate move sets with the same button
by CodeMonkey ·Change Attribute: 'sneaking' => ('sneaking' +1)%2 -
Turning On/Off seperate move sets with the same button
-
Turning On/Off seperate move sets with the same button
by lordsprinkles ·>Change Attribute: Sneak Mode to True [When this is True, it calls up the separate Sneak move rules and anims that only work when the Sneak Mode attribute is True] -
my drifting game
by nulo ·make a attribute "gas_on" and set it to 0. -
scroll-wrap feature or workaround...
by CodeMonkey ·and the direction you are moving to do a Change Attribute on the X position to move it to the other end of screen at an exact point so it would look endless. -
time
by CodeMonkey ·as reference, save the start time in an actor attribute, and save the end time when you collide with the finish line, then take the difference. -
Rotation question / suggestion
by CodeMonkey ·We are hoping to add more math functions later so you could use the Constrain Attribute function on the Rotation with a value determined by coordinates. i.e. arcsine, arccosine