00:00
00:00
HeroPower
Been teaching myself programming since the start of 2014. Making simple games for now but as my knowledge grows so will my projects!

Age 37, Male

Indie Game Dev

Oregon

Joined on 12/13/05

Level:
25
Exp Points:
6,770 / 6,940
Exp Rank:
6,086
Vote Power:
6.69 votes
Art Scouts
3
Rank:
Police Officer
Global Rank:
10,922
Blams:
326
Saves:
533
B/P Bonus:
10%
Whistle:
Normal
Trophies:
1
Medals:
579
Supporter:
2y 2d

And so the journey continues

Posted by HeroPower - July 29th, 2014


Making new strides in my journey to learn AS3. After many weeks of studying Arrays and Loops, I finally understand them. Well, mostly. Given all the things you can do with them, I am sure there are things I have yet to discover about them.

I also learned how to pass objects through parameters. Up until this point I vaguely understood how to get classes to communicate with one another. I was only able to call a function from another class as long as the called function didn't relate to the class calling it. Now I can pass parameters and, thus, communicate between classes regardless of the situation.

Understanding better when objects should be private over public (lots of trial and error). Have heard there is a step above that called Protected....will have to look into that eventually.

Oh...and used my first static variable haha Still not completely sure what static is for even after reading the documentation about it...

Just thought I would share this with anyone willing to read it because the past month has been a tough one as I struggled greatly to get code to work/understand it.


Comments

OOP stuff is very difficult to learn and use correctly. You may have to ask for advice from seasoned programmers on forums. You can even use the Programming forum, since OOP is the same everywhere (........almost). Though there may be a few nuances with AS3, so better stick with Flash forum.

You know.....what you said about OOP actually kind of comforts me. Makes me feel not so pathetic for struggling to learn/understand it. Thank you for that. Also, as this is my first language, I did not know that OOP is the same almost anywhere. Guess that makes it an added bonus for grinding to learn it - you know, in case I ever attempt to learn another language.