ryackov Nuclear reactor sim?! Awesome. Post a .capx when you're near completion if you don't mind. I would love to see how you did your variable algorithms.
How did you design the destructible terrain like that?
Develop games in your browser. Powerful, performant & highly capable.
I'd try a Is Idle (Boolean) -> set animation to "idle"
or maybe try a is not Charging(Boolean) - > set animation to "idle "
If you are trying to scroll turn off unbound scrolling and add something like:
every tick ; Go = 1 : Scroll to position x:lerp(scrollx, ball.x, 0.09) y:lerp(scrolly, ball.y, 0.09)
can you clarify a bit? I'm thinking you want the camera to scroll to the ball but I don't see anything on the event sheet to indicate that.
You can definitely have a 'platformer' dude in a physics level. However, you need to define whether that guy will have the platform behavior or the physics behavior. Both will not work well together. I would recommend using the physics "apply _____" actions on your platformer dude and turn off allow rotate to create a physics-based platform object. Here's a very simple .capx example: https://dl.dropboxusercontent.com/u/174688242/simplephyics%20platform.capx
Yeah! Open both projects at once and just start copy/pasting. Make sure to move the objects related to your events first.
Second Zeno's advice. With physics, you pretty much need to utilize it alone. Instead of platform functions you can use apply force or torque or impulse binded to a key. Gravity is odd. It is set globablly through any physics object. For example, you could "On start of layout" -> Set Gravity on (physics) object to 2. That would change all physics objects to 2 gravity.
Working on a game where the player controls five different characters at once. It is intended to follow the standard holy trinity of tank/healer/dps. I need some tips on how to create a threat system. Since I will only have a maximum of 5 characters attacking at one time, should enemy classes have 5 variables that track the total damage of each character and switch targets to one if it exceeds the current target's damage by ~10%? Or is there a 'cleaner' way of programming this that wouldn't require 5 individual instance variables on every enemy instance?
Kraudi That is polishing up very nicely!
As in to show that it is taking damage? Add a subevent to your lightning overlap enemy event. In the subevent, Enemy Set Amimation to "Damage". Then, add one more event that is Enemy On "Damage" Animation End, Set Enemy Animation to "Default". Of course, fill in Damage or Default for whatever your animation names are.
No, I can't. My best guess is a plug-in issue since its occurring on two significantly different systems of mine and no one else seems to be having the issue. I've gotten into the habit of doing a saving constantly just in case.
Member since 20 May, 2013