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 - Neikke

Pages: 1 ... 7 8 [9]
PlayMaker Help / Audio Play action won't play audio
« on: October 13, 2017, 10:25:21 AM »
Anybody experienced issues with sound not being played using Audio Play action? I do have actual Audio Source component with the same sound attached to my game object but still, sound is not played. Any ideas what can it be? Thanks in advance!

PlayMaker Help / Sound positioning/panning problem
« on: October 13, 2017, 09:59:24 AM »
Currently, all sfx sounds in my side-scrolling game are quite low (volume wise) and have distinct panning or let's say prominent 2d positioning in game which I don't need. For example when I pick a coin in the left corner of the screen for example, the sound is being shifted to the left speaker and is quite low - while I want it to be centered evenly as it's just a side scroller type of game.

Since I use "Play Sound" action which has position variable, theoretically, I can create a global variable with Camera position and feed it to Play Sound's position variable slot but I'm not sure this it the best way. Any help would be highly appreciated!

Yep that definitely makes sense! I'll try it! :)

PlayMaker Help / Re: How to make rising pitch sound effect for coins?
« on: October 10, 2017, 06:39:03 AM »
Thanks a lot man!

PlayMaker Help / Re: How to make rising pitch sound effect for coins?
« on: October 10, 2017, 06:23:48 AM »
Aha I see! Now I start to understand it! By the way did you mean ">" in the first case?

Thanks a lot!

Is there a way to make a pitching sound effect in PM? When you collect the coins and with each coin in a row - coin sound gets higher and higher? Thanks in advance!

PlayMaker Help / Re: How to reach for instanced prefab's De/Activation?
« on: October 09, 2017, 05:34:16 AM »

No no, I'm not instantiating. I'm spawning my character with magnet gameobject as a child object but deactivated. And then when player collides with magnet powerup - it's just being activated for a period of time and then deactivates itself.

The problem was that I actually stupidly placed Get Owner action which stored my Magnet as global gameobject variable - to deactivated magnet itself, which prevented it from being initialized as global variable at runtime. So I placed it on an always active character so it can be initialized and called upon when needed! Thanks man!


I have player character which collects coins and it works fine (Djaydino - many thanks!) the thing is, it's being spawned at runtime on a specific spot as a prefab actually - not as a original player. And in FSMs, for example, I have a Move Towards action which makes coins go directly to player, and with the instanced Player it's not working though I tried setting player as global GameObject variable and feeding it Target Object to be attracted to. Not working.

Another example, I'm activating a game object set up as magnet to be a child object of Player, and it works fine as original Player, but when instanced - my Activate Game Object event - just won't wake up. Any help is much appreciated!

PlayMaker Help / Re: How do I make a magnet powerup FSM?
« on: October 08, 2017, 07:12:38 AM »
You get the target in the trigger state, with the 'trigger action' on "Store Collider".

It stores the object that went inside the trigger.

Got it! Thanks a lot Dino!

PlayMaker Help / Re: How do I make a magnet powerup FSM?
« on: October 07, 2017, 06:30:25 PM »
Also what I don't understand, where this "target" comes form? is it some global variable or..?

PlayMaker Help / Re: How do I make a magnet powerup FSM?
« on: October 07, 2017, 05:24:32 PM »
did you set a tag on the coin objects?

Yes I did!

PlayMaker Help / Re: How do I make a magnet powerup FSM?
« on: October 06, 2017, 03:35:56 PM »
Thanks djaydino! I've watched your video and tried to recreate it accurately but for some reason my player won't collect any coins at all. I've sent you PM with the download link, can you please check it? 

PlayMaker Help / Re: How do I make a magnet powerup FSM?
« on: October 05, 2017, 08:28:52 PM »
Coin should have FSM which checks if there's a magnet on the player. If there is, in the next state put move towards action and set player as target.

If you want some magnet range distance shenanigans, you can set another state between those two that checks distance and jumps to move towards state when player is in range, and goes back to previous state when it is not. Check is done every frame of course. You can even set a variable for move towards speed with add float so it accelerates towards player and resets itself with set float 0 when player goes out of range.

This sounds very good! The things is I'm only starting to learn Playmaker, and I'm not familiar with its toolset very well, I mean which actions to use when etc. So in theory it looks awesome for me, but unfortunately can't imagine how to achieve it yet. If you'd have time to go a bit more in detail how to do this check for coins to return - that would be great! Thanks a lot for your reply - I slowly start to understand the mechanics behind it!

I made a sample video they i would do this and will make a tutorial from it later on

Let me know if its good or not :)

That's just awesome! Thank you so much for your effort and making a video! There are a few minor dark parts for me there but I think I will just do it step by step as you showed and will understand the purpose of some actions better!

Also, I wanted to ask, how would you approach this task if it wasn't a button to turn magnet on and off but if it was a magnet as Powerup in a level which player earns by colliding with it? As I understand it, I would create a magnet, with a collider with On trigger Enter state, which would send an event to activate magnet. Then I would probably need to have some timer to not let player have magnet forever but for, let's say, 10 seconds, and then deactivate. But.. how to actually do it, which nodes/actions house - a bit dark for me. If you'd be so kind to clear this up for me - I would highly appreciate that! And again - thanks a lot man for the video man!

PlayMaker Help / How do I make a magnet powerup FSM? [SOLVED]
« on: October 04, 2017, 05:59:54 AM »

I've bought PLaymaker a few days ago and watched beginner videos but still kind of unsure how would I approach the following. I develop some generic auntorunner side scroller type of game, and the only thing is left - is adding powerups like magnet, shields score doubles etc.

I already have coins properly set up, I mean I can "collect" them, they disappear after colliding with them etc. But how do I set up a magnet? I would highly appreciate any help and advice on this matter!  Thanks in advance!

Pages: 1 ... 7 8 [9]