HOME | DD

FoxRichards — RPG...or almost it u_u''-TEST-

Published: 2006-06-18 02:33:14 +0000 UTC; Views: 6137; Favourites: 30; Downloads: 429
Redirect to original
Description testing the environment of rpg game... npcs, trees, walls, and... errr... soon i'll put more things ^^
any suggestion will be a great help \o/

the characters i didn't made, because i was in a hurry...(i used the "rpg maker XP" charsets XD)
but the cenario was drawn at flash 8

(requires the flash 8 pluguin or greater to play this well ^^)

EDIT
---
Damn, it's too slow on the webbrowser, i think it's time to back to the start .___.
it isn't the NPC fault, i tested it already

WHAT IS THE PROBLEM?!?!?! arrrr T__T
it had to work at 60 fps, and not 40 fps :S
Related content
Comments: 61

Jadethepartyanimal [2016-05-13 04:37:04 +0000 UTC]

Yup, it's lagging...

👍: 0 ⏩: 0

DNZGames [2010-03-12 01:17:47 +0000 UTC]

when you walk into stuff, it puts off grid allignment, and glitches slightly

👍: 0 ⏩: 0

Tryskellion [2009-10-27 10:16:18 +0000 UTC]

o.O rpgxp char sets don't look like that when i'm using rpgxp. did you enhance them? @Dacrazycat rpgxp does work well. And you can create your own characters following the templates or editing that of an already existing char set.

👍: 0 ⏩: 0

Bogardeth [2009-09-10 04:36:47 +0000 UTC]

I like the transparency in the trees.

👍: 0 ⏩: 0

dacrazycat [2008-12-23 12:27:38 +0000 UTC]

oh! you use RPG maker! how is it? dose it work well? can you make own caracters whit it, btw nice job!

👍: 0 ⏩: 0

harakimoru [2008-03-20 20:31:31 +0000 UTC]

lol! awesome, i made a test kinda like this but the talking is a bit different!

👍: 0 ⏩: 0

Agret [2008-02-24 13:06:47 +0000 UTC]

Cool RPG engine, could you give me the source code to play with?

👍: 0 ⏩: 1

FoxRichards In reply to Agret [2008-02-24 13:31:37 +0000 UTC]

hm... i've lost the source code for this one. but it's simple. (this one was created in 2006) i just made the char walk and the scenario to swap the depths to make them over the hero.

👍: 0 ⏩: 0

japanfangirl [2008-01-23 05:03:46 +0000 UTC]

nice and no lags

👍: 0 ⏩: 0

trojice [2007-12-20 15:46:44 +0000 UTC]

hi, nice interaction with object such i never have and the visibility behind the trees ai great also. keep working this way...

👍: 0 ⏩: 0

9threaver [2007-09-04 14:13:49 +0000 UTC]

cool test should try a fight test too please tell me if u do this is pretty good

👍: 0 ⏩: 1

FoxRichards In reply to 9threaver [2007-09-05 05:09:22 +0000 UTC]

already have one [link]
i'm not going to finish this yet, because i'm too busy with studies, i made this one last year

👍: 0 ⏩: 1

9threaver In reply to FoxRichards [2007-09-05 10:43:21 +0000 UTC]

cool ill give it a try

👍: 0 ⏩: 0

xerxes-spawn [2007-08-16 16:32:02 +0000 UTC]

Was that done in RPG Maker or Flash?

👍: 0 ⏩: 1

FoxRichards In reply to xerxes-spawn [2007-08-17 00:48:14 +0000 UTC]

flash with rpg maker sprites

👍: 0 ⏩: 0

WaveLight [2007-07-30 04:06:05 +0000 UTC]

Ohhh very cool i like it, smooth animations ^___^ the only suggestion i can think of is to make the text box transparent, because when i went into the part where the text was i couldn't see the guy XD

👍: 0 ⏩: 1

FoxRichards In reply to WaveLight [2007-07-30 16:40:48 +0000 UTC]

^^ but it's just a test version, i'm not worried with perfection yet XD there are a lot of bugs that i'll fix (if i continue this project).
Thankyou for your comment ^^ and thanks for liking it

👍: 0 ⏩: 1

WaveLight In reply to FoxRichards [2007-07-30 16:55:10 +0000 UTC]

