Comments for Stencyl Tutorial 2: Attributes, Etc.

avatar for Abigayl
Abigayl

Nov. 28, 2011

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

+ - !

(48)

avatar for Abigayl
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.

+ - !

(112)

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

avatar for JHSpencer
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.

+ - !

(27)

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

avatar for kirbyofthestars
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

+ - !

(23)

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

avatar for Abigayl
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 :(

+ - !

(21)

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

avatar for Abigayl
Abigayl

Apr. 22, 2012

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

+ - !

(5)

avatar for wizard10254
wizard10254

Aug. 16, 2012

Under rating threshold (show) wow, i haven't even played the game yet and i already want to rate it 5/5... the comments box is amazing, the developer has replied to all the questions/queries i find that amazing so before i even play i'm rating it 5! Determined developers are very rare now days keep it up!!! :)

+ - !

(2)

Developer response from Abigayl

Thanks, I do my best. It takes manually going through my games/tutorials. I really wish there was a way to get PM'd whenever someone made a comment... would make my life so much easier (especially since I have 19 programs... soon to be even more).

avatar for bragdivald
bragdivald

Feb. 6, 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.

avatar for bragdivald
bragdivald

Feb. 6, 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)

avatar for Levelingowners
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

avatar for jfly99
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.

avatar for Halagaz
Halagaz

Dec. 4, 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 :)

avatar for Rob1221
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 :)

avatar for Varionso
Varionso

Dec. 25, 2012

Under rating threshold (show) These are actually quite informative. I've dabbled in quite a few game developing utilities (i.e. game maker, Unity, etc.), and found this...along with your tutorials, the easiest to grasp. Later on down the road, I'm hoping it'll lead to bigger and better ventures. All this thanks to you. :)

+ - !

(1)

Developer response from Abigayl

I'm glad it helped you to get your start :). Best of luck to you!

avatar for LordPie99
LordPie99

Sep. 7, 2012

Under rating threshold (show) OH nevermind, should look around before asking :p

+ - !

(1)

Developer response from Abigayl

Glad you found it ;). Yeah, it's in a different place than the rest :P.

avatar for deBug121
deBug121

May. 30, 2012

Under rating threshold (show) My Hero doesn't die when it touches the enemies. Here's the coding: http://i1112.photobucket.com/albums/k489/breakawall/stencylcode.png

+ - !

(1)

Developer response from Abigayl

Switch the group for colliding shape to actor 2 instead of actor 1 and it should work :)

avatar for Peragon
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

avatar for DrJon73
DrJon73

Apr. 3, 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).

avatar for qwertyuiopazs
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.

avatar for boxheadwinner
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)

avatar for ManWithChicken
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)

avatar for ManWithChicken
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.

avatar for ManWithChicken
ManWithChicken

Mar. 14, 2012

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

+ - !

(1)

avatar for Pull45
Pull45

Mar. 10, 2012

Under rating threshold (show) Score codes are all activated, dying never takes effect, it just lags the game terribly, help...

+ - !

(1)

Developer response from Abigayl

I have lags in all of my games too... I am trying to avoid that this time around (almost done with my next game) by staggering the time between saving and submitting the score... I'm thinking it's the doing both at once that is causing the additional lag. The lag should only be in the end though, not throughout... still working on figuring that out.

avatar for Pull45
Pull45

Mar. 10, 2012

Under rating threshold (show) EDIT : I got the title screen working, the score coding didn't show up.

+ - !

(1)

avatar for Pull45
Pull45

Mar. 10, 2012

Under rating threshold (show) I exported the swf for this but it still brought me back to the first scene from the 1st tutorial I made. Help D=

+ - !

(1)

avatar for Dauchim
Dauchim

Mar. 9, 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. ;)

avatar for Gogosboy
Gogosboy

Feb. 8, 2012

Under rating threshold (show) Hey ichee007, once again (;)) we have had the same problem. I found out that because I had my game set to a small screen, the score did not appear. All you have to do is go to where you set the X and Y angles for the score and highscore, and lessen both the X's. Hope it works.

+ - !

