Be a Supporter!
Response to: Hey Guys! Did you know?! Posted March 27th, 2009 in Art

i'm more amazed by the position of his nipples

Response to: Someone help me with this drawing Posted February 11th, 2009 in Game Development

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

Someone help me with this drawing

nawlz interactive story telling Posted February 10th, 2009 in Game Development

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 =(

Response to: Flash CS3 settings Posted January 30th, 2009 in Game Development

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

Response to: press space gotoandplay Posted January 28th, 2009 in Game Development

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);
}
}

Response to: if (key is pressed) help Posted January 27th, 2009 in Game Development

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

Response to: if (key is pressed) help Posted January 27th, 2009 in Game Development

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

Response to: if (key is pressed) help Posted January 27th, 2009 in Game Development

oh and i'm using as2

if (key is pressed) help Posted January 27th, 2009 in Game Development

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?

Response to: character movement help (as2) Posted January 18th, 2009 in Game Development

oh nvm i got it, i was using "if" instead of "else if". the code works great =D

Response to: character movement help (as2) Posted January 18th, 2009 in Game Development

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

Response to: character movement help (as2) Posted January 18th, 2009 in Game Development

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

Response to: character movement help (as2) Posted January 18th, 2009 in Game Development

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..

Response to: character movement help (as2) Posted January 18th, 2009 in Game Development

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?

Response to: character movement help (as2) Posted January 18th, 2009 in Game Development

alright i figured out how to get his movements working, but how do i make him stop moving when he runs into a wall?

Response to: character movement help (as2) Posted January 14th, 2009 in Game Development

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

Response to: character movement help (as2) Posted January 14th, 2009 in Game Development

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

character movement help (as2) Posted January 14th, 2009 in Game Development

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 =(

character movement help (as2)

Response to: Looking for artist for iPhone game Posted January 13th, 2009 in Game Development

what kind of artist do you need? flash?, photoshop? 3d?

Response to: movieclips can't have actionscript? Posted December 19th, 2008 in Game Development

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

Response to: Rip off of my game? Posted December 12th, 2008 in Game Development

lol tell then you'll sue if you don't recieve 70% of the profits

Response to: Animation Sponsors Posted December 8th, 2008 in Game Development

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?

Response to: The Do's & Donts Of Flash! Posted December 6th, 2008 in Game Development

wow, words of wisdom right there.

Response to: concerning winter competition Posted December 5th, 2008 in Game Development

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

Response to: concerning winter competition Posted December 5th, 2008 in Game Development

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

concerning winter competition Posted December 5th, 2008 in Game Development

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

Response to: collision detection help Posted December 2nd, 2008 in Game Development

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~

Response to: collision detection help Posted December 2nd, 2008 in Game Development

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=

collision detection help Posted December 2nd, 2008 in Game Development

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