-
Random Number generator for all of you. Also shuffles cards.
by tatiang ·I changed game.NumbersTotal to 100 and it never generates all 100 cards... do I need to change another attribute's value when I change game.NumbersTotal? -
Strange Scoring Issue
by UtopianGames ·To save you writing lots of rules for the score you could also make an integer scoreTarget and do if score= or >scoreTarget change attribute levelComplete=True then when you exit the scene incr -
Staying on a line
by tatiang ·Getting warmer... I added a condition so that the horizontal lines only constrain the player when the player is not colliding with a vertical line (and vice versa for vertical lines). -
Random Number generator for all of you. Also shuffles cards.
by fishZombie ·Actually, I have made some changes to this, again. It works even better now. slower pusher, and pusher mod attribute that speeds things up. Yes.... Slower is Faster. I'm not adding it just yet. I thin -
Random Number generator for all of you. Also shuffles cards.
by fishZombie ·This was a few hard days of work, but it's now very little code. It requires 3 actors, and all you need to do is adjust the Game-Level Attribute of how many numbers there are (1-50) or (5-600). With s -
Can't display text and attribute, why?
by tatiang ·Also, if you're using a boolean attribute, the value can only be displayed by itself (Display Text game.objmove). Using Display Text with concatenation (Display Text "objmove "..gam -
Strange Scoring Issue
by monkeed ·Example: I set the winner graphic to spawn when the score attribute = .05, but when I start the scene the level complete graphic spawns immediately. -
Can't display text and attribute, why?
by lukey5227 ·You can't type in the attribute name. -
Can't display text and attribute, why?
by akichan22 ·I write in a display text: -
Collision for transparent areas on an actor?
by DreamLab ·At the moment, custom collisions are not available. Hopefully sometime down the road they will be. The best option is either(if it's a stationary object) draw actors around each side(for example, a tr -
Rotating an Actor Question...
by RThurman ·Create an actor attribute (type = real) and name it "offsetAngle" (or whatever you like). Then include the following behaviors: -
Staying on a line
by tatiang ·To center the actor on a vertical line, constrain self.position.x to line.position.x. To center the actor on a horizontal line, constrain self.position.y to line.position.y. -
Collision Detection fix for Circle shape objects
by diegocs ·I have circular objects that constantly move around the screen, and are supposed to collide with each other and all, so i have the bounce attribute and i set a constant velocity, but when my actor bou -
Rotating an Actor Question...
by richcoy ·Yeah, your file has the same issue as mine. If you put a display text behavior on the blocks you'll see that the overlapping issue works great but the blocks jump to the angle before following the arc -
Wandering Actors Anchor point
by JohnPapiomitis ·constrain self.rotation to vectorToAngle(self.motion.linear.velocity.X,self.motion.linear.velocity.Y) -
Rotating an Actor Question...
by RThurman ·Yes -- it is because the constrain behavior in the outer circle is firing too fast. You can slow it down by using a timer. -
Rotating an Actor Question...
by RThurman ·2) The outer circle should work as expected. But for the inner circle, you may need to set up a game attribute to indicate when it is being pressed. (Then add a condition in the outer circle that te -
Rotating an Actor Question...
by RThurman ·change attribute: self.rotation to: random(0,359) -
Highlighting words as they are spoken
by akichan22 ·i think the simple way is to use same actor that you spawn, and them change the width with a rule and a timer. You create an attribute (for example: word.width) that you change it before the spawn and -
animation and actor as 1
by JohnPapiomitis ·Constrain the explosion to the player.