(1)

Developer response from Abigayl

You had to lessen the X's, not Y's? Seems the defaults have changed quite a bit... Glad you got it figured out though.

avatar for Gogosboy
Gogosboy

Feb. 8, 2012

Under rating threshold (show) ichee007 I had the same problem. In the end I realised that I had forgotten to attach it to a scene, try that.

+ - !

(1)

Developer response from Abigayl

Ah yes, that might be the issue as well... forgetting to attach is one of the #1 quick mistakes when programming in Stencyl. SW2 will help in that area once it comes out.

avatar for ichee007
ichee007

Feb. 2, 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)

avatar for MeButYou82
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.

avatar for luqui01
luqui01

Jan. 17, 2012

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

+ - !

(1)

Developer response from Abigayl

Thanks :)

avatar for jelmerdokkum
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.

avatar for FusionPickle
FusionPickle

Jan. 8, 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

avatar for GreenAnt
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 :)

avatar for wefatandfat
wefatandfat

Dec. 13, 2012

Under rating threshold (show) how do u upload a game'

+ - !

(1)

Developer response from Abigayl

You first publish it to flash. Then, go to the site that you want to upload it, and find the upload area, and import the file there. (On Kongregate, there is a link at the bottom of the page for developers/uploading a game.)

avatar for Shenanigans97
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.

avatar for GeniusSpark
GeniusSpark

Dec. 4, 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)

avatar for lSWATLLAMA
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).

avatar for lSWATLLAMA
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...

avatar for Toope00
Toope00

Nov. 29, 2012

Under rating threshold (show) I can't find the drawing thing, somebody please help me.

+ - !

(0)

Developer response from Abigayl

You have to Click "Add Event", then go into "Basics" to find it. See the "Extra Information" section in the news posts. :)

avatar for MichaelL214
MichaelL214

May. 31, 2012

Under rating threshold (show) The Toutorial is hard how do u skip it

+ - !

(0)

Developer response from Abigayl

Care to explain what was hard about it via PM?

avatar for dreeseaw
dreeseaw

Apr. 7, 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.

avatar for RakshithaP
RakshithaP

Jul. 2, 2014

Under rating threshold (show) how to download them really they rae good i dont have net in home so need to download and watch in home.. thanq.. really awesome..

+ - !

(0)

Developer response from Abigayl

Unfortunately, there is no way to download them. I think there are ways to have a cached copy of the page for offline purposes, but I do not know how off the top of my head.

avatar for Max__Spammer
Max__Spammer

Apr. 7, 2013

Under rating threshold (show) Umm . . . maybe its just my version but when i press attributes and type speed then choose number and press ok, it just showing up as this http://prntscr.com/znz11

+ - !

(0)

Developer response from Abigayl

Yes... what's the problem? That's a getter (you can drag it in to use it wherever you need a number). If you want to set it, change to the setters option.

avatar for fawful8899
fawful8899

Dec. 13, 2012

Under rating threshold (show) quite good

+ - !

(0)

Developer response from Abigayl

Thanks

avatar for workforgames
workforgames

Oct. 30, 2012

Under rating threshold (show) this is great i think im getting a hang of it all =)

+ - !

(0)

Developer response from Abigayl

Good :). I'm happy it helped

avatar for sthreet300
sthreet300

Oct. 12, 2012

Under rating threshold (show) after adding speed and adding how it is set my ship willnot move with arrow keys... ...acts like speed is 0... ...and gets really laggy...

+ - !

(0)

Developer response from Abigayl

I would have to see your code to know what happened.

avatar for juillardl
juillardl

Aug. 24, 2012

Under rating threshold (show) How old are you? If I may ask.

+ - !

(0)

Developer response from Abigayl

23. Why?

avatar for xandramas
xandramas

Aug. 21, 2012

Under rating threshold (show) Nevermind, figured it out. My game screen was smaller than 440. 340 made it fit

+ - !

(0)

Developer response from Abigayl

Glad you figured it out :). Default is 384 for height (although I personally thing the 3:2 ration looks a lot better).

  • add a comment