Programming with ActionScript 3 - Lesson 7 - Text Fields
Uploader Comments (PointClickWin)
All Comments (12)
-
@bioskok The setup looks ok, maybe the code isn't the problem? Is there something covering your guy to stop you clicking him?
-
theGuy.addEventListener(MouseE
vent.CLICK, killGuy) function killGuy(m:MouseEvent){ theGuy.play(); theGun.play();
}
the ''theGuy and theGun'' names are the instance names I tried with my layer names aswell but that didn't work either :/?
-
@bioskok If you use code similar to this tutorial series that only makes the man play when you click on him it should work. Something like: man1.addEventListener(MouseEve
nt.CLICK, killMan1); function killMan1(m:MouseEvent) { gun.play(); man1.play(); } man2.addEventListener(MouseEve nt.CLICK, killMan2); function killMan2(m:MouseEvent) { gun.play(); man2.play(); } -
Just finished watching your intro's they are very helpful and I'm not even English:D but is there any way we could make you make some more so we can get even better ;)?
I was wondering how can i update the textfields to show calculated stats when i upgrade main skills in my game. 18 boxes should change when the 3 change-able main skills are modified in-game.
And by the way.. nice straightforward tutorials, keep up to good work
godziothc 3 months ago
@godziothc It's certainly possible but not easy to explain how without really knowing what you're doing. You might figure it all out as you make your way through my newer series though! :)
PointClickWin 3 months ago
I am young for programming put i would like to learn how. I'm 13 and i was wondering if you would have any suggestions for programming classes
wrestleralltheway 8 months ago
@wrestleralltheway I don't know much about the American school system really but there will no doubt be college courses on programming. Your best bet is asking them what they suggest you do to prepare for studying with them. I don't know a lot of rookie-friendly tutorial sites really, most seem to assume you have some understanding of programming, which is why I set this tutorial series up. Watch this entire series if you haven't already and I've got a larger one coming soon(ish)
PointClickWin 8 months ago