Recent posts by YuvalW on Kongregate

Flag Post

Topic: Game Programming / getting a movieclip inside the movie clip [AS2]

ok.. so how do I remove a cell from an array.. after I deleted the MovieClip from it the value that remains is not equal “undefined”

 
Flag Post

Topic: Game Programming / getting a movieclip inside the movie clip [AS2]

thanks..

and another question: is there a way to check if a position in an array is empty using if?

 
Flag Post

Topic: Game Programming / getting a movieclip inside the movie clip [AS2]

I have a movieClip called Enemy1, inside it I have another MovieClip called enemy1Gun with the instance name “enemy1Gun”.. how can I get the movieClip enemy1Gun from the code of Enemy1 class?

a simple this.enemy1Gun isn’t working, and I don’t have any instance name for Enemy1.

when I tested it using an instance name for Enemy1 as “enemy” the code _root.enemy.enemy1Gun worked, but I can’t use the instance name here.

thanks
-YuvalW

 
Flag Post

Topic: Game Programming / getting from point a to b

cool, thanks..

 
Flag Post

Topic: Game Programming / getting from point a to b

I need help, i try to use trigonometry to get from a fixed point to a different fixed point, but I don’t know how to calculate the angle the object should move in.. any help?

 
Flag Post

Topic: Game Programming / lost files

Ever happened to you that you lost the main as file of your game?

I just lost this file for a game I’ve been working on for a month or so and I wanted to know if to try and rewrite the main file using the other ones, writing a new version of it and then modify the others to fit to it or to just rewrite the whole game from the start..
what do you think would be the fastest and most efficient?