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 - quietly-turning

Pages: 1
1
Resolved Questions / Re: Player actor prevents platform from rising?
« on: June 13, 2012, 05:14:31 pm »
Wow -- this works perfectly!
because there is a continious collision detection that the slide function can't handle.

How did you determine that this was the cause of the problem?

Thank you so much. :)

2
never would have guessed that png is something I should drop to Stencyl to get the code  :)
Yeah, if you export a behavior from Stencyl, it exports as a PNG.  I think (think?) the code/logic gets stored in some of the PNG's metadata.  A bit unexpected or strange at first, but ultimately helpful.

3
Resolved Questions / Re: Player actor prevents platform from rising?
« on: June 13, 2012, 11:42:17 am »
The mass of the player actor is 10kg.

The mass of the platform actor is not accessible (grayed out) because I have What kind of Actor Type set to Cannot Move.

Thank you so much for all your help with this!

4
I believe the second attachment is an exported behavior resource, meant for you to import into your own project to start using immediately.  :)

I'm guessing that based on the PNG's name, anyway...

5
Resolved Questions / Re: Player actor prevents platform from rising?
« on: June 13, 2012, 11:08:26 am »
Thanks for the very quick response, Satyre!

Hmm.  Your suggestion doesn't seem to change the outcome.  The platform doesn't start to rise unless the player actor:
  • has touched the top of the platform at least once
  • is no longer touching the top of the platform

I exported and uploaded the game to here so the problem can be seen and understood in action.
http://www.personal.psu.edu/djg270/games/stencyl/demos/rising-platform-demos/1/

The logic currently looks like this:

6
Hi everyone,

Stencylpedia offers some "platforming challenges" that are stumping me for now; I'm thus seeking some help!  :)

I have a platform that should rise to a desired y-value when the player actor lands on top the platform, carrying the player actor up with it.  My logic so far looks like this:

In the screenshot above, y to offset and final y are attributes specific to this "rising platform" behavior I'm making.

This sort of works.  The player actor will land on top of the platform and nothing will immediately happen.  I've noted, of course, that if the player actor then jumps off the platform (whether in the air immediately above it, or off it altogether), the platform will start to rise.

Does this have something to do with the weight of the player actor effectively holding the platform down?  How should this sort of behavior be handled?

If it's worth noting, my player actor uses the Jump and Run Behavior that comes with Stencyl now.

Thanks!

7
I'm not familiar with 2.1, but there are loop blocks under Scene > Actor you could use, such as "for each actor of type".

Thank you for the response.  I'm not really sure how I can apply this suggestion to my issue, however.

As of Stencyl 2.0, actor-types have an Events tab, just like behaviors.  When creating a custom behavior with attributes, those attributes are supplied/specified when that behavior is attached to a scene.

In my game, I have an actor-type with custom event-logic that makes use of a region attribute.  How or where can I supply a specific region to instances of this actor-type?  I had guessed it would be in Stencyl 2.1's actor inspector, but this doesn't seem to be the case.

Hopefully my question is clearer now.

Thanks!

8
Ask a Question / actor-type event attributes in Stencyl 2.1
« on: May 22, 2012, 02:12:16 pm »
Hello Stencyl Community,

In my project I have two actor-types, a player and a warp-actor.  My goal is to have the warp-actor transport the player to a specific region in the current scene upon colliding with it.

In defining the warp-actor, I tried specifying an event (when self hits a player) that used a region attribute specific to the warp-actor type.   I had guessed that this attribute would be customized using the scene inspector (Stencyl 2.1) but this doesn't seem to be the case.

Thus, my question is how can I access an attribute specific to an actor-type?

Alternatively, is there a better way to handle this?

Thanks!

9
I think I may be encountering this issue, myself: http://community.stencyl.com/index.php/topic,9934.0.html
Unfortunately, that particular thread did not explain how the problem was resolved.

My scene has no behaviors or event-logic.

My actor has:
  • Jump and Run Movement
  • Camera Follow
  • Die In Pit And Reload
(the standard behaviors that ship with Stencyl now), and no event-logic.

If I test in Flash with all three actor behaviors active, my actor does not appear in the scene.
If I deactivate or remove the Die In Pit And Reload behavior, my actor correctly appears in the scene and the other two behaviors work as expected.

I first noticed it roughly a week ago, while using Stencyl 2.0.
I am currently using Stencyl 2.1 beta (downloaded from the "nightly" URL a few hours ago), and the problem persists.

Is there any other information I can provide?

Thanks!

Pages: 1