Games Achievements My Kong Sign In

Comments for Stencyl Tutorial 2: Attributes, Etc.

« Back to Stencyl Tutorial 2: Attributes, Etc.

Freeza1

May. 28, 2012

Under rating threshold (show) also i did everything the same but my enemies just build up and my game gets really laggy

+ - !

(0)

Developer response from Abigayl

It would help if I could see the game itself. Did you remember to tell the enemies to kill themselves when off screen? If not, that could be the issue.

Peragon

May. 26, 2012

Under rating threshold (show) :( When I open up Actor Behaviors, I do not get the categories, like you do... Any help? Anyone?

+ - !

(1)

Developer response from Abigayl

You don't need categories. Just ignore that part. This was made with Stencyl 1.1, which is very rarely used now (although the concepts are the same). I do have the start to the 2.0 tutorial set done, which you can find here: http://www.kongregate.com/games/Abigayl/stencyl-2-0-tutorial-1-basics

xman123321

May. 22, 2012

Under rating threshold (show) what tool would you use for online multiplayer, plz help

+ - !

(0)

Developer response from Abigayl

If you are going for online multiplayer, Stencyl is not really the tool to use. You'll want to get familiar with using AS3 coding and likely have to get the Adobe official programming program (forget the name of it offhand). Online multiplayer game creation is ONLY recommended for advanced programmers (it's beyond my skill level).

neponoN

May. 05, 2012

Under rating threshold (show) Can you make a tutorial for multiplayer stencyls?

+ - !

(0)

Developer response from Abigayl

If you are looking for true multiplayer games, Stencyl is likely not the tool for you. It is designed for simpler games, and online multilplayer is much more complex. If you just mean local multiplayer, the basic idea is to split up the WASD controls to be one player and arrows to be the other (like Fire Boy & Ice Girl games).

Abigayl

Apr. 22, 2012

Under rating threshold (show) Thank you everyone! This tutorial has officially become my first "legendary" upload to Kongregate :D

+ - !

(5)

zephidel

Apr. 19, 2012

Under rating threshold (show) Hi! I just want to ask a question. When submitting statistics to kongregate, are their values different for every user or are they shared?

+ - !

(0)

Developer response from Abigayl

The scores are individual for each user but go into the same shared leaderboards... I'm not exactly sure what your question is.

Lordwh

Apr. 11, 2012

Under rating threshold (show) For some reason when I run it it dosent accept the line of code: actor.setVelocity(0, 0); Any help?

+ - !

(0)

Developer response from Abigayl

Without seeing the code itself, I cannot say what is going on.

dreeseaw

Apr. 07, 2012

Under rating threshold (show) Why is my score not going up mid-game? and then my highscore is 0?

+ - !

(0)

Developer response from Abigayl

Did you make sure to use a "do every" loop instead of "do after"? Also, are you sure the behavior is attached? If you want to, upload the game to Forge and send me a PM with the name, and I'll try to see what's going on with it.

blakopzpwn

Apr. 03, 2012

Under rating threshold (show) when i type speed and numbers for the attributes, there isnt a number box

+ - !

(-1)

Developer response from Abigayl

Screenshot? I'm not quite sure what you're asking...

DrJon73

Apr. 03, 2012

Under rating threshold (show) Again a great tutorial, just like your first, but you told me that 8-way movement was in this tutorial, but it wasn't! I feel a little lied to...

+ - !

(1)

Developer response from Abigayl

Sorry, my bad. But it is in tutorial 3 (just double-checked and it's indeed there :P).

toto506

Apr. 03, 2012

Under rating threshold (show)

+ - !

(-3)

qwertyuiopazs

Mar. 28, 2012

Under rating threshold (show) My character goes through the walls and gets stuck. how do you stop this?

+ - !

(1)

Developer response from Abigayl

That's in tutorial 5... I was trying to figure out the best, simplest way to do edge detection and nothing ended up working, so I had to show my less-elegant ways of keeping the playing in-bounds.

boxheadwinner

Mar. 16, 2012

Under rating threshold (show) Oh. I found it. Your coordinates didn't fit on my screen so I had to change them.

+ - !

(1)

Developer response from Abigayl

Aye, I use 640x480 as my default but the main default is 640 x 400 or something (forget the exact measurements)

boxheadwinner

Mar. 16, 2012

Under rating threshold (show) I did everything but score doesn't show up... is it because I deactivated Kong?

+ - !

(-2)

ManWithChicken

Mar. 16, 2012

Under rating threshold (show) It won't let me add the "_ as text" piece into the "_+_" piece, and it says there is an error when I type "Current Score" into that box, too.

+ - !

(1)

Developer response from Abigayl

Make sure you are using the [ + ] that is for TEXT not for NUMBERS (there is a big difference)

ManWithChicken

Mar. 14, 2012

Under rating threshold (show) Wait, no, it's in the Numbers and Text.

+ - !

(1)

Developer response from Abigayl

Ah, someone using the Stencyl 1.1 version... this tutorial originally had the comparison operators from the "Numbers & Text" palette, but so many were using a later version that I had to photoshop my guide to show the updates. Glad you found them though.

ManWithChicken

Mar. 14, 2012

Under rating threshold (show) With the updated StencylWorks there is no "_ < _" option. I can't do a highscore...

+ - !

(1)

Dauchim

Mar. 09, 2012

Under rating threshold (show) Keep the good work btw :)

+ - !

(1)

Developer response from Abigayl

Glad you figured out the error. Things like that will keep coming up (even I do similar mistakes sometimes), so keep a sharp lookout. ;)

Dauchim

Mar. 09, 2012

Under rating threshold (show) Its ok I fixed it, I putted the codes in when created insted of always. :S

+ - !

(0)

Dauchim

Mar. 09, 2012

Under rating threshold (show) When I press on the start button, it doesn't switch to the scene ''level'' can you help me?

+ - !

(0)

WingsofChaos

Mar. 07, 2012

Under rating threshold (show) Still learning in 2012 lol Without these tutorials I'd be sooo lost XD

+ - !

(0)

Developer response from Abigayl

Glad I could help you get found again :)

shadow999999

Mar. 03, 2012

Under rating threshold (show) when i play and the player hits the enemy the player dosen't die i put the collision coding in correct i don't get whats happening!please tell me what i might have done wrong im so confused rite now.

+ - !

(0)

Developer response from Abigayl

Two things: check your collision groups to make sure the player is hitting the enemy (can tell if you just pass right through enemies vs. bounce off). Also, check that you have attached the behaviors to the actors. If neither of those work, feel free to send me a pic of the coding and I'll see if I can find the issue.

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

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