haha tests don't need to be perfect! i hope you continue it because it's awesome ^___^ plus the animations are smoother than rpg maker itself

👍: 0 ⏩: 0

hatsuyakanzaki [2007-06-03 05:23:08 +0000 UTC]

Keep this up! I'll be waiting this!

👍: 0 ⏩: 0

Suphiria [2007-01-28 04:17:50 +0000 UTC]

Ohhhhh this is fun lol Even if it is just a test, I like it.

👍: 0 ⏩: 0

l30m4k3r [2006-11-23 17:00:36 +0000 UTC]

Ótima idéia cumpadi!

👍: 0 ⏩: 0

droded [2006-11-05 22:31:48 +0000 UTC]

this is really good. looking forwardto the finished game

👍: 0 ⏩: 0

kid-in-boots [2006-10-29 12:11:34 +0000 UTC]

i love everything about it... except that the footsteps sound like gunshot
but for all the rest awesome job! ^^

👍: 0 ⏩: 0

Presea--Combatir [2006-09-01 23:59:24 +0000 UTC]

y dont u try using rpg maker xp or something?

👍: 0 ⏩: 1

FoxRichards In reply to Presea--Combatir [2006-09-02 00:30:07 +0000 UTC]

i've already used rpg maker for years, since 2001... i'm trying something new this time ^^
the characters of the "game" are from rpg maker XP
i like creating games... to practice, use all those school stuff and have fun XD

👍: 0 ⏩: 1

Presea--Combatir In reply to FoxRichards [2006-09-02 02:06:29 +0000 UTC]

heh k...school stuff? what are you talking about? use all those school stuff...*confused*

👍: 0 ⏩: 1

FoxRichards In reply to Presea--Combatir [2006-09-02 02:17:08 +0000 UTC]

math, phisics etc... "school stuff" XD

👍: 0 ⏩: 0

BudouKiba [2006-08-03 04:10:58 +0000 UTC]

=o cool 8DD;;

👍: 0 ⏩: 0

CrazyAllstar [2006-07-04 04:16:30 +0000 UTC]

AI QUE LEGAL XDDD *fica dando voltas pela tela*

Tá rapido aqui O.o~ só a fala do NPC que tá com a letra pekenina demais @_@

👍: 0 ⏩: 1

FoxRichards In reply to CrazyAllstar [2006-07-04 14:01:27 +0000 UTC]

rapido, mas será que tá rapido como deveria estar? porque quando eu testo no programa do flash, ele fica MUITO rapido, quando eu abro aqui a velocidade fica mais ou menos, e com o passar do tempo vai diminuindo.. ainda não tive tempo pra ajeitar isso... mas o proximo jogo grande que eu vou fazer provavelmente será um rpg, ja estou pensando em como vou fazer o "battle system"

👍: 0 ⏩: 1

CrazyAllstar In reply to FoxRichards [2006-07-04 17:45:04 +0000 UTC]

tá rápido assim o.o tipo... tá muito bom pra mim XD eu tenho HORROR daqueles rpgs que o bonequinho anda lento >_>; Tipo... Pokémon pra Game Boy... eu ficava mais ansiosa pra pegar a bicicleta do que qualquer outra coisa XDD~

👍: 0 ⏩: 0

Zane-the-Foxwolf [2006-06-30 19:34:46 +0000 UTC]

This went good for me! I think if it runs slow in the web browser, then they should probably just click download to desktop. That way, it will open on a whole new page.

👍: 0 ⏩: 0

Blue-Moon-Dust [2006-06-24 13:52:57 +0000 UTC]

I likes it!!!

👍: 0 ⏩: 0

theterriblebird [2006-06-20 02:06:38 +0000 UTC]

when will it be done?

👍: 0 ⏩: 1

FoxRichards In reply to theterriblebird [2006-06-20 14:06:36 +0000 UTC]

i dunno XD
i don't have much free time this year >.<
i spend 10 hours on the school and 4 times studying, on the rest i create games, sleep, eat, etc. .___.

👍: 0 ⏩: 0

shamano [2006-06-19 18:15:55 +0000 UTC]

fico mutio bacana meu amigo vermelho

👍: 0 ⏩: 1

