You have to save it as a PNG (in Paint.NET), which means you will have to "flatten" the image if you used multiple layers (I often also save the PDN file in case I want to make changes later).
Under rating threshold (hideshow)
Great tutorial. I don't really understand why you can double-jump without that second -set jump? to false- script though(page 44).
Actually, looking back over it, it's the first one that's actually not needed. The issue is that collision codes happen AFTER the "always" code, so the first setting to false is actually doing nothing as the actor is still hitting the platform during that frame (so the collision code will reset it to true, which is what allows for the double-jumping).
Under rating threshold (hideshow)
My wall jumping seems to launch me rapidly into the air. Also I don't really want wall jumps - any tips for making wall jumps not possible? Thanks for the tutorial, I uprated it :)
A better version of wall jumps is the basis for part 2 of the series (links in the "Updates" section). I also have a simple platformer demo in the games section of the StencylForge if you prefer that instead. :)
I'm making a 3.0 tutorial right now. I'm hoping to finish it in about a week's time. It will have the code to keep the player in-bounds from left-right (which you can then mimic for top-bottom by using y and height instead). I have the current version in this thread: http://community.stencyl.com/index.php/topic,29931.0.html
No actual tutorials (2.0 and 3.0 are almost identical on the user's side). I do have many, many "Demo-" games in the StencylForge that are fully commented if you want to see some other concepts (it's much faster to do those than to do a tutorial series).
If you upload your game to the StencylForge, make it public, and tell me the name of it, I'll take a look at it for you. From what you wrote, my best guess is that you used a "set x to" instead of "set x-speed to" or something similar.
Under rating threshold (hideshow)
This is really great. I like how much it simplifies the coding process although I don't plan on making any games, I just did this for a fun little challenge. One problem: for some reason when I open my game, I can't see the whole screen (I see the head of my stickman and everything else works fine). :(
I'm glad you like it. I don't really understand the error though. If you want to, upload the game to StencylForge, make it public, and let me know the name of it, and I'll take a look at it for you.
Under rating threshold (hideshow)
Would just like to say I'm impressed by the fact that, even now, over a year after you published this that you are still replying to comments. Kudos to you, and thank you for all the awesome tutorials you've published - they really help.
Are the actors colliding? Check the collision groups and make sure the button is green for them. Also, if you did the coding as a behavior, be sure to attach it to the actor.
Under rating threshold (hideshow)
Do you plan to make any other Stencyl Tutorials in the future? because I have some suggestions:
1. Role Play Game Tutorials
2. Free-Running Game Tutorial (like Canabalt or Bit Trip Runner)
3. Top Down Game Tutorials (Of any kind, really)
These are games I want to make, but i don't know how. Any ideas?
Did I just reply to you on the Stencyl forums too? Anyways, I have made a lot more things like tutorials... only now they are "Demo-"s in the StencylForge (search for "Demo-" in the games area of the forge). I've done one part of an RPG tutorial there (didn't seem to be a ton of interest for further ones). I have several free-running games, some scrolling vertically, some horizontally, and a few infinite in all directions. As for the top-down, that sounds a lot like my first tutorial series (check out the "Updates" section or my page for links to all of my real tutorials).
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 :).
Under rating threshold (hideshow)
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. :/
Under rating threshold (hideshow)
Excellent tutorial! When I created my scene and set it to 640x480 it set the tile grid to 20x12. I set it to 20x15 but only 12 are visible when I test my game.
Are you sure you did 640x480 and not 640x384? The 384 is the default. If that is the case, then your extra 3 tiles aren't showing since they are off screen (still there just not visible).
Under rating threshold (hideshow)
Encountered a bit of a problem: when I put in my level exit, it resets the level every half-second or so, regardless of whether I've reached the exit or not. D:
Check your coding for the level exit (and any collision codings for it). Make sure it only changes scenes when the player hits it. If you want, upload it to StencylForge (and let me know) and I'll try taking a look at it for you directly.
Under rating threshold (hideshow)
Can ya help me out a bit? When I set the "Actor motion" speed (step 14), it registers to Actor instead of Self like in you guide.
Is this a problem, or can it be overlooked?
Under rating threshold (hideshow)
My 7 yo son wants to be a game designer and has some ideas he wants to put into game form. This tute series will help me help him take his first steps. Thanks very much! My Fortran and Cobol coding skills aren't that much use in game construction. :)
You're welcome :). Don't count out your other programming knowledge though. Use it to understand the logic behind the blocks in Stencyl. That's what I did ;).
Collision Groups are in the Settings button at the top of Stencyl. You can find changes to the current Stencyl version in the "News" section... I hate how that section is now hidden :(
Under rating threshold (hideshow)
Howdid I notsee this when Iwaslooking at your first series? I guess that was a while ago, though. Awesome tutorials, BTW.
Thanks. These indeed did come later; they were doubly harder than the first set to make: 1. I had very little experience making platformers before this set (only made one small, buggy maze platformer that wasn't even released) and 2. This series uses a lot of generic programming techniques that are trickier to use (and thus explain), but once understood, help immensely in programming larger games.
Under rating threshold (hideshow)
Another good one. I missed something though, my player keeps falling through my tile, and I'm not sure if it is the programming or the frame I'm using. Was a fun afternoon of your tutorials though.
For some reason, sometimes when people create tiles, they default to no collision. Head into your tile set and click on each tile to make sure they have a square (or similar) collision.
Under rating threshold (hideshow)
TIP: Whenever you add the music Abigayl, you should add a mute button for those who don't want to listen to the music are satisfied.
Weird... are you saying you created a game but can't find it anymore? With 2.x, the saving is automatic, so that would be a rather unique issue. Check your games folder (Top Menu Bar -> Debug -> View Games Folder) and see if it is there.
Under rating threshold (hideshow)
Please let me know if you ever see a bug, typo, etc. in any of my tutorials. This tutorial has been out for months and I just now learned of (and fixed) a graphical error on slide 34. Thanks.
I will try to add that as a note. It was a change in the most recent version (before then, Stencyl assumed that it was a square collision). EDIT: added.
When you upload the tiles, click on each tile and be sure that the collision for that tile is set to a square. It is likely set to no collision right now. EDIT: added to notes.
Under rating threshold (hideshow)
Thank you for making these tutorials! I just discovered Stencyl and this is definitely a quick and painless way to learn the basics!
Paint.NET, same as the player (there's a link for it on slide 5, hold Ctrl + click on the blue text). It's a great free tool if you use Windows. If you run a Mac, GIMP is decent too.
Under rating threshold (hideshow)
Just as a heads up: The scrollbar menu no longer keeps a change if the mouse leaves the focus. Hope it helps :) (learned how to do it when doing tutorial 2)
Under rating threshold (hideshow)
I'm not sure if you're looking for tips on what to include in this tutorial but I would like to see how to set up some coding to switch between multiple characters I tried using Boolean game attributes to set up the character switching but I don't think that was the right approach.
You do know about my livestream, right? (livestream.com/poweredbyflowers) It's the best way to reach me with questions. One piece of advice I can offer is to make number attributes instead of booleans unless you know for sure there's only going to be two options (i.e. a mute button). With numbers, you can let 0 be false, 1 be true, but it allows you to expand to more options if desired. For a character selection menu then, use a number game attribute, and set it based on what character the user picks. Then, in the game, create the player based on what number was picked.
Under rating threshold (hideshow)
for some reason my actor likes to float 3 or 4 pixels above the tile he stands on any ideas why that would happen? and I agree with the comment I saw on one of your other tutorials you really should make a tutorial on how to rate 5/5
Check your image/collision detection. Chances are one of those will have 3 or 4 pixel lines of blank space on the bottom that Stencyl is picking up on. Thanks for the support... I'm almost tempted to make that tutorial just for fun :D
Aye, there's a lot of quick mistakes possible in programming. It's very similar to math in that missing one small detail can screw up all of your calculations. I'm glad you figured it out :).
Under rating threshold (hideshow)
Could someone help me? When I press right, he doesn't move and disappears when I press left. He does reappear when I press right. So fat, I can only make him jump/double jump :(
(BTW, if you ever run into issues again, can reach me via livestream (livestream.com/poweredbyflowers). If I am on, I'm on there. If I'm not on, there's often some other Stencyl programmer who might be able to help.)
Under rating threshold (hideshow)
How to fix this? When I hold the left or right key, he just go a bit and stop moving, when I release the key, he come back to the starting x point.
To make a basic cutscene is making characters that do their own thing (AI). To import a cutscene... well the Stencyl forums have some help there, just search the topic to find a whole list of posts on it.