Recent posts by Fribox on Kongregate

Subscribe to Recent posts by Fribox on Kongregate

avatar for Fribox Fribox 5 posts
Flag Post

Topic: Game Programming / AS2 aiming + shooting?

thanks for the reply, but i only know basics of trig.
and im a noob at AS but im learning. so could you explain a bit better.

 
avatar for Fribox Fribox 5 posts
Flag Post

Topic: Game Programming / AS2 aiming + shooting?

thanks a bunch im trying it out now
thanks but did not work this be for AS2 mright?

what i did
on my main character i used
on(mouseDown){
root.attachMovie(“Bullet”, "Bullet"+root.getNextHighestDepth(), _root,getNextHighestDepth);
}

end

do i need a bulletspeed var, because using this script it would come from the barrel of my gun

 
avatar for Fribox Fribox 5 posts
Flag Post

Topic: Game Programming / AS2 aiming + shooting?

i was hoping for some actual code and explination.
thanks anyway.

 
avatar for Fribox Fribox 5 posts
Flag Post

Topic: Game Programming / AS2 aiming + shooting?

As im not really familiar with action script in the least bit.
so i was wondering if someone gave me a small explanation of the code used for a game kinda like this http://jonathanchisholm.co.uk/Halo.html

i just wanna know how to aim like that, shoot some bullets, and pick up that weapon.

 
avatar for Fribox Fribox 5 posts
Flag Post

Topic: Game Programming / bullets and AI

Im wondering how to make bullets come from the barrel of my gun i made.
AS2
Im also wondering if i can get some help making basic ai for my games bad guys.
im kinda a noob at AS so thanks to anyone that helps.
i got movement and aiming down