FoxRichards In reply to shamano [2006-06-20 00:31:48 +0000 UTC]

vermelho? ._.
tudo bem, cara palida XD

👍: 0 ⏩: 0

KSteinhoff [2006-06-18 23:28:20 +0000 UTC]

meio lerdo pra andar mas tudo bem XD

Esses chars são de RPG Maker XP?? *____*

(eu só mecho no 2000 e 2003, pra falar a verdade, nem XP eu tenho XD)

👍: 0 ⏩: 1

FoxRichards In reply to KSteinhoff [2006-06-19 00:51:37 +0000 UTC]

são sim

ultimamente não tenho mexido em nenhum, quero aprender tudo que posso de flash >.<

👍: 0 ⏩: 0

NoBlemeAnimations [2006-06-18 15:25:41 +0000 UTC]

Nice start already.

Currently, it looks like it was done in just a few minutes, but, eh, it's just a test

The scripting is quite basic, and, according to my system performances, the more the game runs, the more memory it takes: You have a memory leak somewhere!
Try transforming all local variables in globals, and delete through script all script-generated movieclips. Also, check for infinite loops. It did not cause noticeable lag on my browser, but, as a full game, it probably will, so start by fixing those leaks ^^

Good luck

👍: 0 ⏩: 1

FoxRichards In reply to NoBlemeAnimations [2006-06-18 15:58:10 +0000 UTC]

wow, thanks for the tip ^^
i'll try it, but... i have deleted everything, including the scripts... and it kept slow T__T
ahn, i can't set the variables of the "coliders" to global, the character can hit many simutaneously >_<
if you don't want to read starting from here, there's no problem ^^

****************************************************
i made this to detect the colisions and throw the character away

function mayColide() {
this._visible = false
/*calcular posição do centro de mob em relação a X*/
if (mob._x>this._x+this._width/2 || mob._x this.relPosX = "fora";
} else {
this.relPosX = "dentro";
}
/*calcular posição do centro de mob em relação a Y*/
if (mob._y>this._y+this._height/2 || mob._y this.relPosY = "fora";
} else {
this.relPosY = "dentro";
}
/*colisão na horizontal*/
if (this.relPosX == "fora" && this.relPosY == "dentro" && this.hitTest(mob)) {
if (mob._x>this._x) {
this.distanciaX = (this._x+this._width/2)-(mob._x-mob._width/2);
if (this.distanciaX>0) {
mob._x += this.distanciaX;
hero._x += this.distanciaX;
}
} else {
this.distanciaX = (mob._x+mob._width/2)-(this._x-this._width/2);
if (this.distanciaX>0) {
mob._x -= this.distanciaX;
hero._x -= this.distanciaX;
}
}
}
/*colisão na horizontal*/
/*colisão na vertical*/
if (this.relPosX == "dentro" && this.relPosY == "fora" && this.hitTest(mob)) {
if (mob._y>this._y) {
this.distanciaY = (this._y+this._height/2)-(mob._y-mob._height/2);
if (this.distanciaY>0) {
mob._y += this.distanciaY;
hero._y += this.distanciaY;
}
} else {
this.distanciaY = (mob._y+mob._height/2)-(this._y-this._height/2);
if (this.distanciaY>0) {
mob._y -= this.distanciaY;
hero._y -= this.distanciaY;
}
}
}
/*colisão na vertical*/
/*colisão interior*/
if (this.relPosX == "dentro" && this.relPosY == "dentro" && this.hitTest(mob)) {
if (mob._x>this._x) {
mob._x += speed;
hero._x += speed;
} else {
mob._x -= speed;
hero._x -= speed;
}
if (mob._y>this._y) {
mob._y -= speed;
hero._y -= speed;
} else {
mob._y += speed;
hero._y += speed;
}
}
if (!this.hitTest(mob)){
this.distanciaX = 0
this.distanciaY = 0
}
}


and this: (the code that make the character walk XD)

