Games Achievements My Kong Sign In

Comments for Stencyl Tutorial 2: Attributes, Etc.

« Back to Stencyl Tutorial 2: Attributes, Etc.

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.

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

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)

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

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.

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.

LordPie99

Sep. 07, 2012

Under rating threshold (show) how do you choose the shift key in "if Shift is down" bar. it only lets me choose up,down,left,right,enter and action1 and action2?

+ - !

(-1)

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

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.

mr0crilo

Dec. 25, 2015

Under rating threshold (show) rolaaaaaaaaaa

+ - !

(-2)

boxheadwinner

Mar. 16, 2012

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

+ - !

(-2)

toto506

Apr. 03, 2012

Under rating threshold (show)

+ - !

(-3)

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