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'm more amazed by the position of his nipples
just pick your light source(s) and have at it.
here's a quick cell shade example. the areas without a blue dot are shaded. if you get he hang of cell shading you can move on to gradients and some oher cool shit.
this probably isn't that accurate but w/e
i recently came across this awesome flash site http://www.nawlz.com/
anyone see it before? it's probably my first time ever getting sucked into a comic. you don't see creative stuff like this often =(
adobe thought it would be a bright idea to make the stage and workspace the same color and not include a preference for it. best you can do is add a background layer and color the workspace yourself
this works if you put it on a movieclip, i don't know why the code that guy gave you isn't working
onClipEvent (enterFrame) {
if (Key.isDown(Key.SPACE)){
_root.gotoAndPlay(2);
}
}
At 1/27/09 07:58 AM, Montycarlo wrote: Sorry, here's the true code:
pressedA = false;
onEnterFrame = function(){
if(Key.isDown(65)){
if(pressedA == false){
_root.nextFrame();
pressedA = true;
}
}else{
pressedA = false;
}
}
thanks =D i thought there was something more simple i could do but this'll work for now
At 1/27/09 05:44 AM, Montycarlo wrote: pressedA = false;
onEnterFrame = function(){
if(Key.isDown(65) && pressedA == false){
_root.nextFrame();
pressedA = true;
}else{
pressedA = false;
}
}
i'm still getting the same problem
oh and i'm using as2
i have a slideshow within a movieclip, and i would like the slideshow to continue to the next frame when key A is pressed and released.
onClipEvent (enterFrame) {
if(Key.isDown(65)){
play();
}
}
now when i press A, it blasts through all the frames even though i have a stop(); on each frame. isn't there a (Key.isPressed) or something similar i can do?
oh nvm i got it, i was using "if" instead of "else if". the code works great =D
At 1/18/09 07:10 PM, Bum-Secks wrote: i almost got it working with this
and i have 4 walls, north, south, east, and west
At 1/18/09 06:32 PM, BillysProgrammer wrote: Try this
i almost got it working with this
if(this.hit.hitTest(_root.wall)) {
speed=0;
_x += -1 //pushes the char off the wall so he can move
}
else {
speed=6;
}
}
the char is running right through the walls some of the time, it's wierd
At 1/18/09 05:47 PM, BillysProgrammer wrote: You change the trace part to whatever you want to happen, but the trace function echos whatever you put inside of it into the output panel on your flash program.
that doesn't make sense to me at all XD
this is what i've been trying
onClipEvent (enterFrame) {
if (_root.player.hitTest (this)) {
_root.player.speed=0;
}
}
even if the code did work i don't think the player would be able to move anymore..
At 1/18/09 05:30 PM, BillysProgrammer wrote: if(player.hitTest(_root.wall)) {
i know how this part works
trace("I Hit The Wall");
i'm not sure what to do with this though, how does tracing work?
alright i figured out how to get his movements working, but how do i make him stop moving when he runs into a wall?
At 1/14/09 08:20 PM, Deathcon7 wrote: The whole purpose of setting up a boolean is to be able to determine exactly which state the character is in. If you tell flash do some 1 thing when a certain condition is met, and to do another when that condition plus another is met, technically both conditions are correct.
In the above, when the up key is press only, the up conditional will be true. It'll output 1. If up and right keys are being pressed, it'll only output 2 because the code can tell the difference between up and up-right. If you examine the difference in the two examples, you'll see how they differ and how the second one works and the first doesn't.
i get what you're saying, but i don't understand where i'm supposed to add in the walk speed and the character animations, i've never seen a code set up like this before
At 1/14/09 07:10 PM, Deathcon7 wrote: You've got two options: you can have movement and animation as two separate conditionals, or you could combine it all. I would suggest the former simply because it's easier to read.
So for example you'd use the following:
thanks for the reply! the code is confusing to me though, i don't see why you need the "true" in there, and i don't know how to use any of that bottom half of the code.
this is what i've managed to do myself
onClipEvent (load) {
walkSpeed = 5;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
_y-= walkSpeed;
this.gotoAndStop(9);
}
if (Key.isDown(key.RIGHT)) {
_x+= walkSpeed;
this.gotoAndStop(10);
}
if (Key.isDown(key.LEFT)) {
_x-= walkSpeed;
this.gotoAndStop(11);
}
if (Key.isDown(key.DOWN)) {
_y+= walkSpeed;
this.gotoAndStop(12);
}
if(Key.isDown(Key.UP) && Key.isDown(Key.RIGHT)){
this.gotoAndStop(13);
}
if(Key.isDown(Key.RIGHT) && Key.isDown(Key.DOWN)){
this.gotoAndStop(14);
}
if(Key.isDown(Key.DOWN) && Key.isDown(Key.LEFT)){
this.gotoAndStop(15);
}
if(Key.isDown(Key.UP) && Key.isDown(Key.LEFT)){
this.gotoAndStop(16);
}
}
here's what it gives you http://spamtheweb.com/ul/upload/140109/7 1676_char.php
the diagonal animations arn't working right, and i still don't know how to use the idle animations
i'm trying to make my character move in all 8 directions. inside the char is a walking animation and an idle animation for each angle, but i can't figure out a good way to program it =(
what kind of artist do you need? flash?, photoshop? 3d?
At 12/19/08 03:04 PM, Rascir wrote: You're probably coding in AS3. Code in the timeline or change the script to AS2.
oh....
wtf?! i made a movie clip, but it says "current selection cannot have actions applied to it" when i open it's actions. why is it doing this to meeeeeee
lol tell then you'll sue if you don't recieve 70% of the profits
that is pretty strange, are you trying to get websites to put flash banners and things on their page? like newgrounds does for adventure quest?
wow, words of wisdom right there.
At 12/5/08 02:26 AM, blah569 wrote: If you plan on making a profit, you'll have to contact the author of the song and ask them for further instructions.
what about super famous songs? they'll ask for more money than i can even earn with the competition
At 12/5/08 12:47 AM, Magical-Zorse wrote: Yes, you can use it in anything as long as you give credit to the original author.
copyrighted music? i don't think it works that way XD
am i allowed to use copyrighted music in my submission for the newgrounds winter competition? i'm pretty sure i can't use the ng ads, but i don't know about the competition
At 12/2/08 10:29 PM, CrustySheet wrote: well due to that
onClipEvent (enterFrame) {
if (this.hitTest (_root.crosshair..bullet)) {
this.gotoAndStop(2);
}
}
awesome thanks! you put an extra period in there though =P
off to make a game now~
At 12/2/08 09:49 PM, ssjskipp wrote: Is _root.bullet the consistent name of the bullet? or is it the name of a source bullet being duplicated?
it's the instance name of a movieclip that is inside of the crosshair movieclip. so i guess _root isn't a good idea D=
i'm trying to make a first person shooter, but i can't get the collision detection to work, here's the code i put on the enemies
onClipEvent (enterFrame) {
if (this.hitTest (_root.bullet)) {
this.gotoAndStop(2);
}
}
the bullet appears on the mouse after you click, but it's not making the enemies do anything