The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.36 / 5.00 33,851 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 12,195 ViewsI 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?
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.
Awsome, i think i can make a 70s like ad. Ill try it out.
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?
Okay thanks. I will see if this will do.
Oh yah i forgot i want it to open and then go to a new place.
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
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
oh okay. Mine is really small too.
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
I made another one that i did draw. Ill post it when i can find my camera.
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.
I want the v-cam to follow the character.
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!
Sorry about double posting but i didnt give you a screenshot of my game.
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?
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)
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!
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!
i have searched up my name and done that, it says n/a.
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?
At 6/18/09 09:34 PM, biskits wrote:At 6/18/09 06:30 PM, jakex09 wrote:Develoment log. -"This is how I am doing with this project."At 6/18/09 03:28 PM, Chaz wrote: So is this your dev blog or something?what? lol.
oh okay.
At 6/18/09 03:28 PM, Chaz wrote: So is this your dev blog or something?
what? lol.
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
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?
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
Whoops! Forgot the preview!
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
Click to view.
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?)