playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - krmko

Pages: 1 ... 60 61 [62] 63
916
Action Requests / Re: Flip Sprite Renderer
« on: June 29, 2016, 04:05:35 AM »
Great Jean,

thanks!

917
Action Requests / Set Physics Material 2D[SOLVED]
« on: June 28, 2016, 02:51:52 AM »
This action would be nice, as far as i have seen, there's only set material action, nothing for physics.

918
Action Requests / Flip Sprite Renderer[SOLVED]
« on: June 28, 2016, 02:48:36 AM »
Hello,

as some of you have seen on the help forum, i am trying to make a bullet ricochet and i've found a more elegant solution with physics material 2d - bounce. But since the bullet needs to change its direction, i need Flip Sprite Renderer Action, thank you very much ;D

919
PlayMaker Help / Re: Reflecting bullet FSM
« on: June 28, 2016, 02:46:44 AM »
I've found an elegant solution. Since i need the reflection to ricochet the bullets off of shield of an enemy, i can simply set the bouncy physics material to shield and set bounciness to 1 so the bullet doesn't lose power and flip the sprite.

Expansion of the idea would be even better, a shield could change the physics material according to the tag of the bullet, so some bullets would pass, some would reflect, depending of the type of the bullet. Alas, there's no action for setting the physics material either :(

920
PlayMaker Help / Re: Reflecting bullet FSM
« on: June 27, 2016, 11:07:08 PM »
have you managed to get it working rongconcrx? My bullet just hits the ball and stops.

921
PlayMaker Help / Re: Reflecting bullet FSM
« on: June 27, 2016, 05:14:43 AM »
Hmm, the thing is, the object that's being hit actually ricochets under angle, but the object that should ricochet stops when it hits the target :-\

922
PlayMaker Help / Re: Reflecting bullet FSM
« on: June 27, 2016, 03:43:37 AM »
Thank you,

you are very kind, i will try it out  ;D

923
PlayMaker Help / Re: Ricochet with playmaker?
« on: June 27, 2016, 03:43:19 AM »
Hi,

i kind member made me a FSM yesterday, check it out:

http://hutonggames.com/playmakerforum/index.php?topic=13078.0

I still haven't tried it out though.

924
PlayMaker Help / Re: Reflecting bullet FSM
« on: June 26, 2016, 02:00:11 AM »
Works good, the thing is, how to i set it to reflect under angle when colliding with circle collider?

925
PlayMaker Help / Re: Reflecting bullet FSM
« on: June 25, 2016, 12:35:34 PM »
Yes, but what should be the math part ;D

926
PlayMaker Help / Reflecting bullet FSM
« on: June 24, 2016, 04:25:18 AM »
Hello all!

I am trying to make a bullet reflect off a collider in 2D game, but i just can't get my head around it. I checked out the breakout sample game, but that's not quite it since it has a fixed reflection angle based on impacting left or right collider of the paddle and the brick, as far as i have seen. There are some pinball playmaker games, but i think there's also no reflection there, just adding force to the ball when hitting the flipper. I googled a lot, and even found some scripts, but nothing does the job unfortunately. I think it can be done fairly simple in Playmaker, but i need some help.

The bullet has a fixed velocity (not force), so upon colliding it only needs to change direction whle keeping the velocity. I am aware i need to use vector3 reflect under the operator advanced action and i've read about the normal of the impact and calculation of the exit angle and thus the rotation that needs to be applied to the bullet but don't quite know how to implement it.

Any help or example is welcome!

927
Hi to all,

i've encountered an issue which i believe is not to be a deliberate behaviour.

I've made a FSM template for moving along SWS waypoints by using SWS_Set Path action and applied it to object1. When i apply the template to object2 and set a different Path Name, object1 is automatically setting it's Path Name to one set to the object2 and vice versa.

Please advise.

Also, if this is not a bug, please send it to the appropriate part of the forum. Thank You.

928
PlayMaker Help / Re: Make Sprite Flash When Hit
« on: March 22, 2016, 04:51:59 AM »
Well,

it's not quite the solution to make double sprites (normal and white) for every enemy object in the game. Anyway, i'll try that out too.

And about the second post, i don't quite understand you, how can i use white sprite in front of the original sprite?

929
PlayMaker Tutorials / Re: Share your complete FSM templates
« on: March 22, 2016, 04:17:12 AM »
2D Flash When Hit

Useful for Shmups, makes the game object (enemy) flash when hit. Attach it to the game object and select color. Unfortunately, doesn't work in white, let me know if you have an idea how to work it out. By setting the wait time you can adjust how long will the changed color be active.

And don't forget to use proper tags!

930
PlayMaker Help / Re: Make Sprite Flash When Hit
« on: March 22, 2016, 04:16:37 AM »
Actually,

i made it, you can find the solution on the page i opened for sharing FSM's.

http://hutonggames.com/playmakerforum/index.php?topic=12301.msg57312#msg57312

Unfortunately, i can't figure out how to flash in WHITE color, it would be nice if someone would have an idea.

Pages: 1 ... 60 61 [62] 63