| I love to create my own original characters and worlds, and to program and develop my own games to tell the stories based around them. Art and Math are my saviours. I do not produce work for anyone other than myself, that way if no one ever cares for my projects, I'll still be happy. My characters and worlds are very important and personal, and creating games to me is a Fine Art rather than a Commercial Art. I do not want my games or characters to ever sell, because I don't want them to become mere products a company abuses to make money. |






say
when a certain key is pressed for the mc to swab to another one
--
Life is like a vacation, live and enjoy.
--
[link]
sign out the lily meister
--
[link] for the future!
--
i believe Jesus Christ is our Savior. Put it to show your faith. have His Name [link]
to a flash 7 file...
[link]
I do it myself, but I can't find the demo ANYWERE
and I will not resort to the other thing
--
Life is like a vacation, live and enjoy.
--
Life is like a vacation, live and enjoy.
nvm on the question about "going to next scene" with a MC touching another, I already got the answer... Frame Labels was the answer, even if I'm going to the beginning of the next scene.. -sigh- I need to upgrade to a higher version of flash...
--
Life is like a vacation, live and enjoy.
all I want to do is make an endless hoard of zombies that will follow the player when the player is a certain distance, also have the hoard have a limit to how much will appear at once on the stage (the WHOLE stage, like outside the viewing point) or something...
I followed this platform tutorial
[link]
to get the gravity thing and such down,
and this one for the following the player..
[link]
So far this is what I got
[link]
you don't have to go through all the trouble to help if you don't want to, I was hoping if you had some tips or tricks is all, I know other people if your too busy though
The programming I would like for the zombies is mainly the type used in
[link]
where they dig up, then attack... yeah thats the basic idea, except instead of a gun its a spear or whatever... thing he swings..
You may also notice that I am having trouble with the zombie to stop walking...
Here is the code
onClipEvent (load) {
var grav:Number = 0;
// gravity
}
onClipEvent (enterFrame) {
grav++;
_y += grav;
while (_root.ground.hitTest(_x, _y, true)) {
_y--;
grav = 0;
}
}
onClipEvent (load) {
espeed = 3;
}
onClipEvent (enterFrame) {
distance = 200;
tx = this._x;
ty = this._y;
sx = _root.player._x;
sy = _root.player._y;
if (Math.sqrt((sx-tx)*(sx-tx)+(sy-ty)*(sy-ty))<distance) {
//This is the main code I am having trouble with, I want to have it where when the zombie is a certain distance away from the player to gotoandstop at the first frame again, so it is idle. I'm not sure if mirroring is enabled for that like how it is when it starts walking. Also when it gets to a closer distance (like almost touching) to stop moving and to go to another frame... however I haven't found any tutorials about continuing on with what I've started.
if (tx<sx) {
this._x += espeed;
gotoAndStop(3);
}
if (tx>sx) {
this._x -= espeed;
gotoAndStop(2);
}
}
}
Sorry if I am a bother
--
Life is like a vacation, live and enjoy.
elaborate my good man.
--
bah...
Previous Page12345...Next Page