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 [2] 3 4 ... 41
Share New Actions / Re: ArrayList Find GameObjects Inside Collider
« on: April 11, 2018, 12:28:24 PM »
I've created two new actions based on dudebxl's derivations to be found on the Ecosystem:
"List Game Objects Inside Collider" and "List Game Objects Inside Collider 2D".
They differ in that they rely on the target GameObjects to have Collider/Collider2D components instead of Renderer/Sprite components, the 'Collider Target' variable only allows the right component to be inserted, the 'Tag'-variable only shows the existing tags as a drop-down list instead of a string input and is set to 'Untagged' by default; they optionally store the result in an FsmArray, store the amount of entries and update every frame.

I would also propose, that the actions by dudebxl actually say that the target GameObjects need to have a Renderer component and for the 2D version a Sprite component somewhere, because they are otherwise confusing and don't seem to work if you don't know that.

Am i doing this right?

I don't seem to be getting anything :(

Playmaker Help / Re: Logic help on splash damage
« on: April 11, 2018, 12:25:08 PM »
ArrayListFindGameObjectsInsideCollider2D needs to have mesh renderer on itself, trying out the List Game Objects Inside Collider 2D.

Playmaker Help / Re: Logic help on splash damage
« on: April 11, 2018, 12:13:03 PM »
Nope u can collide/trigger with 1000 object by default within a frame.

Yeah, but how to loop through all of them and don't repeat what's been hit? I tried with get trigger info and the object hit and then add to arraylist, but they all have the same name, so only one is added.

Playmaker Help / Re: Logic help on splash damage
« on: April 11, 2018, 12:06:52 PM »
I can't get it working with neither ArrayListFindGameObjectsInsideCollider2D nor ArrayListCastOverlapSphere, any ideas on properly setting these up?

Playmaker Help / Re: Global sets of variables
« on: April 11, 2018, 07:45:35 AM »
Json and csv, not sure about xml.

Playmaker Help / Re: Logic help on splash damage
« on: April 11, 2018, 07:41:29 AM »
A-ha, i should cast overlap sphere, i'll check that out.

Playmaker Help / Re: Logic help on splash damage
« on: April 11, 2018, 06:50:11 AM »
Yeah, but won't the collider on the explosion trigger with only one enemy?

Playmaker Help / Logic help on splash damage
« on: April 11, 2018, 05:26:12 AM »
Hi guys,

i want to make some explosions have radius based damage that can damage multiple enemies, but my current bullet/enemy/damage setup is giving me a hard time.

At the moment, all the damage dealing stuff is set up like this:

  • Bullet hits the enemy
  • Bullet takes the current HP from enemy, deducts the damage it is making, and feeds back the new HP to enemy
  • Enemy checks if HP is 0, if it is, it dies, if it is not, goes back to idle state

It can be simpler, but i have many modifications that makes it necessary to work this way.

Splash damage is easy to implement from the enemy side, as every enemy can detect the collision with the explosion collider and apply damage to itself, but since the logic of dealing damage in my case is on the bullet/explosion side, only the first enemy that collides with the explosion will be hit, and rest will remain undamaged.

Any ideas on this one? Some spherecast with adding enemies in the blast radius to an array and the cycling through all of them?

Playmaker Help / Re: Global sets of variables
« on: April 11, 2018, 05:05:11 AM »
G2U is horrible, use Easy Save and celebrate life ;D

Playmaker Help / Re: Ignore 2D Collisions
« on: March 26, 2018, 12:36:30 AM »

Playmaker Help / Re: How to make text appear one letter at a time?
« on: March 26, 2018, 12:18:34 AM »
you've got a typewriter action on the ecosystem. if you wanna do it the hard way, you can parse the string character by character with a short wait before displaying the character.

Playmaker Announcements / Re: Playmaker Game Jam
« on: March 22, 2018, 01:20:30 PM »
Sorry to say i had to cancel my participation, have fun to all!

Share New Actions / Re: garbage collection actions
« on: March 20, 2018, 08:00:48 AM »
Damn man, these are like the best actions ever.

Animator play > state name idle.

Playmaker Help / Re: Return to title screen on player death
« on: March 15, 2018, 02:28:53 AM »
You can just stretch a single black pixel over the whole screen and change it's alpha in spriterenderer to fade, simple as that.

Pages: 1 [2] 3 4 ... 41