Under rating threshold (hideshow)
hey when i did the first tutorial and i tested it and when the character goes outta screen it dosent die! and the enemies dont spawn help
That's because I hadn't included the out-of-bounds coding yet. I had been searching for the best way to do it, but ultimately had to just use the messier methods I know in Tutorial 5 (so check there for how to do it).
Under rating threshold (hideshow)
Ok, i managed to solve my problem by making my button a lot smaller. it works perfect now but it would still be cool if you could explain why the big button didn't work. Great tutorial btw, 5/5
Thanks for the 5. The main thing I can think of is that perhaps when you made the button smaller, you attached the click behavior to the actor, which you might not have done when it was large. Other than that, if you button was so big that parts of it went off the screen, that can cause issues too.
Under rating threshold (hideshow)
I can't get my start button to work. I created it like the other actors and placed it inside the scene, but when I press play it isn't there. what am I doing wrong?
If you could send me a screenshot of your behavior(s), that would help me figure out what the issue is (there is a camera button in the lower right to quickly screenshot the entire coding).
Under rating threshold (hideshow)
Ok after almost 1 hour of trying i got it. I used do after 0.1 sec instead of do every 0.1 secs.
Sorry and keep up the good work ;)
Aye, it's the simple things that often are the hardest to debug. Another common one is mistaking "group for this actor's colliding shape" with "group for colliding shape" or using the numerical addition instead of the text version (or vice-versa). Glad you got it solved :D
Under rating threshold (hideshow)
Hey m8. First of all thank you for this amazing tutorial.
I'm trying to follow your programs but my score isn't working as it should. If i start my score at 0 it goes to 1 and then stops there but my highscore is working good because if i change start score for 2 the highscore will go to 3 as the score stops at 3.
What exactly am i doing wrong?
Thank you
Under rating threshold (hideshow)
when I create a high score game attribute it is always set to 0 so at the colision palce, at the if place it is always false.
Under rating threshold (hideshow)
Once again this is an amazing tutorial. I'm not entirely sure how to do the Kong Api bit yet, I'm sure I'll figure it out. The tutorial was once again clear, and helped a lot. I'm looking forward to the next three. 5*'s for clarity and interactivity.
Thanks for the 5. For the Kongregate API, to get it to show up in the leaderboards, when uploading and adding the statistics, you also need to check the "add to leaderboards" and put a name in for the leaderboards. I hope to update the tutorial sometime to include this.
Under rating threshold (hideshow)
I see..so Attributes are "variables" like in Normal Coding (GM8, C++...) Though it's a heck of a lot easier to understand here. I might be able to figure out certain other things now that i've finished this tutorial.
Thanks Abi..so far these are the best tutorials i've ever used for anything. :D
Yes, attributes are like the variables in other coding languages. Thanks for your kind words... I basically made these tutorials based on what I would have liked to have seen when developing my first game... in fact the game you end up making IS basically my first game (Last Square Standing).
Under rating threshold (hideshow)
When Making The Score Drawing Thingy You Have To Drag The Score Attribute In To The CreateEnemies Behavior, But We Created The Attribute In The Controls Behavior. Do We Have To Create The Attribute In CreateEnemies Too? Because Then Theres No Data What The Value Of The Score Attribute Contains.
Please Answer
Greetz!
Game attributes (purple) are stored globally, so any behavior can open it. The issue is that when you currently have a behavior open, it won't show until you close the behavior and re-open it. Sorry, should have mentioned that detail.
Under rating threshold (hideshow)
Great tutorial as always. :) I was wondering, it keeps saying Stencyl is installed into an unwriteable directory. I have tried moving it to the folders it says but it still does this. But it doesn't seem to affect my game in any way. Do you know how to get rid of this/ how it will affect my game? 5/5
I remember others who have seen that issue. It doesn't seem to be too bad if you are running as the administrator, but you still may want to post it to the Stencyl forums to see if someone else knows more. Here's the related topic I found: http://community.stencyl.com/index.php/topic,5389.msg34778.html#msg34778
Under rating threshold (hideshow)
After completing this tutorial, when I tested my game out the main menu worked fine, but when I got to gameplay my character wouldn't move at all.
The best way for me to help is to see a screenshot. Somehow the coding probably got messed up. You can use imageshack.us or any other image site and send me the link, and I will try to figure out what is wrong.
Under rating threshold (hideshow)
I love your tutorials! Thanks to you Stencyl doesent seam as hard to understand anymore =D
Its great that youre giving the revenue to charity too, I stayed untill I had the top highscore thanks to that lol
Under rating threshold (hideshow)
Yet another great tutorial. I used this tutorial to add a start page and kong api to my own stencyl game. The only thing I would recommend would be to show that for the kong api you also have to check mark the box to have the stat show on the leaderboard. It took me a long time to figure out that was the main reason why my stats werent showing up. Thank you for another great tutorial. I read it several times today and found it extremely useful. Keep up the good work. I also like how you use stencyl to make a tutorial about stencyl. It just showcases the usefullness of the program even further.
Aye, you are correct... I should have added that extra step (and then don't forget to put down a name for it else it becomes a blank line)... if I ever get around to updating the tutorial, I will be sure to include that.
Under rating threshold (hideshow)
Please Note: Due to an update in Stencyl, the comparisons are now found in the Flow -> Conditional tab. Since my version is one that has been updated over time, it works differently with mine, so I cannot show this updated scene :(
Under rating threshold (hideshow)
a little something) in the "controls" codes may be such a thing that in "when it collides..." you must place "fade out..." in the first position. otherwise you will be immortal)) at least in my version of "stencyl"
P.S. Must i say that tutorial is great?)
Sorry, I assumed that the default was "fade out" for everyone for the first position. I'm glad to see that you are playing around with the coding though, tis the best way to learn :)
Under rating threshold (hideshow)
@Xand: Because sections are less overwhelming for beginners. Also, it's interactive and she needs to have a break than publish it all at once. Episodes fit more easily than anything.
Thank you! I have been waiting for the proper time to let users know about the shift-click (which I use many times per day :P), but I was unaware of the alt-click. Will update the description to include that (doesn't really fit in the two lines per scene). EDIT: Will be mentioning both in the upcoming tutorial :)
Under rating threshold (hideshow)
why are these tutorials in individual games. you're only clawing for 5/5 and money and less for helping people. Make these all 1 game. . . 1/5
Xand, thank you for stating WHY you rated 1/5. It gives me a chance to explain and possibly change your mind. If I was clawing for money, you would not see this in my description: "As always, 100% of revenue goes straight to charity :)". If I made all of the tutorials into one game, it would be overwhelming for beginning programmers (and be too large to put up on Kongregate). I am trying to make them to be taken in about a half hour so that programmers can get some quick self-satisfaction of seeing something done and hopefully continue on. As for me liking 5/5's, who doesn't? In fact, I humbly request that now that I have explained what is going on that you update your rating to whatever you feel it is now worth.
Under rating threshold (hideshow)
I just got done with the other tutorial and found it very informative. Please keep up the good work and one that I would like to see would be some sort of platformer tutorial. If that's too complex then maybe a key element of that.
A platformer would be further on down the road, if I do one. The reason is that there is a tutorial inside of Stencyl that shows how to make a basic platformer. If there is interest, it may well be tutorial 5 though (3 is on more complicated controls, 4 is on cursor-based shooting).
Under rating threshold (hideshow)
I've an idea for a future tutorial. Recycling Actors!
To this day, I'm sad to say that I have no idea what recycling actors does.
Under rating threshold (hideshow)
Now I want to make an avoider game! I have an idea and the physics all layed out somewhat. You just increased my workload! :D! I liked how you used correct grammar, and didn't say "off of", which would be a double preposition and is incorrect grammar. There are two things I'd like to see though. 1. How to make something persist across scenes. I''ve always had trouble with that. 2. Random spawn points/explaining random numbers. I personally have some idea of how to do that in stencyl, since I've had coding experiences dealing with random numbers, but I'm sure most people are completely lost at that point.
Wow, someone noticed my grammar! I actually was improper a few times, primarily semicolon issues, just to keep the flow better. To my knowledge there is no way to make something truly persist across multiple scenes. There are two alternatives though: One is to group many scenes together into one giant scene (this tutorial actually is comprised of only 6 actors and 1 scene) or use a game attribute to store the (x,y) of the actor and create it at that point in the next scene. I may go into RNG more in-depth later on once I get a full taste of it in one of my game ideas (which would be almost 100% based on layers of RNG code).
Under rating threshold (hideshow)
AMAZING just like your first tutorial. i hope to be a game deisgner when im older so learning stuff like this is all very helpful. :D
Thanks Kirby :). You don't have to wait until you are older to learn how to design games. You can start using Stencyl now and later go into the more complex programming tools. If you ever need help, I still run my livestream (livestream.com/poweredbyflowers), which is primarily for helping with Stencyl programming :)
Under rating threshold (hideshow)
If you want to see more Stencyl tutorials from me, going into more topics, please rate this comment up so that I know there is an interest (and let me know what you want me to cover). Thank you.