Games Achievements My Kong Sign In

Comments for Stencyl Tutorial 2: Attributes, Etc.

« Back to Stencyl Tutorial 2: Attributes, Etc.

wahid17

Mar. 03, 2012

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

+ - !

(0)

Developer response from Abigayl

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

bragdivald

Feb. 06, 2012

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

+ - !

(2)

Developer response from Abigayl

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.

bragdivald

Feb. 06, 2012

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

+ - !

(2)

ichee007

Feb. 02, 2012

Under rating threshold (show) My score is not in the game O.o how can i fix it

+ - !

(1)

Developer response from Abigayl

Can you explain a bit more what the issue is? Perhaps add screenshots of the behaviors (upload then send me the link)

MeButYou82

Jan. 30, 2012

Under rating threshold (show) Which scene do you attatch the behavior to when it loads the save?

+ - !

(1)

Developer response from Abigayl

You attach it to the opening scene, or whatever is the very first scene in your game. It's basically the first thing you need your game to do.

Levelingowners

Jan. 29, 2012

Under rating threshold (show) you are a genious abigayl, this is the best tutorial i seen so far on kong! 5/5 10/10. :)

+ - !

(2)

Developer response from Abigayl

Thanks :D

mrgoji556

Jan. 28, 2012

Under rating threshold (show) I cant get the text to show up in the game. Please help.

+ - !

(0)

Developer response from Abigayl

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

predi

Jan. 26, 2012

Under rating threshold (show) A Christian programmer writing great tutorials. Charm :-)

+ - !

(0)

Developer response from Abigayl

Uh... thanks ?

Bluetrick

Jan. 23, 2012

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

+ - !

(0)

Developer response from Abigayl

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

Bluetrick

Jan. 23, 2012

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

+ - !

(0)

luqui01

Jan. 17, 2012

Under rating threshold (show) Hey, this tutorial is very good.

+ - !

(1)

Developer response from Abigayl

Thanks :)

eteal111

Jan. 16, 2012

Under rating threshold (show) i understand how the torturial works, but my problem is when i want to make my own...

+ - !

(0)

Developer response from Abigayl

I don't understand... what is the problem?

StevenKabir

Jan. 14, 2012

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

+ - !

(0)

Developer response from Abigayl

Umm... I don't really understand... what is the question/comment?

Mossonthehat

Jan. 12, 2012

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

+ - !

(0)

Developer response from Abigayl

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.

ChazDragoon

Jan. 11, 2012

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

+ - !

(0)

Developer response from Abigayl

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

jelmerdokkum

Jan. 11, 2012

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

+ - !

(1)

Developer response from Abigayl

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.

FusionPickle

Jan. 08, 2012

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

+ - !

(1)

Developer response from Abigayl

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

Chapman2012

Jan. 07, 2012

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

+ - !

(0)

Developer response from Abigayl

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.

Chapman2012

Jan. 07, 2012

Under rating threshold (show) Attributes-Game attributes- But then there is no purple code box that says score on it. Explain please.

+ - !

(-1)

Developer response from Abigayl

You have to make game attributes. Click "create a new game attribute", make it a number attribute, and call it "Score" or whatever you want.

GreenAnt

Dec. 28, 2011

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

+ - !

(1)

Developer response from Abigayl

Congrats on the highscore! :) I'm glad to be of help to those learning Stencyl :)

jfly99

Dec. 24, 2011

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

+ - !

(2)

Developer response from Abigayl

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.

Abigayl

Dec. 16, 2011

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

+ - !

(22)

Developer response from Abigayl

I was finally able to update the tutorial with the new version's screens, so hopefully finding the conditionals will no longer be an issue :)

Shenanigans97

Dec. 11, 2011

Under rating threshold (show) THank You! this got me into stencyl allot.

+ - !

(1)

Developer response from Abigayl

:) If there is anything missing that you would like me to cover, let me know.

Halagaz

Dec. 04, 2011

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

+ - !

(2)

Developer response from Abigayl

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

GeniusSpark

Dec. 04, 2011

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

+ - !

(1)

Rob1221

Nov. 28, 2011

Under rating threshold (show) For duplicating and removing blocks you can also hold down Alt or Shift while clicking and dragging with the mouse.

+ - !

(2)

Developer response from Abigayl

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

xandramas

Nov. 28, 2011

Under rating threshold (show)

+ - !

(-6)

Developer response from Abigayl

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.

JHSpencer

Nov. 28, 2011

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

+ - !

(28)

Developer response from Abigayl

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

Abigayl

Nov. 28, 2011

Under rating threshold (show) Thank you all for your ratings. This tutorial is currently in competition for the weekly best :)

+ - !

(50)

lSWATLLAMA

Nov. 27, 2011

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

+ - !

(1)

Developer response from Abigayl

That's one that will have to wait a while... last I read about them, it was bugged, so I never recycle actors either...

lSWATLLAMA

Nov. 26, 2011

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

+ - !

(2)

Developer response from Abigayl

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

kirbyofthestars

Nov. 26, 2011

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

+ - !

(24)

Developer response from Abigayl

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

Abigayl

Nov. 26, 2011

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

+ - !

(117)

Developer response from Abigayl

Please read the updates to the current Stencyl version in the News Posts. I will be doing my best to keep it updated for all of you :).

  • add a comment
Developers Players Support YouTube TikTok X (Twitter) LinkedIn
Join the conversation Join Discord
Terms Privacy Code of Conduct
© 2024 Kongregate