The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.39 / 5.00 38,635 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 15,161 Viewsif (Key.isDown(49.)){
first thing i would do would be to remove that period beside the 49
you gotta have more code then that, i dont see any errors
i was just doing this for boss movement in my game, what i did was make a counter, increment that counter one per frame, and have an array holding a target x and y location, when the counter is 1 it goes to the first set of coordinates, when it gets there the counter goes up and it goes to the next set.
kinda neat hope to see this one finished.
i like that car it looks pretty cool
i would make him respawn at a different codinate
oh and it would be cool if you could do spin outs heh, that challengeing enough yet?
i have no idea, but does it matter? cuz when a car drives around like that it just looks weird and not real at all. unless it was on like sand or something and it was rear wheel drive.
funciton cleanup(){
function cleanup(){
delete this.onEnterFrame;
gotoAndStop(2);
}
}
why is that function inside a function with the same name, seems like that cant possibly be right
ive done that exact thing on numerous platforms with more of an ephisis on the simulation aspect, its cool to create something that takes over its own creation at a certain point heh,
i have built huge programs that learn to adapt (without much success lol), mostly due to a need for much much more computer power, also experimented with simulated nuerons, which was kinda cool. all i can say is play around with it, as long as its fun, you never know what you will end up with.
it looks like the front tires are always slideing around, which is weird
heh well modeling alot of organic shapes like the human body isnt exactly basic the way i see it, there are definatly some tutorials out there for lightwave ive seen, i cant help you out on a link though,
take a peice of cardboard, cut it into the shape of an arrow, and spin it like that.
basically just gets shorter from that view, until it flips then it gets longer, and by longer i mean up and down length.
this._x = (whatever your starting x was);
that changes your _x property, as for the _y ill let you figure that out.
its looking cooler everytime i see it, cant wait to see what you improove next. every once and a while i get a wall pop into view out of nowhere for a frame or so.
any math at all will help you out alot, but the higher the level the better.
if you just want to learn to program games though you might want to start with something thats free.
generate a random number between 1 and 3 and then use if statements.
no its got some problems, plus i wouldnt know where to start, im sure theres lots of tutorials out there, im sure ive glanced over them before. but thanks, I did a bf-109 too heh, good practice.
ok cool, so what you want to do is redo the collision with the ground, but do it where your doing your movement.
check BEFORE the move to see if it will be hitting the ground, if it is, dont move the MC, just change its value to where it will be sitting on the ground.
this is a wayyy better way of doing it since you wont be adding then subtracting for your MCs y value, thats how its getting messed up.
did you copy and paste the codes?
im sorry your its your vel_y variable...
sorry for the dp
well to start one bug i saw right off the bat would be with your term_y variable. it could only possibly be assigned a value of 0 and you have a codition that uses it, Im sure that cant be right.
i got stuck on the corner of a wall, couldnt move
A quaint robot decorating a cake in the basement.
you really need to learn the basics before trying anything, copying and pasting wont give you a game, it just doesnt work. youll accually have to take the time to learn something if you want to accomplish anything, thats just the hard truth. sorry
i guess its possible to have an error in flash but that seems unlikely, is this something that keeps happening or a one time deal?
At 2/1/09 09:57 AM, FishyDishy wrote: Oh...w8 i dunno how to use the sprite sheet :/
is this a joke??
and honestly i wouldnt be suprised if someone accually would help you with all that if you took some inititive and started learning something
//xVel = mag * Math.cos(currentDirection - collisionAngle)
/yVel = mag * Math.sin(currentDirection - collisionAngle)
isnt it the reverse? sin on top cos on the bottom?