Comments for Stencyl 2.0 Tutorial 3: Levels & Enemies

avatar for kazz0731
kazz0731

Mar. 19, 2014

Under rating threshold (show) Thank your for the tutorial. I've been trying to move my enemy but no matter how many times i try it just doesn't move. i tried with other pre-made behavior as well but nothing seems to be working.

+ - !

(0)

Developer response from 0_Tuo_0

Hello Kazz. With that issue, it'd be easier to look at the actual file. If you want, stop by my livestream (livestream.com/stencyl) and hope to catch me when I'm on (often mid-morning or late at night). Then, I can go over the game (and help you send it to me) while you watch so you can see what the issue is as I find it.

avatar for suprakirby
suprakirby

Oct. 20, 2013

Under rating threshold (show) The player doesn't appear when transitioning scenes, I don't know what I should do

+ - !

(0)

Developer response from Abigayl

Hmm, hard to say what the matter is for that one. If you upload it to StencylForge, make it public, and I'll take a look.

avatar for Curtis542
Curtis542

Aug. 16, 2013

Under rating threshold (show) I tried to change the order of my levels, but instead it still starts at what is supposed to be the second level. Any help?

+ - !

(0)

Developer response from Abigayl

In the scene part of the dashboard, you should see a star on one of your levels; that's your starting level. Make sure that is changed.

avatar for CandelariaH
CandelariaH

May. 4, 2013

Under rating threshold (show) 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.

+ - !

(0)

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". :)

avatar for CandelariaH
CandelariaH

May. 4, 2013

Under rating threshold (show) 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.

+ - !

(0)

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.

avatar for ThaiTeaIsGood
ThaiTeaIsGood

Oct. 22, 2012

