-
Getting one actor to rotate around another - gears with teeth
by domenius ·Ah, I see. Instead of using relative positioning and a bunch of circle math, you could place rectangular collision volumes at the circles midpoint and then just constrain their rotation to the main ci -
GS engine not consistent (iADS & animations)
by 3xL ·constrain self.rotation to (10*sin((self.Time *1500)%360)) -
Getting one actor to rotate around another - gears with teeth
by frankwashburn ·I have the rotating Gear axis, and he just rotates and as he does he contrains an attribute game.gear rotation to his own self rotation. -
Whats the best way to optimize my game for top performance.
by TWEAmazingApps ·@domenius Ok nvm I got it down! I messed with it abit when you said to put a otherwise for the frome =/= 9 section. I put a rule in the otherwise stating that with self.fram = 9 then change attribute -
Whats the best way to optimize my game for top performance.
by domenius ·change attribute self.frame to self.frame +1 -
Some problems with GS
by RP ·If you want it to return back to move back down, create another attribute (when mouse button up) with another accelerate behavior in the opposite direction. -
GS engine not consistent (iADS & animations)
by JohnPapiomitis ·constrain self.rotation to (10*sin((self.Time *1500)%360)) -
Falling Objects
-
Pong AI
by SANDEEP410 ·How to make AI for pong game. I have a paddle and a ball.I used an integer attribute to save X postion of ball. And then used change attribute to change the x position of the paddle to X position of b -
Restore In-App Purchases Question
by EatingMyHat ·IAP restore cannot be used for your own internal system, you will have to save the attribute/table in order to make sure that it is not lost. In general, you should do it for IAP as well, the restore -
arrays
by liamo ·I think gs needs arrays, it would make organizing attributes much easier, otherwise we could use tables in the rules. e.g -
"Sensitive Area" position locked to another actor
by edufiend ·On the main actor: create constrain attribute "sensitive_area" -
Free templates site
by kkchong ·thank you @Manto1 for the Tic Tac Toe template. i tried to go through your template but i cannot understand how you change attribute Self-image to X.png,, and O.png. Where are X.png and O.png refered -
How can you make a text on an image clickable ?
by simo103 ·@tspad10 ... I should probably have also said that I would recommend the first suggestion (ie: make a background actor ie: full scene photoshop image, and then create your buttons (ie: the Play one) a -
Important question about Timer-Attribute.
by fahrraddach ·I'm currently developing a metronome app. My problem is that the timer attribute can't play a tick, instead of every 5s, 120 times in a minute. Is there a possibility to include BPM in my app? -
Timers are for chumps - GS optimization tips
by domenius ·variable scope; game, scene, and actor. These attributes can be found within any category of the attribute browser, second from the top, and are created automatically by the engine. Once initialized -
Size Limit For Table Cells?
by tatiang ·I've never tried to concatenate an integer or real attribute... interesting idea. Over a certain value, integer/real attributes get converted to scientific notation. I believe this happens at 1,000, -
platform help
by RThurman ·-- Change Attribute: self.Position.X To: -( self.Size.Width/2) -
What is the Best Way to Destroy Multiple Actors When Something is Selected or create a "popup"
by domenius ·You will also need a global attribute to tell each actor they need to be destroyed. Basically have a boolean, say destroyHatMenu, that when true causes each actor to run a destroy routine. -
Goomba-Like Enemies
by DanDaMan123 ·called 'player y,' which you would use a constrain behavior to make it track the player's y value. Then, create a rule for the 'enemy' that if it collided with 'player,' then the player would die. (Y