1,371 reputation
620
bio website
location
age
visits member for 1 year, 7 months
seen yesterday

Sep
30
comment Fuzzy State Logic or Finite State Machine for AI
Well, that's assuming you used fuzzy logic on individuals within a group that should otherwise be more unified. If you used fuzzy logic, for example, on each soldier in an elite well-trained squad, you could get some odd behavior. If you did the same for a mob of civilians for a group of bandits or orcs, the unruly and disorganized behavior might seem natural and appropriate. This all changes if you used fuzzy logic on the group as a whole (which would just mean it's a single agent that happens to be made of multiple characters), in which case the group would always behave as a collective
Jul
31
answered GameLogic Model as Property or Constants with lookup in other Models?
Jul
31
comment SpriteKit - How to jump to specific position?
Anytime. Re: smoothness, use the easing link I provided. Or create your own. You can theoretically do the same with the physics engine in SpriteKit, but this solution is much simpler, and likely just needs some easing to look realistic. What you might want to do is set up two paths (one with the first quadCurve, one with the second quadCurve) and use two different easing methods with both.
Jul
30
comment How to run physics simulation in the background for possible future outcomes?
Running a single option a single time will only give you an exact result state. How are you imagining this would be relayed as/transformed into probabilities?
Jul
30
answered SpriteKit - How to jump to specific position?
Jul
24
comment Defensive statistic mechanics
I'm pretty sure all of those variations are widely used. At least in the realm of RPGs. Knights of the Old Republic used both of the first two options. Fallout 1, 2, Tactics, and New Vegas used the latter two options, while Fallout 3 only used "reciprocal"
Jul
22
suggested suggested edit on Spritekit - gradually apply force vector in different direction (space ship turning)
Jul
22
answered Spritekit - gradually apply force vector in different direction (space ship turning)
Jul
19
comment Swinging a sword in Xcode with Sprite Kit
Just make sure the two categories are distinct and unique. Use a log or print function or the XCode debugging features to see what the bit masks are at different points. It sounds like they're either accidentally equivalent, or they're being assigned instead of checked for equivalency
Jul
19
comment Swinging a sword in Xcode with Sprite Kit
Make sure you remember to set every physics body's category, or it might default to a specific category, which in your case might be the player's category
Jul
19
comment Swinging a sword in Xcode with Sprite Kit
I mean, could it be that your SKPhysicsBody starts off very small, because of a small sprite, and stays small even during the animation?
Jul
19
comment Swinging a sword in Xcode with Sprite Kit
What I mean to say is, is your "upright sword" a very small sprite, as if the character was holding it vertically? Then when it's swung, is the sword extended outward, horizontally away from the character?
Jul
19
comment Swinging a sword in Xcode with Sprite Kit
I assumed they were because you said the sword "floats" because of a collision issue. If the problem isn't that the sword is colliding with the player, what is the "collision issue" you're having?
Jul
19
comment Swinging a sword in Xcode with Sprite Kit
How large is the sprite before the animation, and how large afterwards?
Jul
19
revised Swinging a sword in Xcode with Sprite Kit
Clarified tags
Jul
19
suggested suggested edit on Swinging a sword in Xcode with Sprite Kit
Jul
19
comment Swinging a sword in Xcode with Sprite Kit
Also, do you have any idea why your sword is only damaging enemies a single pixel away? That seems like odd behavior that I can only imagine would result from a very small or misaligned SKPhysicsBody
Jul
19
answered Swinging a sword in Xcode with Sprite Kit
Jul
19
comment Swinging a sword in Xcode with Sprite Kit
I assume this is a top-down game, as your description would be odd otherwise. Do you mean the sword is the child of the player? Would an animation not serve your purposes, rather than a rotating sprite? Have you looked at the sample SpriteKit game, called "Adventure"?
Jul
18
revised Sprite Kit - containsPoint for SKPhysicsBody?
Added physics related tags