Comments for Stencyl Tutorial 3: Attributes & More

avatar for TrezeP
TrezeP

Jul. 26, 2014

Under rating threshold (show) I discover this thanks to Kongregate!! its awesome!!

+ - !

(0)

Developer response from Abigayl

I'm glad you liked it :). I also have more recent tutorials for the latest versions of Stencyl. One is a very detailed tutorial for the actual current version :).

avatar for yeagerkid
yeagerkid

Jul. 7, 2013

Under rating threshold (show) Thanks for the reply! I had to edit it again because if a person goes off the edge of the screen then their score still counts, so instead i added another "reset" thing into the scene, and this one doesn't change the highscore, so it still works even if you fall off but they can't cheat =D.

+ - !

(1)

Developer response from Abigayl

There are ways to keep the player in the screen. I go over them in part 5.

avatar for yeagerkid
yeagerkid

Jul. 7, 2013

Under rating threshold (show) I moved the 'set high score' from the 'Die' area to an 'always if' section so it will move up as the player beats it. Will this create more lag?

+ - !

(0)

Developer response from Abigayl

If you are just setting the attribute, won't be too bad. If you are also submitting to Kongregate or saving, expect lag.

avatar for kaiij05
kaiij05

Feb. 19, 2013

Under rating threshold (show) hi ok

+ - !

(-1)

Developer response from Abigayl

?

avatar for xandramas
xandramas

Aug. 22, 2012

Under rating threshold (show) works now. Not sure why but it does. I moved the coding location around. Didnt change anything.

+ - !

(0)

Developer response from Abigayl

Perhaps your "otherwise if" chain was disconnected... glad it's working now though :).

avatar for xandramas
xandramas

Aug. 22, 2012

Under rating threshold (show) having problems with left and down registering. Looked at it lots of times coding seems correct but it doesnt register. The other directions work just fine.

+ - !

(0)

avatar for Xtremebrawler
Xtremebrawler

Aug. 19, 2012

Under rating threshold (show) Hey i wanted to ask this to anyone that playes this tutorial am i the only one that stencyl wont let me place the otherwise or otherwize if blocks under if in the middle of the tutorial?

+ - !

(3)

Developer response from Abigayl

Those can be finicky, especially if you don’t know the trick. To place in an “otherwise if” below an “if” when there’s other code below it, you have two options: 1. Move the old code below out of the way, drag in the “otherwise if”, then replace the old code (always works but tedious) or 2. When you drag in the “otherwise if”, pretend you are placing it over the “if”, so that the top of the “otherwise if” just barely covers the “if” writing in the original “if” statement; there’s only a few pixels of error to make it work, but it will snap into place correctly if done right (do not ask me why this works and the “normal” idea of placing it under doesn’t… it doesn’t make sense to me either).

avatar for Nhan1234
Nhan1234

Aug. 14, 2012

Under rating threshold (show) Sorry for the triple post, but when I test the game it spawns only one enemy. I put something like this: [when Created:] Trigger event create [every 6 seconds:] trigger event create. And for the spawn enemy thing I did the exact same thing but except it says [when "create" happens:] (whole enemy spawn thing)

+ - !

(1)

Developer response from Abigayl

Hmm... that's strange. Can I see screenshots of the coding? (BTW, PM is a faster way to reach me than comments; I don't check all tutorials every day).

avatar for Nhan1234
Nhan1234

Aug. 14, 2012

Under rating threshold (show) Sorry, for double post but where is "Add event"?

+ - !

(1)

Developer response from Abigayl

"Add event" is the button you've been using to add all of the other headings so far. It's on the left side of the screen, about 1/5 to the top.

avatar for Nhan1234
Nhan1234

Aug. 14, 2012

Under rating threshold (show) How do you use "trigger event [] for all behaviors?"

+ - !

(1)

Developer response from Abigayl

That is in the Behavior palette. All you do is type in the name of the event you wish to trigger for the actor (use the same name as the receiver from Add Event -> Advanced -> Custom Event).

avatar for Herobrine1337
Herobrine1337

Jul. 26, 2012

Under rating threshold (show) Can´t wait for animations & More ^^

+ - !

(-1)

Developer response from Abigayl

I will be working on it as soon as I can... I'm hoping to have it up within 2 weeks time. I have a lot of things I am doing at once. I am curious as to why this is on the first tutorial set comments instead of the second set though :P.

avatar for doodle_man
doodle_man

Jul. 26, 2012

Under rating threshold (show) Hey me again my score doesn't work?

+ - !

(1)

Developer response from Abigayl

Are you sure you used the same name for the score code as the name for Kongregate? Also, if you want to actually "see" the score, be sure to check the "display in leaderboards" when submitting the score to Kongregate.

avatar for areibman
areibman

Jul. 12, 2012

