playMaker

Author Topic: Making an object collectable  (Read 3673 times)

SStru1987

  • Playmaker Newbie
  • *
  • Posts: 18
Making an object collectable
« on: February 03, 2014, 07:14:28 PM »
I'm having difficulty with making collectables. I followed the instructions on the video for "Breakable Objects" by creating a trigger and followed the coin part. I created the entire FSM. Ran the game and the object doesn't collect. Having real difficulty. Did I miss a step?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Making an object collectable
« Reply #1 on: February 04, 2014, 04:52:23 AM »
Hi,

 what problem do you encounter? is it the triggering system that doesn't seem to be working? or something else in your logic?

If you can give more details where it stops working as expected, this will help us give you some advice.


bye,

 Jean

phannDOTde

  • Full Member
  • ***
  • Posts: 237
    • Peter Hann .de
Re: Making an object collectable
« Reply #2 on: February 04, 2014, 09:02:41 AM »
- Did you put actual Physic Triggers on your Objects?
- Did you setup the Object Tag?


SStru1987

  • Playmaker Newbie
  • *
  • Posts: 18
Re: Making an object collectable
« Reply #3 on: February 05, 2014, 11:41:19 AM »
I've followed all the steps in the Breakable Objects tutorial with the coin…I'll upload a picture of the state machine along with the events and transitions attached. standby for that

Basically, my player can't collect the objects and they won't destroy

SStru1987

  • Playmaker Newbie
  • *
  • Posts: 18
Re: Making an object collectable
« Reply #4 on: February 05, 2014, 12:01:32 PM »
Here is the State Machine with the actions attached and the variable is "Parent to Destroy" its a GameObject variable.

If you want to follow along with the video with "Breakable Objects" it starts @ 22:02  and ends @ 30:44.

Once again, I tried this in Playmaker and the Player can't collect, aka the object doesn't destroy…Are there any suggestions to help me?
« Last Edit: February 06, 2014, 11:46:54 AM by SStru1987 »

SStru1987

  • Playmaker Newbie
  • *
  • Posts: 18
Re: Making an object collectable
« Reply #5 on: February 05, 2014, 12:02:40 PM »
just to let you know, this is a 2d game. my character is falling through the course to collect these objects to progress through the game

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Making an object collectable
« Reply #6 on: February 06, 2014, 04:31:09 AM »
Hi,

 links are brokent, can you update your post to link to the footage properly? thanks,

 Bye,

 Jean

SStru1987

  • Playmaker Newbie
  • *
  • Posts: 18
Re: Making an object collectable
« Reply #7 on: February 06, 2014, 11:47:42 AM »
updated…send me an email or pm if you can't see it anymore

phannDOTde

  • Full Member
  • ***
  • Posts: 237
    • Peter Hann .de
Re: Making an object collectable
« Reply #8 on: February 06, 2014, 02:44:20 PM »
Hey,

in your "collect1" picture - you should probably tagg the collectible items as i.e. "collectibles" and check the tagged in the trigger event. Beside that it isnt easy to tell from what you show here where exactly the problem is.

cheers
peter