logic: color
code (Black): g.setColor(Util.RGBToHex(0,0,0))
code (White): g.setColor(Util.RGBToHex(255,255,255))
first number in this code: red power
2nd number in this code: green power
3rd number in this code: blue power
how to code
Where to find
- code mode -
how to find:
step1 - add note on code - to make easy to learn code
example1: /*my game currently sucks*/
example2: /*upgrade cost increment*/
No matter how you type, anything within /**/ will not be an error or change the logic at all
WARNING:
even a slight difference is an error, I have tried
example1: correct: g.setColor(Util.RGBToHex(0,0,0));
wrong1: g.setcolor(Util.RGBToHex(0,0,0))
wrong 2: g.setColor(util.RGBToHex(0,0,0))
wrong 3: g.setColor(Util.RGBtohex(0,0,0))
oh yeah, I have forgot to tell you that for every line of code
you will need to add ";" at the end of the sentence
example: setColor(Util.RGBToHex((0,0,0));
Friday, 21 August 2015
Monday, 22 June 2015
another Stencyl problem - choosing game attributes
it randomly arranges the game attribute when chosing game attribure
but, there is a way to overcome this problem
- by naming the game atttibutes this way
skill cost - skill 1
game ach - 1st kill
skill level - skill 1
skill efects - skill 1
skill level - skill 2
game stats - score
skill cost - skill 3
game stats - score NLA
skill cost - skill 2
game stats - monster level
sklll level - skill 3
skill effects - slikk 3
skill effects - skill 2
by "spliting" names, we are able to find the name of the game attributes more easily even if arranged randomly
if you want a better Stencyl, please tell the Stencyl administrator to make a system arrangement order from 0 to 9 and a to z order when choosing game attributes to fill the behavior configuration so that we can have more game attributes
but, there is a way to overcome this problem
- by naming the game atttibutes this way
skill cost - skill 1
game ach - 1st kill
skill level - skill 1
skill efects - skill 1
skill level - skill 2
game stats - score
skill cost - skill 3
game stats - score NLA
skill cost - skill 2
game stats - monster level
sklll level - skill 3
skill effects - slikk 3
skill effects - skill 2
by "spliting" names, we are able to find the name of the game attributes more easily even if arranged randomly
if you want a better Stencyl, please tell the Stencyl administrator to make a system arrangement order from 0 to 9 and a to z order when choosing game attributes to fill the behavior configuration so that we can have more game attributes
Tuesday, 14 April 2015
Stencyl-nator: random wander with Stencyl
Stencyl-nator: random wander with Stencyl: this behavior leads an actor to wander randomly if it does not work. one should: - make sure that the speed blank is filled or being set...
Subscribe to:
Comments (Atom)