Under rating threshold (show) Thanks so much, Abigayl! I was able to complete this tutorial and even fix some of my own errors...except one. My score doesn't change. I'm sure I skipped one of your steps, but can't seem to figure out which one. Do you have any ideas for me to try? Thanks Again!

+ - !

(0)

Developer response from Abigayl

Did you accidentally use "do after" instead of "do every"?

avatar for rabekid1
rabekid1

Jun. 17, 2012

Under rating threshold (show) I am having a few issues after finishing with the tutorial...The first is that my character is constantly moving right without any button presses, and enemies are only spawning in the original corner. It appears that I made no changes. Thanks in advance!

+ - !

(1)

Developer response from Abigayl

Make sure that the speed is 0 in the "otherwise" condition... although I think you came to the livestream so you already know that ;).

avatar for slygurlche
slygurlche

Jun. 10, 2012

Under rating threshold (show) thanks, so your names abigayl? i cant wait to see what you come up with. do you mind if im a fur? (beeen bullyed sometimes or told to "GTFO" of sites) it seems like you have the ability to make some decent games especially shooters and avoiders.

+ - !

(3)

Developer response from Abigayl

I'm not used to internet slang, so I don't know what a "fur" is, but if you want to be notified of future tutorials/games, just let me know, and I'll add you to the list. My name is actually Jania Abigail (but those were taken).

avatar for slygurlche
slygurlche

Jun. 8, 2012

Under rating threshold (show) im new to kong and wow i got a high score without doing anything, i was looking for a tutorial for kongregates basics but i feel a bit more happy and self achieved thanks to this, to whoever made this, Thanks.

+ - !

(2)

Developer response from Abigayl

Yeah, this isn't really a tutorial for how to be on Kongregate, but congrats on the high score :)

avatar for deBug121
deBug121

Jun. 1, 2012

Under rating threshold (show) Where's the Choose Control Is Down block in 2.0?

+ - !

(2)

Developer response from Abigayl

It's still there, just called "Control is Down" now. It's in the user input palette.

avatar for Photomix
Photomix

May. 17, 2012

Under rating threshold (show) Wrong tutorial. It was relative to the first tutorial. :)

+ - !

(1)

Developer response from Abigayl

?

avatar for Photomix
Photomix

May. 17, 2012

Under rating threshold (show) A difference between the first second version of the game in the tutorial is that, if the player leaves the screen, the game restarts on the second, instead of simply vanishing like on the first. I don't think you mentioned it during the tutorial or I failed to notice that part. What should I do in order to make that part? thanks

+ - !

(1)

Developer response from Abigayl

That's covered in the 5th tutorial. I was trying to come up with the best way to do it.

avatar for Photomix
Photomix

May. 17, 2012

Under rating threshold (show) Once, I made Pong using Flash. Then I was kind of demotivated to try other stuff because the collision was really hard to get right using it. But now that I've discovered stencyl and with the help of these tutorials, I guess I'll have no more excuses to delay my game designing learning and development, even though I'm using the 2.0 version , which makes it harder to find the right block, sometimes. xD Thanks a lot for your help and keep going :)

+ - !

(1)

Developer response from Abigayl

Yes, there are several differences. I'm working on the new tutorial set right now, but life is getting in the way.

avatar for DeadlockX47
DeadlockX47

May. 12, 2012

Under rating threshold (show) Where do i find the "when this hears " thing in 2.0?

+ - !

(4)

Developer response from Abigayl

Add Event - Advanced - Custom

avatar for isk8bits
isk8bits

May. 7, 2012

Under rating threshold (show) + the Joexadrez comment below so it will stay on this page it is a very helpful comment

+ - !

(0)

Developer response from Abigayl

Just +'d it myself. I'm getting to the second set asap.

avatar for billy12330
billy12330

Apr. 28, 2012

Under rating threshold (show) Developer response from Abigayl

+ - !

(1)

Developer response from Abigayl

Yes, I do respond to basically all comments.

avatar for joexadrez
joexadrez

Apr. 26, 2012

Under rating threshold (show) Hey Abi! You are doing an amazing job with this tutorials! I thank you a lot! Since the tutorial are made with a old version of Stencyl, I can't find the receiver code in Stencyl 2.0. There are other way to make a method now? Again, thanks for your help and sorry about my english, I'm a brazillian and I am just start playing around with Stencyl!!

+ - !

(7)

Developer response from Abigayl

On the left, use "Add Event", then go down to "Advanced" to "Custom Event". As soon as I finish my Mr. Goldfish Reboot, I plan on making a second tutorial set just for 2.0 :)

avatar for dreeseaw
dreeseaw

Apr. 8, 2012

Under rating threshold (show) how did you make your enemies transparent to other enemies?

+ - !

(1)

Developer response from Abigayl

