I WANT YOUR COW!!
lol... its true though...
love the cow pics.
Printable View
I WANT YOUR COW!!
lol... its true though...
love the cow pics.
hey marmotte. nice improvements. i was wondering what script are u using to make the chickens walk around. looks good to me and i think i can fix up my AI if i see ur script
Sorry to bother you again Marmotte, this is my last question.
I have tried, and tried, but what is the code you use to load the external array into the game. Then who do you make the the text box appear with, lets say, Dialogues[20]?
DethDesign
to create an array from a text file
however i believe that shared objects were used instead!Code:text="one-two-three-four-five-six"
theArray=text.split("-")
trace(theArray)
hth
oh, zgeteddy ^^ you were very discreet these days.
chickens:
frame1: code:
value = random(16)+1;
timer = 0;
frame2>frame10: animation
chicken animation (walking for example)
frame10: code
timer += 1;
if (timer>=value) {
comportement = random(7)+1;
if (comportement == 1) {
_parent.gotoAndStop("StandUp");
} else if (comportement == 2) {
_parent.gotoAndStop("StandLeft");
} else if (comportement == 3) {
_parent.gotoAndStop("StandRight");
} else if (comportement == 4) {
_parent.gotoAndStop("MoveUp");
} else if (comportement == 5) {
_parent.gotoAndStop("MoveDown");
} else if (comportement == 6) {
_parent.gotoAndStop("MoveLeft");
} else if (comportement == 7) {
_parent.gotoAndStop("MoveRight");
}
} else {
gotoAndPlay(2);
}
^_parent is here the place were i put all chickens animations (stand left...etc)
do you see the thing?
ElyxiaElvenbright: annoying bug, yes... i'll take a look.
DethDesign: yeah, these cows are lovely ^^
for the dialog, when you press SPACE i call that function before the text appears:
function PopUpLoad() {
if (language == "french") {
#include "PopUpDialoguesFR.as"
} else if (language == "english") {
#include "PopUpDialoguesEN.as"
} else if (language == "italian") {
#include "PopUpDialoguesIT.as"
} else if (language == "german") {
#include "PopUpDialoguesGE.as"
} else if (language == "espanol") {
#include "PopUpDialoguesES.as"
}
}
improvements!
-italian language added, thanks to magnetos ^^ thanks, magnetos
-Save and Load feature more complete: now it saves the chest(s) thing, and checks if your tv is on or off ^^
-thanks to ElyxiaElvenbright (who posted the bug), i fixed the fact that you may be blocked when changing areas
[Edited by marmotte on 07-24-2002 at 07:33 PM]
Just too let you know, i found a bug. When you walk over the puddle and stop in the middle it still shows the animation of the racoon running in the puddle.
Looks kinda freaky... ;)
freaky ^^
you're right. simply because i changed the code of the "real" racoon, the reflection doesn't recognise the new code... i'll have to update it too... and make it shorter...
mmmh, maybe i can use that bug and do something special... like a reflection that acts differently depending on the situation? or maybe you'll have to fight your own reflection? waouh ^^
I think when you stop your reflection should stick its tongue out at you. That would be real nice...
we call it "evil reflection" ^^
You have done it again Marmotte, i think you have what it takes to make Zelda like Flash games like a pro. Please don't drop this project it's great. And if you ever have time make some tuts, you could make very good tuts with the experience you have. Always waiting for the best to come.
i'll have a german(deutsch) translation to you if I can get around to it...
-genesis f5
thanks ^^
to be honest, i don't have the feeling to be "good" enough to do tutorials. really... there are a lot of codes i don't understand... you know, if EdMack was doing the code of my game, it'll be surely far better AND far shorter...
what i'm doing is just playing with "easy" codes, that's all. and that's how i see things. but well, thanks for the compliment ^^
VERY interesting, rocket_genesis ^^
here's the english text:
http://www.marmotte.levillage.org/PopUpDialoguesEN.as
Could you post a link to a .txt or post all of the english in the game so I can translate is easier...
that would be very much appreciated, -genesis f5
lol, already have it, thanks :)
what is AS?
surely "action script". i read it's better to put that ending when we include files...
I did find one bug... ill try to duplicate it to see if I can do it again. It was in the area with the cows, and I was sliding all over the place testing out the slide, and I slid right into the the cows drinking trough. Then couldnt get out.
Nugget
Couldnt get it to happen again =/
"I was sliding all over the place testing out the slide"
did the cows smile while looking at you? ^^
i'll try to reproduce that bug too. maybe there were two cows involved...
i'm just putting up the new italian version...
for all translators: big thanks. maybe it's not the definitive version of the dialogs. if so, i'll call you ^^
amazing and I mean amazing :p
if its any help il do the emmm scotish translation :p
did'nt think so...
keep it up :)