Search:
Type: Posts; User: adamvan101
Search:
Search took 0.04 seconds.
-
ahh yes that's what i was looking for, but i couldn't get it to work lol so i tried the other suggestion and screwed it up with || not &&. but thanks!
-
ahh yes thank you! i feel dumb now -- i was using || instead of &&
thanks again
-
i'm pretty sure there is no <is in between this number give or take 5 values> command, so how would i say:
_root.mcMain.y <is in between> this.y <plus or minus> 5
thanks for all help -- much...
-
Wow thanks a lot for all your help. you've really done a lot and i totally appreiciate it. thanks again. it works now :D
adamvan101
-
i'm sorry... my imcompetance is probably frustating you. first, the "+180" is because the character's starting rotation is 180. so i need that to turn him around. second, i tried the first thing - my...
-
sorry i went on vacation - i hope you're still there.
my character rotation setting things are
char.onMouseMove = function(){
var __x = _xmouse-this._x;
var __y = _ymouse-this._y;...
-
i dont even know exactly what it was. the best i can say is the bullet appeared in random places near the character everytime
-
i tried to do that. i had this:
setProperty(bullet, _x, char._x+L*Math.cos(angle));
and same with y but Math.sin.
L = 15, then i tried with 30. do neither worked. do the values for L seem right?
-
i definitely will read about vectors haha. thanks for a more detailed answer. one queston: my game is a birds-eye-view so its slightly different than that robot one. should 'L' be the length from the...
-
haha i'll say. i may experiment AFTER i get everything working :D
for me, as a huge AS beginner, simplicity is bliss
-
hello,
i want to get shot bullets to appear at the tip of the gun instead of the center of the body. there's a similar thread here (actually its exactly what i want) but i dont understand the...
-
i know they're useless, i was just seeing if they did anything. nope lol. so when i clean it up as you suggested... (testing it now :D)
:O
:)
thanks! it works! my gosh that was crazy eh? again,...
-
not gonna lie - i have no problem with the graphics. they could always be improved but the only change that i could think of is making the tank smaller like someone said earlier. also, before each...
-
lets see whats useful...
waitUntil = 0;
function shoot1() {
<a bunch of code, if you need some of this i can add it>
waitUntil = ((new Date()).getTime() + 333)
}
function shoot2() {
<same...
-
then i got an error
a function call on a nonfunction was attempted
from the way that sounds it seems like it doesn't know that my functions exist, but i put them above the call.
-
its not working now. i set breakpoints and debugged and it went to the call to the function but never entered the function. is there anything wrong this this line for calling the function:
...
-
ok i'll try this one out if i get some time today and post back my success level haha. thanks for sticking with me. i'll post soon
-
wont that make it so after you click you wait soso number of milliseconds, then the bullet fires?
-
ok that didn't work. let me try to explain in more detail what i'm trying to acomplish. this is a shooting game, and after you click it goes to an onMouseClick function. within that function are 10...
-
i'll try out that second approach - seems the best for what i'm trying to acomplish. thanks - i'll post how it goes
-
-
i did that. i moved the setInterval part to after the function - it still didn't work any differently
-
hey,
so i have a timer that i was trying to use to separate gunshots but it doesn't work.
if (shoot1== true){
<my code to shoot>
shoot1 = false;
setInterval(shoot1again, 800);
function...
-
your artisitc skills are very good. but as a templet goes, no. you gotta start yourself buddy. we all wanna make a game and get it sponsored but its just not that easy - if it were, there'd be none...
-
hello all,
how can i get a bullet (duplicated movieclip) to move from where it is to the x and y coordinates of the mouse when i click? so far the click duplicates the bullet and moves it to the...
|
Click Here to Expand Forum to Full Width
|