In the Game Center, go to Collision Groups, and make sure the collision for your enemy group (actors, if following the tutorial) to itself is BLUE not GREEN. That will make sure they don't hit each other :)

avatar for nzjackass
nzjackass

Apr. 6, 2012

Under rating threshold (show) goddamnit! i tested to see if ctrl wasd doesnt work and i pressed ctrl w which is close window...

+ - !

(2)

Developer response from Abigayl

Aye, that's the issue right there!

avatar for jacobdeleon3000
jacobdeleon3000

Apr. 6, 2012

Under rating threshold (show) Well obviusly if your enemy touches you or you "Accidentally" bump into them, they'll tell you to die...

+ - !

(0)

Developer response from Abigayl

Dunno what this comment is referencing...

avatar for death1hand
death1hand

Apr. 3, 2012

Under rating threshold (show) after giving up on making the game i realised i was pressing shift instead of alt

+ - !

(1)

Developer response from Abigayl

I've done that too many times... or the start button instead :P

avatar for Pull45
Pull45

Mar. 16, 2012

Under rating threshold (show) Along with that I can't get any farther than the 3rd tutorial without becoming confused...

+ - !

(1)

Developer response from Abigayl

What is confusing about it? You can always get by without Alt + Drag by just making the coding anew (just takes longer).

avatar for Pull45
Pull45

Mar. 16, 2012

Under rating threshold (show) ...I think my brain hurts from the dragging part....

+ - !

(0)

avatar for Dauchim
Dauchim

Mar. 9, 2012

Under rating threshold (show) oh god thx alot, yeah it makes sense :p

+ - !

(0)

Developer response from Abigayl

:)

avatar for Dauchim
Dauchim

Mar. 9, 2012

Under rating threshold (show) Can you explain me the x-center and y-center utility pls?

+ - !

(0)

Developer response from Abigayl

x-center and y-center find the coordinates of the actor's center based on their distance to the upper left corner of the screen. Does that make sense?

avatar for Petterr
Petterr

Mar. 2, 2012

Under rating threshold (show) Thanks for help. I understood after making tutorial 5.

+ - !

(0)

Developer response from Abigayl

I'm glad you get it now :)

avatar for Petterr
Petterr

Mar. 2, 2012

Under rating threshold (show) Thanks for the tutorial. I liked it very much and it works almost completely. My problem is that my enemies collide among each other and that makes the game really hard to play... Did I miss something in the tutorials?

+ - !

(0)

Developer response from Abigayl

Petterr, go into your collision groups, click on "actor" on the right side (or whatever you are using for your enemies) and make sure the "actor" button for it is BLUE, not GREEN. What is likely going on is that you have your enemy group to hit itself instead of just lining up on top of one another. I can try to show via livestream if it doesn't make sense.

avatar for Abigayl
Abigayl

Mar. 1, 2012

Under rating threshold (show) I hope to be updating this tutorial soon with changing the old messaging coding with the new "behavior" coding. I appreciate your patience in the waiting.

+ - !

(3)

Developer response from Abigayl

UPDATE: The game now has "photoshopped" in of the current version which shows the "behavior" category instead of messaging so hopefully there will be less confusion. I only did it for the actual scenes that use it though since it's a bit of a hassle to redo each scene individually for a non-artist like me :P.

avatar for heavygearnl
heavygearnl

Feb. 27, 2012

Under rating threshold (show) there is no messaging

+ - !

(0)

Developer response from Abigayl

Messaging is now called "Behavior", and the individual codes have changed names too, but they all still work the same way.

avatar for xpedro
xpedro

Feb. 20, 2012

Under rating threshold (show) I'm Confused ._.

+ - !

(-1)

Developer response from Abigayl

What's confusing?

avatar for blabq
blabq

Feb. 13, 2012

Under rating threshold (show) I haven't done any programming on stencyl or scratch or any of these programs, but i have done some on littlebigplanet for the ps3 where the programming is slightly less complex and can be used for beginners who have that game.

+ - !

(0)

Developer response from Abigayl

Umm... I don't understand your comment. If my tutorial helped you with LBP, I'm glad...

avatar for MrOmigoodness
MrOmigoodness

Feb. 12, 2012

Under rating threshold (show) The 'Messaging' category has changed. Where can I find what I need now?

+ - !

(0)

Developer response from Abigayl

It's now called "Behavior", but all of the pieces work the same. Many of us who use Stencyl hate that change, but SW2 is almost out, which overhauls the messaging completely.

avatar for Gogosboy
Gogosboy

Feb. 11, 2012

Under rating threshold (show) Hey I made a pause screen but it doesn't stop making the enemies when I pause it, how can I stop this?

+ - !

(1)

Developer response from Abigayl

Aye, that is one of my major annoyances with the pause system too. The only way to combat it that I know of is to add a check “if >” in your time loops that create enemies.

avatar for juansrx
juansrx

Feb. 8, 2012

