nate0109
62 posts
|
Topic: Game Programming /
Private help
Hi guys i need a bit of help over a period of time with the little problems. The one who dose this WILL receive credit and a percentage of the profit. Please post here. YOU MUST BE experienced with flash and know trig.
|
|
|
nate0109
62 posts
|
|
|
|
nate0109
62 posts
|
Topic: Collaborations /
Space Fighter Colab PROGRESS(10%)
Google windows live messenger, its a chat thing
|
|
|
nate0109
62 posts
|
Topic: Collaborations /
Space Fighter Colab PROGRESS(10%)
do yo have a msn? If not get it. BTW i whispered you
|
|
|
nate0109
62 posts
|
Topic: Collaborations /
2D/3D artist specializing in Space oriented design
My pic is a tail of a dino form dinowars. get over it
|
|
|
nate0109
62 posts
|
Topic: Collaborations /
2D/3D artist specializing in Space oriented design
Join us in the space collab and recive a % and credit
|
|
|
nate0109
62 posts
|
Topic: Collaborations /
Space Fighter Colab PROGRESS(10%)
so gry80 are you in? if so are you a artist or a coder
|
|
|
nate0109
62 posts
|
Topic: Game Programming /
Simple Q. See last post
All that does is spawn a shot in the top left corner. I wan the shot to starting at the ship and head in the same direction the ship is facing.
|
|
|
nate0109
62 posts
|
Topic: Game Programming /
Simple Q. See last post
Yeah, im using as2…oops. What would it be in as2?
|
|
|
nate0109
62 posts
|
Topic: Game Programming /
Simple Q. See last post
I might not be, whats would this be in as2? Ill replace it with that and try it.
|
|
|
nate0109
62 posts
|
Topic: Game Programming /
Simple Q. See last post
So guys, its me once agian. I got rid of the static attribute, and now this. I’m using as3, in cs4. When I try to run my code, it says that it can find bHolder in anything past the createEmptyMovieClip(“bHolder”) part, also shot is the name of my bullet. I tried many things but none work.
if(Key.isDown(Key.SPACE)){
root.createEmptyMovieClip(“bHolder”);
bHolder.rotation = this.rotation;
bHolder.x = this.x;
bHolder.y = this._y;
bHolder.attachMovie(“shot”, “shot1”, 0);
}
HERE IS MY FULL SHOT CLASS
class shot extends MovieClip
{
var speed;
var yspeed;
var xspeed;
var xps;
var yps;
function onLoad()
{
xspeed=5;
yspeed=5;
if(this._name==“shot”)
{
this._visible=false;
}
else
{
this._visible=true;
}
x=root[“Ship”]._x;
y=root[“Ship”]._y;
root[“Ship”].rotationRadian=root[“Ship”]._rotation*Math.PI/180;
xspeed=7*Math.cos(_root[“Ship”].rotationRadian);
yspeed=7*Math.sin(_root[“Ship”].rotationRadian);
}
function onEnterFrame()
{
_x=xspeed;
_y =yspeed;
if(this.x>550 || this.x<0 || this.y>400 || this.y<0)
{
this.removeMovieClip();
}
}
}
|
|
|
nate0109
62 posts
|
Topic: Collaborations /
Space Fighter Colab PROGRESS(10%)
I will AND FOR ALL of those who are wondering what my avatar is, Its the tail of a dino from dinowars.
|
|
|
nate0109
62 posts
|
Topic: Game Programming /
Static Attribute *UNSOLVED*** PLZ HELP
There is NO var and thats ALL the code I have, everything runs fine except the Key.Space part
|
|
|
nate0109
62 posts
|
Topic: Game Programming /
Static Attribute *UNSOLVED*** PLZ HELP
thats a pre made thing, its the rotation in radian AND I do try to solve this on my owe, I post things I have trouble with
|
|
|
nate0109
62 posts
|
|
|
|
nate0109
62 posts
|
Topic: Collaborations /
Space Fighter Colab PROGRESS(10%)
bump* anyprogress guys? I’m almost done fixing the shooting bug
|
|
|
nate0109
62 posts
|
|
|
|
nate0109
62 posts
|
|
|
|
nate0109
62 posts
|
Topic: Game Programming /
Static Attribute *UNSOLVED*** PLZ HELP
BUMP pzl fix its the MAJOR aspect of my game
|
|
|
nate0109
62 posts
|
|
|
|
nate0109
62 posts
|
Topic: Game Programming /
Static Attribute *UNSOLVED*** PLZ HELP
I try running it like that and it dosn’t work is there any specific version (as3, as2)?
|
|
|
nate0109
62 posts
|
|
|
|
nate0109
62 posts
|
|
|
|
nate0109
62 posts
|
Topic: Collaborations /
Space Fighter Colab PROGRESS(10%)
Any size we can always resize em in paint
|
|
|
nate0109
62 posts
|
|