Be a Supporter!
Response to: generating random numbers Posted July 4th, 2008 in Game Development

wouldn't you just do this? (x is between 30 and 1)
x=Math.random()*30
//and if you want an integer
Math.round(x)

Response to: tons of symbol lag problem Posted July 4th, 2008 in Game Development

if they are just copied for the background, like trees, then convert the to graphic so the iteractivity will be lost and the computer doesn't have to check the position every frame.
-Kylelyk

Response to: Help me with Pivot Posted July 4th, 2008 in Game Development

There are tuts for pivot here.
-Kylelyk

Response to: ActionScripter Needed Posted July 4th, 2008 in Game Development

Thats the thing, I just got my Flash 8 a few weeks ago and I am having trouble with varibles so I don't have any work so far finished. I'm not an artist so I can't do a good game by myself. You don't have to accept me if you don't think I cut it. Here's a list of what I know:
if, else if, else
onClipevent()
on()
while()
for()
swapDepth()
removeClip
Math.random()
Math.round()
varibles (but some aren't working)
duplicateMovieClip
arrrays(basic understanding)
do
functions
I think there are a few more but I can't find them in my pages of notes I keep for reference.
-Kylelyk

Response to: ActionScripter Needed Posted July 3rd, 2008 in Game Development

I'm kinda interested. I know basic actionscript and I am getting better everyday. I have a msn account and Flash 8.
-Kylelyk

Response to: shooting game Posted July 3rd, 2008 in Game Development

Sorry about that, I don't know how to script it.

shooting game Posted July 3rd, 2008 in Game Development

I want to make a carnival like shooting game that puts out the ducks across the screen randomly.
I am thinking of doing math.random and math.round. Also, when the random number is like 20, a duck will be created and go across to screen.
I will do points later on.

Response to: text boxes Posted July 3rd, 2008 in Game Development

At 7/3/08 03:30 PM, RiftMaster wrote: create a normal text box then choose "Dynamic Text" in the drop-down.
then enter the name of the variable in the variable field.

Thanks

text boxes Posted July 3rd, 2008 in Game Development

I don't understand how to create dynamic text boxes. I have a varible that I want to see during the game.

Response to: how to remove a movie clip Posted July 2nd, 2008 in Game Development

So now I want the movie clip to relocate every time I click on him. It does this for 6 times(the points varible) and then it should go to the 8th frame and stop. It is only relocating every time I click on it and after six times, it still doesn't go on to the 8th frame. I also have a dynamic text box that is set to track the "points" varible. It isn't doing this though, most likely because the script isn't going al the way to the points varible, it breaks before that.

onClipEvent(load){
points=0
}
on(press) {
p=Math.random()*(550-1)+1;
Math.round(p);
q=Math.random()*(400-1)+1;
Math.round(q);
this._x=p;
this._y=q;
points+=1
}
onClipEvent(enterFrame){
if(points==6){
gotoAndStop(8)
}
}

Response to: how to remove a movie clip Posted July 2nd, 2008 in Game Development

Thanks so much it works. What is depth by the way?
-Kylelyk

how to remove a movie clip Posted July 2nd, 2008 in Game Development

So i want a movie clip to be removed from the screen when I click on it. I enter in
on(press){
this.removeMovieClip
}
inside the actions panel in the main timeline for the movie clip.
Why isn't this working?

Response to: Shortest game ever? Posted June 6th, 2008 in Video Games

Very few levels means either one of these two things about the game. One; the levels are long and take up so much space that there is not a whole lot of room for more levels, or two; the author is really lazy or just doesn't want to do a whole lot of levels.