Be a Supporter!
fps problem Posted August 4th, 2009 in Game Development

I keep trying to set the fps to 24 but it says it is and then when i play my animation, it changes and doesnt stop through the whole movie. And it will change to like 7 fps, then 5 fps and it keeps changing.
anyone know what the problem is?

Response to: [contest] Newgrounds Comic Ad Posted August 4th, 2009 in Art

Heres my entry. It was hard to think of a 70s style tankmen. I would make something with a tank, but i suck at making the newgrounds logo.

[contest] Newgrounds Comic Ad

Response to: [contest] Newgrounds Comic Ad Posted August 4th, 2009 in Art

Awsome, i think i can make a 70s like ad. Ill try it out.

Response to: Doors in platformer Posted July 29th, 2009 in Game Development

At 7/29/09 04:34 PM, U-Gamer wrote:
At 7/29/09 04:19 PM, jakex09 wrote: Oh yah i forgot i want it to open and then go to a new place.
Instance the door "door".
Instance the player "human".

On the first frame of the door, put a stop(); code.
After that frame, animate the door opening until frame 14.

On the player "human", put this code:

onClipEvent(enterFrame){
if(this.hitTest(door)){//if the human touches the door...
if(door._currentframe == _totalframes){//while the door is on the last frame
_root.gotoAndStop(room2);//replace room2 with the frame number for the next room
}
}
}

Now create a second frame, after the first frame with the new room. I hope this was simple enough.

It didnt work. I dont know what it is but i changed some things in the code cause it wasnt working and now i changed it to this

onClipEvent(enterFrame){
if(this.hitTest(door)){//if the human touches the door...
if(door._currentframe == _totalframes){//while the door is on the last frame
_root.gotoAndPlay(2);//replace room2 with the frame number for the next room
}
}
}

I also have this to make my character move i dont know if the actions for the character moving are messing it up. but other than that the door and the instance names are there.
heres the character movement code

