Monster Racer Rush
Select between 5 monster racers, upgrade your monster skill and win the competition!
4.18 / 5.00 3,534 ViewsBuild and Base
Build most powerful forces, unleash hordes of monster and control your soldiers!
3.80 / 5.00 4,200 ViewsI have a character with 3 labeled frames of stand, walk and jump. This script works fine apart from that the jump frame does not play when I press UP and I have no idea why not.
onClipEvent(load){
var ground: MovieClip = _root.ground
var grav: Number = 0
var gravity: Number = 2
var speed: Number = 5
var maxJump: Number = -18
var touchingGround: Boolean = false
var scale: Number = _xscale
var Left: Boolean = true
}
onClipEvent(enterFrame){
_y += grav
grav += gravity
while (ground.hitTest(_x, _y, true)){
_y -= gravity
grav = 0
}
if (ground.hitTest(_x, _y+5, true)){
touchingGround = true
} else {
touchingGround = false
}
if (Key.isDown(Key.LEFT)){
_x -= speed
_xscale = +scale
gotoAndStop("walk")
} else if (Key.isDown(Key.RIGHT)){
_x += speed
_xscale = -scale
gotoAndStop("walk")
} else {
gotoAndStop("stand")
}
if (Key.isDown(Key.UP) && touchingGround){
grav = maxJump
gotoAndStop("jump")
}
}
Thanks for your help :D
Also, this script is much dervied from the Ultra Platformer Tutorial, so much thanks to the authors :D
it depends if you can draw :/
ok, but kinda short :\
didn't like the new style so much
Any parts left?
I'll make a demo thing tomorrows maybe-z
hey guyz can i joinn>?
jks
tbh there's not much to know...
At 8/28/09 04:00 AM, Punisher33 wrote: i could do that to! But what about the sound effects where can i get those from?
You should try this thing called Google. It's kinda new-fangled but I'm sure you can get to grips with it.
Pretty cool :)
Work on some good enemies + you might want to add jump.
I'd assume it would be something like
If current rotation is more than 180 larger from goal
rotate right
If current rotation is more than 180 smaller from goal
rotate left
Don't know how you'd code it though :\
How much memory does your computer have?
this is nothing to do with flash
tbh the game could be a lot worse :)
OMG happy birthdays
make a birthday game
No offence, but I'd make sure you knew all the fundamentals before animating/buying Flash * Professional :)
'Cos otherwise people could just make games with loads of easy medals etc.
If you're going to use actual madness sprites having an artist is pointless
Mainly cos I learnt it in illustrator so I'm not used to it in Flash
Bear in mind that Illustrator is primarily for making vector graphics, which you could make more easily in Flash. I do prefer the pen tool in Illustrator more whereas in Flash I don't use it.
Looks pretty cool but I dunno what's up with the quality... remember animation is probably more important to get done first :)
I'd recommend Emanuele Feronato's flash tutorial (among other things) website.
There is a property "rotation" so (in AS2) you could have:
if (Key.isDown(Key.LEFT) {
movieclip.rotation += 5
}
etc.
I would assume people use Photoshop, but you could use Illustrator to make some graphics. If you want a sort-of textured style Photoshop is the way forward.
put me in it, cos i is a legendary flash animator etc.
jokes
Hah i like the art. Unfortunately i can't code for toffee. Or fudge.
Dude, Flash is the ONLY Flash software.
If this gets off the ground it could be ok... i'll try making a test thing and see if i want to make it better :P
Pretty nice. Obviously the enemies look kind of lame... and add more attacks plz
Works fine for me too.
btw, loving the flying system although the character is kind of odd...
Good tutorial here: http://tinyurl.com/nr9e6u