Under rating threshold (show) Great tutorial! Prior to Stencyl, I used a basic program called "GameMaker". Unfortunately, not only was it limited to making very simple games, it had it's own format, so i couldn't upload it! But this is so much better, so Thanks! *****/***** Also, when do you think "Tutorial 5: Menus" will come out? ^^

+ - !

(0)

Developer response from Abigayl

I've heard of GameMaker although I've never used it myself. I'm glad it helped; thanks for the 5 stars. The fifth tutorial will be out as soon as I can... I've run into a lot of issues with it. I dunno if anyone has noticed, but I don't have any published platformer games... I'm trying to learn and then immediately make tutorials on what I have just done... and of course, as I go, I find better ways, which means I have to go back and redo the tutorial to cover the better techniques... backtracking greatly increases my time. Fortunately, the fifth is almost finished with the foundation at this point... *watches as the tutorial explodes for the upteenth time again*...

avatar for Randomwaffle23
Randomwaffle23

Oct. 18, 2012

Under rating threshold (show) I've had some programming experience before, in a language called Scratch. The coding is like Stencyl, but extremely simplified. I guess that's why these tutorials are too slow-paced for me; I've been able to figure most things out myself. I'm working on a platformer game where, instead of jumping, you flip the whole level upside-down (I use a different scene for the upside-down version).

+ - !

(0)

Developer response from Abigayl

Aye, this set has been geared more to those who have not had experience with any programming.

avatar for Xenmai
Xenmai

Oct. 11, 2012

Under rating threshold (show) These tutorials should have a rating of at least 4.25 but ok... haters gonna hate haha Thanks Abigayl for them, now I know how to easy make my own games, and it seems very simple to me because I've programmed for a while and I can perfectly understand the code. Thanks again ^^

+ - !

(0)

Developer response from Abigayl

Thanks. My first set did average over 4.0, but for whatever reason my 2.0 set has not taken off the same way even though I made it a lot more user-friendly... go figure. Thanks for your support though!

avatar for pryer89
pryer89

Sep. 28, 2012

Under rating threshold (show) hey aby i have a question for scene transition i want the player from scene a to appear in scene b, but the actor starts on the left and to get to scene b goes through the right. but when i go back form scene b to scene a i appear on the left when i want him to appear on the right

+ - !

(0)

Developer response from Abigayl

I'm a bit confused as to what the issue is. I would likely have to see the code (i.e. put it on Forge and public it). Unless you have a code in the player's "when created" that sets him to start in a certain place, you should be able to set where you want him to start in scene behaviors/events or drag him into the scene in the creation tool (make sure you aren't using both at once; that can cause issues too).

avatar for neuroticstigma
neuroticstigma

Aug. 30, 2012

Under rating threshold (show) I uploaded my demo to Stencylforge. It's named example and list my problem under the description. Thanks.

+ - !

(0)

Developer response from Abigayl

Your issue is that you said "Set x to 15" instead of "Set X-SPEED to 15" :)

avatar for neuroticstigma
neuroticstigma

Aug. 30, 2012

Under rating threshold (show) Ok, so I figured out my problem earlier with level layout, just changed the resolution and it worked. How do I upload a demo to Stencylforge for you to look at? I'm having the same problem where the enemies spawn on my head and near the door in the wall. It's like they are being spawned on the left side of the screen like the player is and they dont move.

+ - !

(0)

Developer response from Abigayl

For others who don't know how to upload (I know you figured it out), go to the top menu bar -> Publish -> Share on StencylForge ( -> Make Public -> Tell me the name).

avatar for theakumakuma
theakumakuma

Aug. 20, 2012

Under rating threshold (show) I'm super psyched about the animations tutorial. Hoping I can change whether my character looks when it's going left and right and walking? I've tried, but there's something missing, it keeps glitching/not doing it.

+ - !

(0)

Developer response from Abigayl

The tutorial covers idle, walking, and jumping animations... If you want an advanced copy, PM me your email and you can beta-test it :) (almost done now).

avatar for ciastek2e
ciastek2e

Aug. 7, 2012

Under rating threshold (show) Also when I make everything same with tutorial, the enemy spawns on my head, I can't move. Help me, please.

+ - !

(1)

Developer response from Abigayl

Can you send me a screenshot of the coding or upload the game to StencylForge? I need to see the code to answer that question.

avatar for ciastek2e
ciastek2e

Aug. 7, 2012

Under rating threshold (show) Thanks for your tutorial! It's really great, but I don't understand one thing... I know what is 'if' and 'otherwise'. Otherwise mean 'else', am I right? I don't know. I don't know what does 'otherwise if' means. I completed all 3 tutorials. Borowcy

+ - !

(1)

Developer response from Abigayl

"Otherwise if" is the equivalent of "else if". It is used to chain together "if"s in order to make sure only one of the conditions is followed, even if more are possible.

avatar for scnoobi
scnoobi

Jul. 30, 2012

Under rating threshold (show) should make it so you fall directly if u hit max y, since who hovers when they are at the top of the map:D or just make the y+ max coords a bit higher than the actual screen

+ - !

(0)

Developer response from Abigayl

Feel free to adjust the code to your liking :)

avatar for Anon20002009
Anon20002009

Jul. 29, 2012

Under rating threshold (show) Well, i seem to have a problem that if a enemy is made off screen, or a few tiles above the player, and then moves off screen, they stop. just stand there and do nothing. any ideas on this one???

+ - !

(0)

Developer response from Abigayl

You want to use "when created - Make self always active/simulate", just like we did for the player. The issue is likely that when the enemies go off screen, the programming stops functioning for them unless you tell it not to.

avatar for Directorx5397
Directorx5397

Jul. 5, 2012

Under rating threshold (show) Does it make a difference when you drag an actor to a scene instead of doing the "create actor at (0)x & (0)y"?

+ - !

(0)

Developer response from Abigayl

The only difference is in the layer that the actor might be in (depending on the order you place them in the scene), but that is true for making everything by code as well. So, in short, no real difference that I know of.

avatar for MASROS
MASROS

Jul. 1, 2012

Under rating threshold (show) it was a really good totrial i started to think i should make one too thank you abigayl

+ - !

(1)

Developer response from Abigayl

Your welcome :)

avatar for Directorx5397
Directorx5397

Jul. 1, 2012

Under rating threshold (show) Nice tutorial! One question: Is there a way for an actor to get to another region within the same scene? For example, when the actor "entered" the door, would it be possible for the scene to fade out and the actor would still be inside the scene but at a different location? Sounds a bit complicated, now that I think about it.

+ - !

(0)

Developer response from Abigayl

Yes, that's entirely possible. In fact, I am doing that in the tutorial itself! My tutorial is all one scene, which is why it flows so nicely from one scene to the next (and why I can use the slidebar on the bottom). What you are actually seeing in the game demo is the actors just fading out (or dying) and moving (or being created) between levels or when you die :P. To move the actor while in the same scene, you just set the x and y of it to the new location (found in Actor -> Position palette).

avatar for rabekid1
rabekid1

Jun. 30, 2012

Under rating threshold (show) Great set of tutorials that you have going here, can't wait for the next one! On a side note, any idea as to why I can't move the character in my game all they way to the right? I'm almost to the far wall, and I die and restart the level. Thanks in advance!

+ - !

(0)

Developer response from Abigayl

Rabe, did you accidentally swap the "y of self" for "x of self" for the death coding? That would easily explain your issue since earlier I was talking about how to check to see "if y of self > scene height" to kill you for falling down. If you accidentally put in "x of self" instead, your error would be the result.

avatar for evev3
evev3

Jun. 30, 2012

Under rating threshold (show) i changed the rating from 3.83 to 3.86 with 5 stars o.0

+ - !

(0)

Developer response from Abigayl

Thanks for the 5 :). The rating has indeed been improving :).

avatar for a_big_favor
a_big_favor

Jun. 29, 2012

Under rating threshold (show) I like the door level switching to current scene plus one. I attempted to code buttons that fetched game attributes and modified them to minimize the number of button actors I created but it failed. I would love to see more dynamic code like this in the tutorials.

+ - !

(0)

Developer response from Abigayl

I'm glad you liked it. Was worried about doing a more complicated coding. I do plan on doing more of the "real" ways of programming. :)

avatar for monsterjamp
monsterjamp

Jun. 29, 2012

Under rating threshold (show) I recently started to continue my game on Stencyl but then quit due to the lack of support from the forums. Now that I see this I might start again.

+ - !

(1)

Developer response from Abigayl

And you know that I can always be PM'd (or livestream.com/poweredbyflowers) for help ;)

avatar for sapphygamer
sapphygamer

Jun. 29, 2012

Under rating threshold (show) oh thats a shame :(

+ - !

(0)

Developer response from Abigayl

Well, gives me a bit to work on games... I do make games too :P

avatar for sapphygamer
sapphygamer

Jun. 29, 2012

Under rating threshold (show) When will next tutorial be out?(soz if Im rushing u I realy want to be good at programming and I like the tutorials )

+ - !

(0)

Developer response from Abigayl

In order to do an animation tutorial, I need help from a friend to make animations for me (I can't draw well enough), so I won't be able to start until I get them. Might take a bit.

avatar for Abigayl
Abigayl

Jun. 29, 2012

Under rating threshold (show) Thank you everyone for your ratings. If this tutorial can keep its rating up (3.80 at the time of writing this), it will be in position for third place in the weekly contest :)

+ - !

(4)

avatar for sapphygamer
sapphygamer

Jun. 29, 2012

Under rating threshold (show) Ive been experiancing a bug,my red blocks and my enemies turn into smaller red blocks

+ - !

(0)

Developer response from Abigayl

That's weird... would have to see the coding itself to figure out what is going on.

avatar for sapphygamer
sapphygamer

Jun. 29, 2012

Under rating threshold (show) Thx abi for the tutorial it helps alot,if made a small test game where I do as u say in the tutorials but Im still not ready to start a game I want to publish expesicaly with the bad animations im using

+ - !

(5)

Developer response from Abigayl

I'm hoping to cover animations in my next tutorial. I'm glad that they're helping. :)

avatar for Cyclonea
Cyclonea

Jun. 28, 2012

Under rating threshold (show) Ah, my game looks more complete now. It's running pretty well too, which is nice. This tutorial was also easier to follow, compared to the previous one. Thanks Abi.

+ - !

(5)

Developer response from Abigayl

I'm trying to balance the line between really explaining concepts and the best way of doing things as well as making it accessible. I'm glad the balance is starting to work :).

avatar for lSWATLLAMA
lSWATLLAMA

Jun. 28, 2012

Under rating threshold (show) Very nice, and explains very well how to use "Not" and some other things which have plagued me.

+ - !

(5)

Developer response from Abigayl

Glad I helped to clear things up :)

avatar for Abigayl
Abigayl

Jun. 28, 2012

Under rating threshold (show) I hope this tutorial helps out a lot of you understand the basics of enemies as well as the advanced level switching technique. Please critique (comment) if there is anything you would have preferred different. It's feedback that has helped me evolve these tutorials into be more accessible and user-friendly. Thank you.

+ - !

(5)

Developer response from Abigayl

Just FYI, you might experience a bit of lag in the game portion. Since I am doing a game inside of a tutorial, my lag is much higher than normal. You don't have to worry about lag if you make a game based on the tutorial.

  • add a comment
  • « First
  • 1 - 31
  • Last »