onClipEvent (load) {
var grav:Number = 0;
// gravity
var speed:Number = 10;
// how fast you walk
var jumpHeight:Number = 20;
// how high you jump
var slow:Number = .7;
// sets water falling speed
var slowspd:Number = speed/1.5;
// sets water walking speed
var setspeed:Number = speed;
var scale:Number = _xscale;
var ex:Number = 5;
// makes hitTests better, change for a closer hitTest (warning, more buggy if smalle, less real if further)
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y += grav;
while (_root.ground.hitTest(_x, _y, true)) {
_y--;
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav>0) {
grav *= slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x += speed;
_xscale = scale;
if (_root.ground.hitTest(_x, _y+3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x -= speed;
_xscale = -scale;
if (_root.ground.hitTest(_x, _y+3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
if (_root.ground.hitTest(_x, _y+3, true) && !Key.isDown(79) && !Key.isDown(73)) {
this.gotoAndStop(3);
}
}
if (Key.isDown(79) && !Key.isDown(87) && !Key.isDown(65) && !Key.isDown(68) && !Key.isDown(73)) {
this.gotoAndStop(5);
}
if (Key.isDown(73) && !Key.isDown(87) && !Key.isDown(65) && !Key.isDown(68) && !Key.isDown(79)) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && _root.ground.hitTest(_x, _y+3, true)) {
grav = -jumpHeight;
_y -= 4;
this.gotoAndStop(2);
}
if (_root.ground.hitTest(_x+(_width/2)+ex, _y-(_height/2), true) || _root.ground.hitTest(_x+(_width/2)+ex, _y-(_height/6), true) || _root.ground.hitTest(_x+(_width/2)+ex, _y-_height, true)) {
_x -= speed;
}
if (_root.ground.hitTest(_x-(_width/2)-ex, _y-(_height/2), true) || _root.ground.hitTest(_x-(_width/2)-ex, _y-(_height/6), true) || _root.ground.hitTest(_x-(_width/2)-ex, _y-_height, true)) {
_x += speed;
}
if (_root.ground.hitTest(_x, _y-_height-15, true)) {
grav = 1;
}
}

You see anything that could help?

Response to: Doors in platformer Posted July 29th, 2009 in Game Development

Okay thanks. I will see if this will do.

Response to: Doors in platformer Posted July 29th, 2009 in Game Development

Oh yah i forgot i want it to open and then go to a new place.

Doors in platformer Posted July 29th, 2009 in Game Development

Im making a platformer and i need some help with the door. I made it, then made it a movieclip and now i just need a code.
heres what i have here

Response to: V-Cam for platformer Posted July 29th, 2009 in Game Development

Thanks! It works!

V-Cam for platformer Posted July 29th, 2009 in Game Development

Okay so i have the V-cam and i understand how to make it move and stuff and that works. But how do i make it follow the character in a platformer game? Im using this
http://www.oreillynet.com/pub/a/javascri pt/2004/08/17/flashhacks.html?page=2

Response to: [contest] Win, Lose, Papercraft Posted July 19th, 2009 in Art

oh okay. Mine is really small too.

Response to: [contest] Win, Lose, Papercraft Posted July 19th, 2009 in Art

Found my camera! I took pictures of my drawn one. That other one was an expeirement i guess. So here it is!
http://i31.tinypic.com/erc4jk.jpg
http://i28.tinypic.com/o0z57q.jpg
http://i27.tinypic.com/b5fg2p.jpg
http://i27.tinypic.com/24ms77a.jpg
http://i30.tinypic.com/be63pv.jpg

Response to: [contest] Win, Lose, Papercraft Posted July 19th, 2009 in Art

I made another one that i did draw. Ill post it when i can find my camera.

Response to: [contest] Win, Lose, Papercraft Posted July 19th, 2009 in Art

Im giving this one a shot. Mine is called NEWGROUNDS ARTIST STATUE. It took a while to find some of the pics. But yah this is dedicated to newgrounds and all the wonderful artist.
the picture doesent have good quality for some reason. Its not folded.

[contest] Win, Lose, Papercraft

Response to: V-cam for my game Posted July 15th, 2009 in Game Development

I want the v-cam to follow the character.

V-cam for my game Posted July 15th, 2009 in Game Development

can someone tell me how to make a v-cam for a game like the one below. Because tutorials arent really helping. If i could get a link or somthing (flash mx file) or atleast a video on how to do it then i would be good. Thanks!

V-cam for my game

Response to: V-cam Help please! Posted July 15th, 2009 in Game Development

Sorry about double posting but i didnt give you a screenshot of my game.

V-cam Help please!

Response to: V-cam Help please! Posted July 15th, 2009 in Game Development

Where do i past that at? On the vcam.
this is what i did:
i made a rectangle the same size as the stage and then converted it to a movieclip then on the inside of the movieclip i pasted a big long code on the rectangle. Then a short code like this : onClipEvent (enterFrame) {
_y += (_root.player._y-_y)/4;
_x += (_root.player._x-_x)/4;
}
On the movieclip.
the long code is this.

parentColor.setTransform(camColor.getTra nsform());
function camControl() {
parentColor.setTransform(camColor.getTra nsform());
var scaleX = sX/this._width;
var scaleY = sY/this._height;
_parent._x = cX-(this._x*scaleX);
_parent._y = cY-(this._y*scaleY);
_parent._xscale = 100*scaleX;
_parent._yscale = 100*scaleY;
}
function resetStage() {
var resetTrans = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(resetTrans);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
// make frame invisible
this._visible = false;
// Capture stage parameters
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = Stage.width/2;
var cY = Stage.height/2;
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
// create color instances for color
// transforms (if any).
var camColor = new Color(this);
var parentColor = new Color(_parent);
// Make the stage move so that the
// v-cam is centered on the
// viewport every frame
this.onEnterFrame = camControl;
// Make an explicit call to the camControl
// function to make sure it also runs on the
// first frame.
camControl();
// If the v-cam is ever removed (unloaded)
// the stage, return the stage to the default
// settings.
this.onUnload = resetStage;
so what am i doing wrong?

Response to: V-cam Help please! Posted July 15th, 2009 in Game Development

Im using flash MX.

V-cam Help please! Posted July 15th, 2009 in Game Development

Can someone tell me how to make a V-cam or do it for me. It would mean alot. PS: you will be credited of course)

I need a programmer for V-cam Posted July 15th, 2009 in Programming

Can someone help me with a V-cam? I need you guys to do it in a flash program and then send the file back to me.. thanks!

V-cam Help (flash Mx 2004) Posted July 15th, 2009 in Game Development

Well i have been on many tutorials and the vcam wont work, so if someone can make one for me (in flash MX 2004 file) then i would be happy because i dont know how to work it well. Im horrible at coding. but yah i can send you a file and then you send it back, thanks!

Response to: Batting Average question Posted June 21st, 2009 in Where is / How to?

i have searched up my name and done that, it says n/a.

Batting Average question Posted June 21st, 2009 in Where is / How to?

I have submitted three submissions that all over a 3.00
here it is
3.10
3.21
3.62

Do they all have to be over some diffrerent score?

Response to: Adventure Block Platformer Posted June 19th, 2009 in Game Development

At 6/18/09 09:34 PM, biskits wrote:
At 6/18/09 06:30 PM, jakex09 wrote:
At 6/18/09 03:28 PM, Chaz wrote: So is this your dev blog or something?
what? lol.
Develoment log. -"This is how I am doing with this project."

oh okay.

Response to: Adventure Block Platformer Posted June 18th, 2009 in Game Development

At 6/18/09 03:28 PM, Chaz wrote: So is this your dev blog or something?

what? lol.

Adventure Block Platformer Posted June 18th, 2009 in Game Development

Hey everyone! Me and a guy named blah569 are making a platformer game called Adventure Block . Its basiclly like any other platformer game. But the art is alot more richer and more detailed. but here are some things that are going to be in the game that it not in the example down below.
Adventure Block First Scene

Heres a list of things in the game:
Talking Scenes
Health
enemies
5 or more levels
missions

Adventure Block Platformer

Response to: 5 Second Film Collab Posted June 17th, 2009 in Game Development

At 6/17/09 07:12 AM, 14hourlunchbreak wrote: Grrr..... if everybody on the co-author list will add me to their Portal Buddies list than yes, I'll be able to submit it today. >:(

Sorry about double post. But where is the portal buddies thing?

Response to: 5 Second Film Collab Posted June 17th, 2009 in Game Development

At 6/16/09 08:11 PM, Izzy712 wrote: Eh-Dahhh.. I'm not in it.. I guess my part was good, but not good enough... :( Oh well, it was fun to make my part, and all the people who got in it deserved to be in it :) I'm happy that i'm in the main collab, at least :D

lol same here

Response to: Need a Programmer for Platformer. Posted June 16th, 2009 in Game Development

Whoops! Forgot the preview!

Need a Programmer for Platformer.


I understand there are many tuts on newgrounds. But i really suck at using actionscript, like where to put it and what it means.
But i want to make a flash game alot like

Because that platformer game has a great art style and stuff.
Now its the first time i have ever done this like giving people my flash to program so whoever does you have to tell me what to send you.
so far im making the ground
and the character and background.
So you can make it workable to play.
heres a preview
I want to call it Adventure Blockbecause its this block that you move around. I dont want anything to complicated. Besides its my first platformer. But i have been practicing for 5 months. So if you could program a game for me i would apriciate that.
And Once i find someone i will send you the fla. of the first part, then send that first part back when your done so i can see what you did.
You will be credited for it.
( One more thing, I dont have a batting average yet, does that effect anything?)