Hey,
i wanna know how to(in an rpg game,so birds view)make enemies go after you and then punching you or shooting you and make when your walking the camera go with you(scroll).
whoever helps me THHHHAAAAANNNNNXXXXXX!!!SSSOOOO!!!MMMMUUUUUCCCHHHHH!!!
You should try http://www.kirupaforum.com/forums/showthread.php?t=16649. the guru on AI .
guru
I wouldn’t say so… But thanks anyways… hehe… It’s time for bed though… I have a 13 hour shift tomorrow… god I hate the work-life sometimes…
Wait… make that all the times… hehe
I wish I could work. But no one wants to hire a teen.
COULD SOMEONE HELP!!!:puzzled:
I already know how to do the scrolling but i need to know how to make enemies
Sorry, but that was the only resorce I know that explains the AI.
start simple! RPG’s are increadibly hard to make (good one’s at least) do you even have a story or a title yet? Not much piont creating something if there’s no purpose.
Well,the game is called GTA Real Life and im not tellin da story
its a surprise
ok have you even fgiured out how to make the guy get into a car and have more then one car then have those cars respawn and have the cars atay on the road? all of those are just as common probelms that i had when i started my gta game
wont be much of a surprise if you dont finish it.
Ive posted this before but have a look at this: Car
Skinny is right, you won’t finish it untill you learn to do much, much simpler things. Those kind of games require imense amounts of dedication, experience and time. If you really want to go through with this nevertheless, then don’t make a topic asking how to do all this, and expect responses. Take time to browse the site for relavent tutorials and DEFINITELY do a search of topics in the Actionscript and Game/AI board before you even think of posting this much over-posted topic. I’m really getting sick of this. Before anyone says that I probably started out flashing in this way, (ie. spamming boards and looking for immediate answers) I did not at all. I spent much time observing other flash apps and doing tuts.
PS: GTA IS NOT A RPG BY ANY STRETCH!
EDIT: For a start, check out the “Basics of an RPG” (or whatever it’s called) post.
Hey Skinny_T i don’t suppose you will share how you made the brakes turn up the skid marks, Please!! Looks awesome btw, good start
Sure, this is a sharing forum after all. I actually got some help for this bit of code (took me ages to even get a line workin). It might be a little complex but I’ll be happy to answer any questions about it.
if (!_root.triangle) {
_root.createEmptyMovieClip("triangle", 1);
_root.createEmptyMovieClip("triangle2", 2);
this.swapDepths(3);
trace("not exist");
}
u++;
if (u>=100) {
_root.triangle.clear();
_root.triangle2.clear();
trace("clear");
u = 0;
}
if (speed == 0) {
}
if (Key.isDown(Key.SPACE)) {
u = 0;
point = new object();
point2 = new object();
point.x = Lwheel._x;
point.y = Lwheel._y;
point2.x = Rwheel._x;
point2.y = Rwheel._y;
localToGlobal(point);
localToGlobal(point2);
Lx = point.x;
Ly = point.y;
Rx = point2.x;
Ry = point2.y;
_root.triangle.lineStyle(5, 0x666666, 100);
_root.triangle2.lineStyle(5, 0x666666, 100);
if (p != 1) {
g++;
trace(Rx+" | "+Lx+" | "+p+" "+g);
_root.triangle.moveTo(Lx, Ly);
_root.triangle.lineTo(Lx, Ly);
_root.triangle2.moveTo(Rx, Ry);
_root.triangle2.lineTo(Rx, Ry);
p = 1;
if (g == 10) {
_root.triangle.clear();
_root.triangle2.clear();
trace("clear");
g = 0;
}
}
_root.triangle.lineTo(Lx, Ly);
_root.triangle2.lineTo(Rx, Ry);
} else {
// triangle.clear();
p = 0;
}
{
I made two movie clips for the back wheels (Rwheel, Lwheel) and then the code just defines two points and draws the lines in between.
edit
Have a look at the wrx racing game. You should be able to get it at flashkit. That will show you collision detection, car physics, skidmarks, scrolling, etc.
Thats for that Skinny_T, yeah i did look at that wrx, but its kindof hard to actually find anything in that fla, but i’ll give yours a whirly on the weekend, cheers