Games Achievements My Kong Sign In

CandelariaH's Comments

Comment

Stencyl 2.0 Tutorial 3: Levels & Enemies

Play Stencyl 2.0 Tutorial 3: Levels & Enemies

May. 04, 2013

Rating: 0

Hmm, now that I look at it again, it's actually that my player character hits the door and stops, like it's hitting a wall. (My door is very big). I havn't changed anything since the last 2 tutorials, I just added to it. So, he's stuck mid air on the invisible wall for .2 seconds (I assume) and then, after the transition happens and I'm in the new level, the guy goes flying off towards the left (since I was holding the left key down) and it's like the invisible wall is gone since I'm now in the new level. Any help on why this is happening? I assume it must be something with the transition coding, but I have no idea what. Thanks.

Developer response from Abigayl

With a crossfade coding, the game keeps taking in inputs, such has holding down in a direction. If you don't want the player to move during the transition, drag your entire movement coding into one giant "if"; then, add in a "not" statement; then, go into the Scene palette and find the "scene is transitioning" boolean and drag it into the "not". That makes it so the movement coding only works "if the scene is not transitioning". :)

Stencyl 2.0 Tutorial 3: Levels & Enemies

Play Stencyl 2.0 Tutorial 3: Levels & Enemies

May. 04, 2013

Rating: 0

I'm really enjoying your tutorials and finding them extremely helpful! But, I seem to have 1 small hangup each time, lol. Anyway, in the last 2 tutorials, when got to the door, I crossed into the door before the scene started its crossfade, now, as soon as I hit the side of the door, it transitions and I am running left (nearly off the screen) as soon as it gets to the new level. I guess my question is, why is it now transitioning earlier than before, (as in hitting the right side of the door) as compared to after crossing into the door. Thanks for any help.

Developer response from Abigayl

The transition didn't actually change. It had been doing that all along. However, before it was reloading the scene, so you were able to see the player re-appear at the start while seeing the player at the door. Now that you are transitioning to a new level, it's more noticeable.

Stencyl 2.0 Tutorial 2: Jumping

Play Stencyl 2.0 Tutorial 2: Jumping

May. 04, 2013

Rating: 0

Well, I figured out which coding to remove to disable jumping off the wall, though this info might be useful in your tutorial. 1 other question, do you know how to make it so one directional key doesn't take precedence over the other? Like, right now, if you push left and right keys at the same time, it always goes left. Anyway to keep this from happening? Thanks.

Developer response from Abigayl

What do you want the player to do if both are held down? You could use an extra condition before both the left and right coding to check to see if left AND right are down (and then do the coding in there, switching the next code to an "otherwise if" instead of "if").

Stencyl 2.0 Tutorial 2: Jumping

Play Stencyl 2.0 Tutorial 2: Jumping

May. 03, 2013

Rating: 0

Another great tutorial! I'm not sure I understand what everything does, but I got it working! However, how do I make it so my character can't jump off the wall at all? I changed the friction to 1, and now he slides down the wall, but I can still use the wall to jump off of. I don't want to be able to double jump or use the wall to jump higher at all. Thanks.

Developer response from Abigayl

Ah, I naturally assumed that anyone making a platformer wanted wall-jumping. To disable it, only check for collisions when the bottom of the player is hit (instead of also checking sides). To make sure that double-jumping is off, you can use a boolean with a short delay; as you jump, turn off the boolean (and then have a short delay and turn it back on), and then in the collision coding, only reset the jumping if the boolean is on.

Stencyl 2.0 Tutorial 1: Basics

Play Stencyl 2.0 Tutorial 1: Basics

May. 03, 2013

Rating: 0

Hmm, never mind. It seems to work once I closed the game and reopened it. Odd.

Developer response from Abigayl

Sometimes Stencyl is like that. It's rather weird. I recently had a game lag really bad during testing; closed and re-opened Stencyl, and it was working normally again. I'm glad you got it working :).

Stencyl 2.0 Tutorial 1: Basics

Play Stencyl 2.0 Tutorial 1: Basics

May. 03, 2013

Rating: 0

This is a wonderful tutorial! I am having one small issue, nothing happens when my actor collides with the door. I have checked and triple checked and I've done everything exactly the same as you have. And all the coding is the exact same. I'm not sure why it doesn't seem to respond, and yes, the sensor is checked as well. :/

Developers Players Support YouTube TikTok X (Twitter) LinkedIn
Join the conversation Join Discord
Terms of Service Privacy Policy Code of Conduct
© 2025 Kongregate