function movingMob() {
if ((Key.isDown(Key.UP) && (Key.isDown(Key.LEFT) || Key.isDown(Key.RIGHT))) || (Key.isDown(Key.DOWN) && (Key.isDown(Key.LEFT) || Key.isDown(Key.RIGHT)))) {
speed = 2/Math.sqrt(2);
} else {
speed = 2;
}
if (Key.isDown(Key.RIGHT)) {
this._x += speed;
hero._x += speed;
heroDir = 2;
}
if (Key.isDown(Key.LEFT)) {
this._x -= speed;
hero._x -= speed;
heroDir = 4;
}
if (Key.isDown(Key.UP)) {
this._y -= speed;
hero._y -= speed;
heroDir = 1;
}
if (Key.isDown(Key.DOWN)) {
this._y += speed;
hero._y += speed;
heroDir = 3;
}
if (Key.isDown(Key.RIGHT) || Key.isDown(Key.LEFT) || Key.isDown(Key.UP) || Key.isDown(Key.DOWN)) {
parado = false;
} else {
parado = true;
}
_root.hero.gotoAndStop(heroDir);
}
mob.onEnterFrame = movingMob;



i made this other one (to detect the hero direction)
i thought the problem was here, but i deleted and the problem continued


onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
if (_root.hero._y+_root.hero._height/2 this.depth = (_root.hero.getDepth())+1;
this.swapDepths(this.depth);
} else {
this.depth = (_root.hero.getDepth())-1;
this.swapDepths(this.depth);
}
}
_root.tang = (this._y-_root.hero._y)/(_root.hero._x-this._x);
if ((_root.tangMath.tan(Math.PI*7/4))) {
_root.posRel = "horizontal";
if (_root.hero._x>this._x) {
_root.posDir = 1;
} else {
_root.posDir = 3;
}
} else {
_root.posRel = "vertical";
if (_root.hero._y>this._y) {
_root.posDir = 4;
} else {
_root.posDir = 2;
}
}
this.char.gotoAndStop(_root.posDir);
}
on (rollOver) {
this.gotoAndPlay(2);
}
on (rollOut) {
this.gotoAndPlay(1);
}
on (press) {
this.gotoAndPlay(3);
}
on (release) {
if (this.hitTest(_root.hero) && _root.heroDir+_root.posDir == 5) {
_root.whatText("Hello!", "My name is NPC!", "*sigh*", "Ok, it's not my name XD");
}else{_root.whatText("Get Closer to NPC to talk", "and must be facing it.", " ", " ");}
this.gotoAndPlay(2);
}
on (releaseOutside) {
this.gotoAndPlay(1);
}

👍: 0 ⏩: 1

NoBlemeAnimations In reply to FoxRichards [2006-06-18 16:07:34 +0000 UTC]

I'd be glad to help you with your scripting

Could you please send me that script again, but in a note, and with details on which part(s) of the script isn't working well, and I'll help you

👍: 0 ⏩: 0

The-Titan [2006-06-18 14:46:22 +0000 UTC]

nice scripting!

u should remove that sound, it gets on my brains!

graphics are normal

👍: 0 ⏩: 1

FoxRichards In reply to The-Titan [2006-06-18 15:41:31 +0000 UTC]

yes, i will (this sound sucks anyway XD)

👍: 0 ⏩: 0

Fox-Hunter [2006-06-18 02:57:46 +0000 UTC]

hehehe, ta muito bom, otimos graficos! ^^

👍: 0 ⏩: 1

FoxRichards In reply to Fox-Hunter [2006-06-18 02:58:17 +0000 UTC]

valeu
ah, só uma duvida, o jogo ficou lento ai tambem?

👍: 0 ⏩: 1

Fox-Hunter In reply to FoxRichards [2006-06-18 18:40:18 +0000 UTC]

não.. ta e mvelocidade normal acho o.o
não ta rapido, mas prum jogo de RPG acho q ta bom o.o

👍: 0 ⏩: 1

FoxRichards In reply to Fox-Hunter [2006-06-18 19:02:41 +0000 UTC]

ah, ok, valeu
mas ainda tenho que descobrir como me livrar de variaveis inuteis, elas gastam muita memoria T___T

👍: 0 ⏩: 1

Fox-Hunter In reply to FoxRichards [2006-06-19 16:48:19 +0000 UTC]

hehe.. vc ta indo mto bem
boa sorte

👍: 0 ⏩: 0

TheWetBandit [2006-06-18 02:40:20 +0000 UTC]

sorry didnt mean to post twice. my compy does funny crap like that

👍: 0 ⏩: 0


| Next =>