virror
267 posts
|
|
|
|
virror
267 posts
|
|
|
|
virror
267 posts
|
Topic: Game Programming /
Alternative use of "this[]", AS3
Yeah, thats true. Doh.
Ofcourse MenuBar isnt instanced…
Well thanx for the help guys : )
Hope this will be a blockbuster game : p
|
|
|
virror
267 posts
|
Topic: Game Programming /
Alternative use of "this[]", AS3
But entity[this] did not give the same error message though.
But i will make it dynamic instead, most other stuff is anyway.
Just curious if it was possible.
|
|
|
virror
267 posts
|
Topic: Game Programming /
Alternative use of "this[]", AS3
Thinking about creating them dynamic instead : p
I like having things dynamic, alot easier to change afterwards.
|
|
|
virror
267 posts
|
Topic: Game Programming /
Alternative use of "this[]", AS3
It may be dirty, but its still neat : p
But ofcourse, if i cant find a solution i will probably use an array.
|
|
|
virror
267 posts
|
Topic: Game Programming /
Alternative use of "this[]", AS3
Then i get this “1119: Access of possibly undefined property entity through a reference with static type menuBar.”
This works “menu.t1.gotoAndStop(2);”
And this do not “menu.entity[this[”t1"]].gotoAndStop(2);"
NineFiveThree: I know, but the MovieClips are already pre-placed in this case.
|
|
|
virror
267 posts
|
Topic: Game Programming /
Alternative use of "this[]", AS3
I know, thats why i want to get rid of the “this” keyword and use another method.
The thing i want is a way to do “anything.[”k" + i].gotoAndStop(something);"
Sorry for being a bit unclear. I will edit the above post to make it clearer.
|
|
|
virror
267 posts
|
Topic: Game Programming /
Alternative use of "this[]", AS3
The thing is, i can use “this” keyword in a for-loop to make for example:
for(i = 0; i < 5; i++)
{
this[“k” + i].gotoAndStop(something);
}
But if i can’t use that if i have something in front like:
for(i = 0; i < 5; i++)
{
entity.this[“k” + i].gotoAndStop(something);
}
How can i do this?
|
|
|
virror
267 posts
|
Topic: Game Programming /
Stencyl - Flash Game Creator
This looks great, signed up for the beta.
|
|
|
virror
267 posts
|
Topic: Kongregate /
The (Inter)National Greg Games - Round 4 (Fig. 8)
Woot, just below the border : (
Well not so unexpected, didnt have the time to put into this at the moment.
|
|
|
virror
267 posts
|
|
|
|
virror
267 posts
|
|
|
|
virror
267 posts
|
Topic: Kongregate /
The (Inter)National Greg Games - Round 2! (Escape the Red Giant)

Edit: Hmm, the whole picture wont show for some reason, but the green connect thing is slightly visible anyway : p
|
|
|
virror
267 posts
|
|
|
|
virror
267 posts
|
Topic: Game Programming /
AS2 Crazy Glitches with gotoAndStop...
This is one of the reasons to always put the code in .as files only.
|
|
|
virror
267 posts
|
|
|
|
virror
267 posts
|
Topic: Game Programming /
FLASH RPG PART 1 : How to make turn based battle
Check this one out: http://gregathons.com/
Need to look back a few pages, he has some good tutorials for movement and other stuff. Helped me alot.
|
|
|
virror
267 posts
|
Topic: Game Programming /
Making your own socket server
Yay, i can now connect and send data to my server both from flash and my VB client.
Progress : p
|
|
|
virror
267 posts
|
Topic: Collaborations /
Artist, Looking for a Project/Team
Awesomeness! You are too good to make flash-game art : p
To bad im not doing a project right now : /
|
|
|
virror
267 posts
|
|
|
|
virror
267 posts
|
Topic: Kongregate /
The (Inter)National Greg Games - Qualifiers! (1-ish spots left)
sellyme: I know, but its a very challanging, fun and simple game : )
|
|
|
virror
267 posts
|
Topic: Kongregate /
The (Inter)National Greg Games - Qualifiers! (1-ish spots left)
That one was a good one, have to try harder when i get home from work : p
|
|
|
virror
267 posts
|
|
|
|
virror
267 posts
|
Topic: Game Programming /
Game Development Room (GDR)
“[Syurba] should add a time to this so u know how recent the message is”
Nice feature to have.
|