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

Pages: 1 2 [3] 4 5 ... 9
31
PlayMaker Help / How to make a quick counting to a certain number?
« on: June 21, 2019, 04:42:13 AM »
Hi,

how do I make a quick counting to a certain number on a text gameobject? For example I would like to have Final Score numbers which Player has earned, to appear with this quick building up counting effect and not just appearing and staying there static. Is it possible? Thanks!

32
Well since I have my Score prefab's coords set to 0 on all three axis, setting to World or Self didn't make any difference for me. But that's a good point to be aware of actually. Thanks a lot!

33
Thanks a lot djaydino! To be honest I didn't understand why that Set FSM gameobject action was needed but it looks like I was able to solve it without this action. I solved it not on a Coin but on popping up ScoreNumber game object. Please have a look:

1. I just added Get Position action specifying that I want to get the position of my stored Player gameobject at runtime and store it in 'PlayerPosition' variable,

2. And then in the same state I added Set Position action setting the position of the owner (the ScoreNumber object) to be precisely at 'PlayerPosition' variable. This makes all pooled clones to be spawning exactly at my Player's position while they're active.

Once again thanks a lot!



34
PlayMaker Help / Re: Is Create Object action - means Instantiate?
« on: June 19, 2019, 11:32:32 AM »
That's simply fantastic guys! Those Pooler actions work exactly as needed! Many thanks to you both daniellogin and djaydino!

One extra question. Here's my simple workflow:

1. As what I'm pooling is - popping up score numbers, I'm spawning those Score Numbers using 'Pooler Spawn' at the Player position.

3. Since I want those Score Numbers to be following Player - I'm also using "Set Parent" action to temporarily parent popping up Score Number to a Player. Otherwise when Player jumps or walks away - Score numbers just stay where they were spawned first.

3. After the Score Number has faded out, I unparent (Set Parent to: None) that pooled Score Number and doing Pooler Destroy Stored to deactivate this pooled score prefab and put it back to the Pool.

May be I'm overkilling it a bit but the question is - is this parenting/unparenting at runtime is also performance-friendly enough? Cos I'm doing the sequence I described here quite often when Player collides with coins for example, and sometimes he might collide with 5 or 10 coins in a row.

Thanks in advance!

35
PlayMaker Help / Re: Is Create Object action - means Instantiate?
« on: June 18, 2019, 04:52:14 AM »
Sorry for bringing this up again, but I really would like to know.

I have simple particle effects that I span on Coins, Enemies. And I use "Create Object" as the main spawner of those particle effects whenever Player collides with them. So is it bad for Mobile Platforms? Thanks in advance!

36
This sounds good! 👍 Thanks for this info!

37
OK, thanks a lot man!

38
Hey guys,

how do I force replaying all of the components/scripts that are on the gameobject when object is ReActivated after being DeActivated by the action?

I have a few objects in a scene that I just Activate and Deactivate from time to time, and each time they're getting ReActivated - I want them to perform everything they do when I'm entering Runtime. Is it possible?

39
I have a pool of 10 objects (text prefabs) which I want to be able to activate one by one on each collision with Player.

So obviously I will have a pool of 10 instantiated at the start, but deactivated objects waiting to be activated on collision with player. But then how would I:

1. Activate them one by one without activating all 10 at once?

2. Activate only deactivated ones?

Please help!

40
PlayMaker Help / Re: How to make a Text popup?
« on: June 14, 2019, 01:37:43 AM »
Hey guys, I still need help with how to create a score popups similar to this but for mobile platforms:
Any heads up please?

41
Hi, I'm developing a game for mobile platforms and since I have particles being created by Create Object action each time Player collides with Coins - I wanted ask if it really instantiates them which I heard to be a "no no" for mobile platforms? If it is, what would be the workaround then? Thanks!

42
PlayMaker Help / Re: How to make a Text popup?
« on: June 13, 2019, 04:56:19 AM »
heavygunner, to be honest didn't understand anything there, though I imported the project given in that post. The post is also quite outdated so not sure everything works as it should there.

UPDATE: sorry - me stupid. Forgot to import Playmaker. So it looks to be working actually. At least in a clean simple project. Gonna try it in my game to see if it works too! Thanks!

43
PlayMaker Help / How to make Floating Scores? [SOLVED]
« on: June 12, 2019, 07:31:12 PM »
Guys, please help!

I want to create a popping up score numbers like they have it in Angry Birds for example. What would be the right workflow for that kind of task?

As I imagine it - my Coin gets collided with Player, which triggers 2D event: Creates a text "100 POINTS" at the origin of that Coin and at the Size. And then score number disappears. So, very simple thing.

I already have UI Camera with Canvas inside of it. So should I create my text there? Or should I create an empty object with text component added to it? Or is there an action which would create any text for me wherever I want? Sorry if it sounds stupid.. I just really need some heads up.

44
Hey thanks for the heads-up guys. DOTween definitely looks good!

45
PlayMaker Help / Re: How to make Score Number fading popup (as text)
« on: June 11, 2019, 12:15:05 PM »
Sorry didn't get the point about referencing.. Could you please give some more info? Should I create ordinary text object inside my Main Canvas group and then drag this Text object to some UI action in Playmaker?


Pages: 1 2 [3] 4 5 ... 9