Comments

Log in with itch.io to leave a comment.

i get an error when the experience behavior is attached to an actor.

An update will be up in the coming weeks and this will likely be fixed. For now, you need to provide the actual error message and any highlighted blocks for me to be able to help.

it was an "unexpected problem" error. the behaviors tab for the attached actor becomes blank.

I also get a crash if I give an actor equipment that has equipment properties via the Equipment behavior.

The crash might be happening because you configured something improperly in the equipment properties. You can test your game on flash and it should spit out a proper error message, pointing to the offending line of code. If you provide that I might be able to help you determine if it's an issue with the code or with your configuration and solve it.
As for the unexpected problem, that might be beyond me, as I don't know what exactly triggers it. If you generate your logs it could provide us with a hint. Did you import any of my other resource packs before the cutscene pack? The Cutscene Pack already contains everything from the RPG Elements and Miscellaneous behaviors, so if you import those as well you could get duplicate resources and a bunch of other issues, but I'm not sure if that could be the cause.

(2 edits)

I just created a blank project and still got the same two issues with only the Cutscene Resource PRG variant imported. The Equipment behavior was attached and left as is ('Sword' and 'Leather' were the only equipment and their properties were not changed). The error points to a null object reference. 

Attaching the Experience behavior to an actor causes the Unexpected Problem. The logs are here.

I've updated the resource pack and tested on a brand new game, no issues on my end.

You'll have to remove the resource pack and all its resources from your game and reimport the new version after downloading it, or revert to a backup of your game project from before importing the resource pack.

Hey bud i wanna buy this resource pack. i downloaded the miscellaneous pack to test it out. Haaving trouble fixing player getting stuck to sides of platforms. is there a fix in this pack for that? 

You'll have to elaborate a bit. Are you using your own behaviors for movement? What do you mean by "sides of platforms"?
The cutscene pack replaces the miscellaneous pack, as it contains everything in the miscellaneous pack and more. Both packs have the "Player Control" behavior for platformer movement and it works pretty well. Issues with actors getting stuck while using it would mean problems somewhere else, such as the actor's friction settings, or if your player is standing over a row of missaligned actors.

Sry ya im pretty new at this. I mean when i make the character jump he sticks to the sides of tiles rather than falling if i keep holding down the key. Sry I looked for someway to message you directly

That is independent from your code. That issue is related to friction. This video explains it in detail: 

The short of it: set the friction to 0 for your actor. My "Player Control" behavior from this pack already handle slowdown and everything else.

Purchased. Thank you.

Show post...

What kind of Stencyl app are you using? (l mean trial, studio...)

I'm using the most recent private build, which subscribers have access to. But Stencyl itself is the same regardless of your subscription status. Subscribing gives you access to the export options related to your subscription plan and the private builds, that's it.

Show post...

l know but yeah you're more lucky with non-trial devices.

Hey,

Not sure this is the  right place for Questions, if not please let me know, but I've just downloaded the cut-scene pack, imported it and attached the behaviour 'Dialog Interface' to an actor, but when I compile it fails. When I open the failed behaviour it appears to be missing parts (see screenshot). Any ideas? I'm using Stencyl (4.0.2) Cheers

(1 edit) (+1)

Not too worry, my bad I was trying to apply the behaviour from Resource pack, not the logic behaviour... All good :) Looking forward to playing with it

No worries, glad it is working! And it's alright to ask questions here!
I hope the documentation will work for you, but either way I'll make a video explaining the dialog interface behavior in the coming days, and I hope that will be of help.

Hey Luyren, the docs are fantastic and I've already implemented a few of your behaviours :) I do have a question, do you have any advice/ideas on the following scenario. I have two actors in a scene, I've applied the dialog box to them, now I want to switch the order of conversation, so there is some back and forth conversation, for example:

A: hi, how you doing today 

B:Great thanks 

A:Do you want to go out somewhere?

 B:Yes

A: Okay I know a place

A: Let go now

B: Ok sure

There are a number of ways to do it, depending on how you setup the dialog interface for each actor. I recommend using the Events Manager behavior in your "NPC" actor.

1- If your dialog is set on scene coordinates, you can just make the same actor use different presets to represent different actors speaking. If you are using the dialog like speech bubbles at each actor's position, use the other mehtods.

2- If your player is pressing a key to activate the cutscene when near an actor, then you have to use the "Set Actor" event to switch between "Self" and "Player Actor." That way, when you reach the dialog events, you'll be calling the dialog for different actors.

3- If your actors are not colliding or interacting via key press, you can use the "Get Player Actor" event. Then, use the same method described in 2. The player actor must be on screen for that event to work.

4- If the dialog doesn't involve the player actor in any way, you can use Instance Customization for the actor that has the cutscene script, configure the "Cutscene Actor" attribute to the other actor you want to take part in your dialog, and again use the Set Actor event, now setting it to Cutscene Actor (check the attribute's description in the Events Manager behavior).

5- This is a bit more convoluted: you set up a script in each of the actors you want to speak in the dialog. You set a global value to increment by 1 after each dialog, and the scripts just use that global value as a condition to play the dialog for each actor. It becomes a sort of back and forth between two scripts.

The Set Actor event basically switches which actor is being target by the events.

This is a script that has an example of back and forth, using the "Get Player Actor" event. Only I'm changing between the Player Actor and a Stored Actor at key 0. If you create actors through the cutscene script, you can store them and reference them later to be targeted by events like this.

You can check the specific of those events in the Behaviors List file. Go to the Events Manager explanation, and look for the "Events" explanation. That info is also in that attribute's description in the Events Manager behavior itself. But either way, I'll definitely include that in the expanded video documentation!

Dude, thank you for the response, so many options and approaches. Love it!

Show post...

Nice!