self.Physics.Movable - Doesn't seem to be working.
Photics
Member Posts: 4,172
I'm working on another game. Perhaps my third GameSalad game will be the one that makes a lot of money. HA HA... anyway... I'm doing something a bit outside of what I think GameSalad was intended for. I'm planning to have a lot of actors on the screen. I have to use this many to get the interaction that I'm looking for. Yet, they don't always need to be moving. Some actors only need to move when touched.
I've been optimizing my game. One bad decision can have disastrous effects on performance. For example, I'm actually using Gravity over Move or Accelerate. It seems to have dramatically increased frame rates.
Another trick that seems to improve frame rates is to set movement to false if an actor doesn't need it. This is where the problem comes in. Certain actors in my game don't need to move unless they're touched. So, I was trying to toggle the Movable attribute.
I created a rule... if pressed... change self.Physics.Movable to true... otherwise... it should be false. I was thinking this would yield dramatic improvements in performance. However, the GameSalad game seems to ignore this attribute. Well... it will change the attribute... but it doesn't respect it. For example, if I put "self.Physics.Movable" in "display text" it will display "false" or "true". I've watched the words change with my touch... but the actor does not change movement. It either stays on all the time or off all the time, depending on the initial setting.
Is this a bug? Is this intentional?
I've been optimizing my game. One bad decision can have disastrous effects on performance. For example, I'm actually using Gravity over Move or Accelerate. It seems to have dramatically increased frame rates.
Another trick that seems to improve frame rates is to set movement to false if an actor doesn't need it. This is where the problem comes in. Certain actors in my game don't need to move unless they're touched. So, I was trying to toggle the Movable attribute.
I created a rule... if pressed... change self.Physics.Movable to true... otherwise... it should be false. I was thinking this would yield dramatic improvements in performance. However, the GameSalad game seems to ignore this attribute. Well... it will change the attribute... but it doesn't respect it. For example, if I put "self.Physics.Movable" in "display text" it will display "false" or "true". I've watched the words change with my touch... but the actor does not change movement. It either stays on all the time or off all the time, depending on the initial setting.
Is this a bug? Is this intentional?
Comments
but don't quote me on that
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
What's interesting is that you can use constrain to move characters, but you can't use other options. I might be able to use math to trick my way out of this one.