Be a Supporter!
Daxter 2 Demo Posted January 13th, 2007 in Game Development

I'm creating a platformgame called "Daxter 2: Orange Lightning Strikes Again" (the name is copyrighted by me (or naughty dog inc. , Sony or Ready At Dawn Studios) :D )
I'm working on it for a while but I still ave to do alot before I post it.

Well the point is that I want to know what you guys think about it. Just go and play it on this page:

Daxter 2: Orange Lightning Strikes Again

Just tell me what you think of it (I still need to add Backgrounds, Normal Movements and more levels ofcourse!)

Response to: As: Non Virtual Cameras Posted January 5th, 2007 in Game Development

Well , it didn't worked neither here!
I think i'm doing something rong... altough there are no errors in the action script...

But it would be cool if you could make a flash game where the player needs to have a webcam to play it then you could record and save it on your computer how the player is playing in the game!!!! mwuahahahahaha that would be very cool! Imaging that Tom Fulp was testing out the game it was some dumb ass game where you needed to imitate something!!
and its recorded and saved on your computer!! you could send it out to the whole internet!!

OK.. I'm over reacting now..

Response to: Character centering Posted October 23rd, 2006 in Game Development

Sorry for posting 2 of the same topicks, but at the other one nobody wanted to reply cuz it was to long, and not clear...
I'm making a platformer game, (not a shooter) and i do not remember where on NG i got it... and becaus it was a tutorial and the maker of the tutorials agreed for using his AS in other games (Duh, its a tutorial) and i added some peaces of my own AS script and some peaces of other tutorial ... and rewritted them... and ... it works!! so maybe i'll post my first game soon!

Response to: Character centering Posted October 23rd, 2006 in Game Development

Hey, its my first platformgame, I can find the rest of the AS in tutorials.

Character centering Posted October 23rd, 2006 in Game Development

Hey, can someone give me a script so that my character is always centered in my platform game?

Response to: platformer - help Posted October 23rd, 2006 in Game Development

*bump*

Response to: platformer - help Posted October 23rd, 2006 in Game Development

hey, i'm new to this! i just want a scritp or a code so that my char is always centered...
i don't need to put other scripts or something in my post, do I?

Response to: platformer - help Posted October 23rd, 2006 in Game Development

ok, here is my scrîpt (thanks to some ng tutorials)

onClipEvent (load) {
var grav:Number = 0;
var run:Number = 5;
var wlk:Number = 2.5;
var speed:Number = run;
var jumpHeight:Number = 12;
var dbl:Number = 10;
var tri:Number = 10;
var djump:Boolean = false;
var tjump:Boolean = false;
var slow:Number = .7;
var slowspd:Number = speed/2;
var setspeed:Number = speed;
var scale:Number = _xscale;
var ex:Number = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y += grav;
if (Key.isDown(65)) {
setspeed = wlk;
} else {
setspeed = run;
}
while (_root.ground.hitTest(_x, _y, true)) {
djump = false;
tjump = false;
_y--;
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
grav *= slow*1.25;
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(Key.RIGHT)) {
_x += speed;
_xscale = scale;
if (_root.ground.hitTest(_x, _y+3, true)) {
this.gotoAndPlay(1);
} else {
if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(4);
}
}
} else if (Key.isDown(Key.LEFT)) {
_x -= speed;
_xscale = -scale;
if (_root.ground.hitTest(_x, _y+3, true)) {
this.gotoAndPlay(1);
} else {
if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(4);
}
}
} else {
if (_root.ground.hitTest(_x, _y+3, true) && !Key.isDown(68) && !Key.isDown(83)) {
this.gotoAndStop(3);
}
}
if (Key.isDown(68) && !Key.isDown(Key.UP) && !Key.isDown(Key.RIGHT) && !Key.isDown(Key.LEFT) && !Key.isDown(83) && _root.ground.hitTest(_x, _y+3, true)) {
this.gotoAndStop(8);
}
if (Key.isDown(83) && !Key.isDown(Key.RIGHT) && !Key.isDown(Key.LEFT) && !Key.isDown(Key.UP) && !Key.isDown(68) && _root.ground.hitTest(_x, _y+3, true) && _currentframe != 6) {
this.gotoAndStop(7);
} else if (Key.isDown(83) && grav>1) {
this.gotoAndStop(6);
}
if (Key.isDown(Key.UP) && _root.ground.hitTest(_x, _y+3, true)) {
grav = -jumpHeight;
_y -= 4;
this.gotoAndStop(2);
} else if (Key.isDown(Key.UP) && djump == false && grav>0 && tjump == false) {
grav = -dbl;
djump = true;
this.gotoAndStop(4);
} else if (Key.isDown(68) && tjump == false && grav>1) {
grav = -tri;
tjump = true;
this.gotoAndStop(5);
}
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;
}
}

I only have the character (almost) ready and some backgrounds.

platformer - help Posted October 23rd, 2006 in Game Development

I'm trying o make my own platformer game, but i got a problem,
Can someone say me how i can center my character in the middleof the game?
Also, first i tryd to let the char. go to the next frame by a hittest, ut i had some problems to with that...

HELP?