Under rating threshold (show) Your tutoriasl are very handy and helped me a lot to understand Stencyl, don't you have an offline version?

+ - !

(0)

Developer response from Abigayl

If desired, send me your email address, and I can send you the desired tutorial (or all 5) as an SWF file.

avatar for Gogosboy
Gogosboy

Feb. 8, 2012

Under rating threshold (show) Why do I set the enemy to go 30 up from my bottom? Sounds painful.

+ - !

(0)

Developer response from Abigayl

The bottom of the screen...

avatar for psycore
psycore

Feb. 6, 2012

Under rating threshold (show) Just wanted to thank you for your tutorials. And a quick note: I'm using StencylWorks 1.4.1 and apparently there is no messaging anymore. I don't know if that has been mentioned already. For all those people wondering: Instead of the "Messaging" Button there is now the "Behavior" button. Click it. For actors (like the player) you have to use the stuff located under "Trigger", for scenes (e.g. when spawning enemies) you have to use the stuff under "Attributes". Other than that it's pretty much the same for actors and scenes: 1. Put "Enable behavior for this actor/scene" at the top of "when created" and name it. 2. Instead of "when this hears " use "when happens". 3. Instead of ""tell this to " use "trigger event ".

+ - !

(6)

Developer response from Abigayl

Great comment. I rated it up so hopefully others see it too. I would go back through and change the pictures to match the current changes, but when SW2 comes out (which is soon), the entire system is revamped, so I will need an entire new series for it.

avatar for supposedlySweet
supposedlySweet

Feb. 5, 2012

Under rating threshold (show) Congrats on getting to the front page :D

+ - !

(2)

Developer response from Abigayl

Thanks :)

avatar for MoonBard
MoonBard

Feb. 4, 2012

Under rating threshold (show) The only fault I find with these tutorials (so far) is that there is no reminder to comment your code. I always thought that was essential when I was learning programming.

+ - !

(2)

Developer response from Abigayl

If you are making a large game, then comments indeed can help out. Personally, I always found commenting annoying (I minored in computer programming in college) since I used names that allowed me to simply remember what each behavior did. It IS essential though for collaboration projects (so that your partner quickly knows what each part does).

avatar for bambi231991
bambi231991

Jan. 27, 2012

Under rating threshold (show) let me follow the tutorial again and see if i can correct it I'll start from the beginning, i fixed it somewhat it still crashes but it waits till all the enemies are loaded i can get to about 2500 points then it crashes i'll start from tutorial one and try again

+ - !

(-2)

Developer response from Abigayl

I still have no clue what is going on... could you try on a different computer and see if it works there.

avatar for bambi231991
bambi231991

Jan. 27, 2012

Under rating threshold (show) It was in the in game tutorial

+ - !

(-1)

Developer response from Abigayl

That's strange... it's still working fine for me. Do other tutorials of mine crash too or just this one? If you can send the error message, it would be very helpful.

avatar for bambi231991
bambi231991

Jan. 26, 2012

Under rating threshold (show) Okay after the second wave comes out it seems to me they come out very very thick. and after a few seconds before the third spot has enemies, flash seems to crash it tells me An ActionScript error has occurred but it doesn't say what line and i don't understand the error, it doesn't seem to be very straight forward like java is. Any ideas?

+ - !

(-1)

Developer response from Abigayl

Is this in your own game or in the in-tutorial game? If it is your game, it would greatly help to see your scene behavior that creates the enemies as well as a screenshot of the error message (I have had to become good at decoding them due to the number of errors I get in my own games).

avatar for majicb
majicb

Jan. 19, 2012

Under rating threshold (show) Abigayl, you mentioned sticking with Photoshop to Chad. I think that's a great idea as I've had much more expierence with Photoshop and it seems a little more user friendly than Pencyl. I don't know if importing of .psd simply doesn't work or if I'm too impatient to wait it out. At any rate, you can maintain the "free space" around circular objects by saving them as GIFs and then simply opening directly with Stencyl instead of trying (waiting?) to import them as a .psd. I've noticed the "click on the image to choose its transparent color" is useless in Stencyl so Jpegs simply won't work. Might be something worth sticking in a tutorial if you plan on covering inserting images. :) My apologies if you've already covered this in a tutorial4+, 3 is as far as I've gotten so far and these are great. Three "5"s so far, keep it up!

+ - !

(0)

Developer response from Abigayl

You have some good points there... might be worthwhile for me to make a tutorial about images in the future (haven't done it yet). Thanks for the 5s! :)

avatar for srpinto
srpinto

Jan. 18, 2012

Under rating threshold (show) Hi, I just created an account to tell you that this is an incredible series of tutorials and I hope you keep doing them. Thank you very much for your work, I really appreciate it.

+ - !

(1)

Developer response from Abigayl

Thank you :)

  • add a comment