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.


Topics - krmko

Pages: 1 2 3 [4]
46
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.

47
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

48
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!

49
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.

50
Playmaker Help / Make Sprite Flash When Hit [SOLVED]
« on: March 21, 2016, 07:26:40 AM »
Hello,

i would really like some help. I am making a side scrolling shooter, and i need to make enemy sprites flash when hit (player bullet box collider 2d coliding with enemy box collider 2d). I tried with set color, but that doesn't work.

Any ideas for the FSM?

51
Playmaker Tutorials / Share your complete FSM templates
« on: February 23, 2016, 04:23:17 AM »
Hi guys, i didn't see this on the forum, but i think it's a great idea for users to share their complete machines, which can be very handy for beginners!

2D Movement Template

Attach it to player game object, used for moving in 2D space, left, right, up, down.

Change the multiplier field under Get Axis actions to change the movement speed. Use arrow keys to move.

52
Playmaker Help / Physics 2D Actions package
« on: February 20, 2016, 10:42:41 AM »
Hi guys, is it possible to update PlayMakerUnity2D.unitypackage since "Is Fixed Angle 2d" is no longer functioning?


53
Hello guys,

i'm new to Playmaker, but i really like how it works, it is very simple for people from nonprogramming background to create even very complex FSM's.

However, sometimes i stumble and i need some help from the community :)



On the first picture we have a very simple FSM attached to the Player object. I am using actions from Core Game Kit for pooling objects. In this case, by pressing key, a shot is spawned from the spawner object attached to the player object, and whenever the player moves, the bullet spawner moves with him. I just dragged and dropped the bullet spawner from the scene to the "other object for position" box, and everything works fine.



In the next picture, i am doing something similar for the Enemy object, but something's not working right. I created the Enemy, spawner object for him to shoot from, and simple FSM to spawn bullets every second. Here comes the problem, i can't drag and drop the spawner object from the scene directly into the "other object For Position" box (i get the menu in the picture with options to get or set property), only from the prefab folder, but then the bullets are spawned right in the middle of the screen, not from the spawning object attached to the enemy object.

Here's another picture to better show you what's going on:



Hope you can help me out, i would be more than grateful :)

Pages: 1 2 3 [4]