PDA

View Full Version : hate to say it, but I need help!



zues
May 5th, 2007, 02:11 AM
Alright I'm decent with Flash and I'm currently trying to make my own RPG (yeah i'm sure you guys have heard this 100 times now if not more) but to not ask to much of you guys I was wondering if you guys knew some great tutorials I can find on the net. I've looked all over yahoo and google and found some ok ones but i've gone as far as I can go with tutorials I've found.

The major issues i'm having is:

Boundries, (I drew some trees, made them to MC and tried every thing but still goes through them)

AI, (Basically need it to roam around freely in a random patteren and when a character goes near it the AI goes toward the character, stops next to the character and attacks)

Exp/Stats, (leveling up ect)

Now for some details on my game. Basically its like ragnarok online or runescape. Not that massive of a game but its a rpg where you dont get zoned out to the battle field to fight a monster you randomly encounted on the map.

I think my dream battle system would be like Final Fantasy XII, where you see a monster walk up to it and then your character would go in a battle stance and you then select the moves for attack. (basically free roaming then you walk up to a monster, once you touch it your character freezes in a battle stance and then it becomes a turn base system "but you dont warp to another screen to do the turn base battle")

I've been reading alot of these topics and used alot of tutorials ive found and it has gotten me pretty far. Thanks for all your help and Time! (^ ______ ^ )

oh and if any one happens to know how to go about some of these things do tell, do tell!

Hansol
May 5th, 2007, 11:13 AM
what view do you plan to make your game in? i wont mind helping you make an rpg, ive been working on my own but i got bored since my artwork isnt too great :\

zues
May 5th, 2007, 04:42 PM
I plan on making it like a 3D view, not a bird eye view but not completely low to the ground view either. Its all going to be done in 2D of course with sprites but its not going to be a 2D side platformer game. Basically the same camera view from the old Zelda games like link to the past.

If that makes any sense, hope it helps! I look forward to the help!

Hansol
May 5th, 2007, 04:47 PM
oh okay, well what have you made so far? have you started with some ideas or the basic game?

zues
May 5th, 2007, 09:10 PM
Yeah i've already stated on making the basic game. All the graphics right now are just place holder graphics, not final graphics (wont be making those till later) So i'm working on all the code first.

So far I can move my character around. I can travel to multiple maps and I made one simple enemy that can move back and forth(dump as they come) and I have a hp bar that when I come in contact my hp goes down.

My real issues I need help with is a good battle system, making Good basic AI and hittest for boundries.

I made a image of basically how I want the battle system to be like.

http://img525.imageshack.us/my.php?image=battlesystemod7.jpg

I would love to have the first battle system I shown above but I have no real Idea how to do it, now I have some what of a gernal idea on how to make the second battle system but the problem is I want to make this game a multiplayer one (so me and my friends can play) and for some reason it wouldnt seem right having friends tele-port off the screen to battle or freeze till the battle is over when ever they touch a monster. I personally feel the first battle system would be perfect for multi-players so we can see how each other is doing.

But i gotta go with what I got or can only do.

So theres just some gernal idea of things I need help with.

Hansol
May 6th, 2007, 10:50 PM
do you mean online? thats pretty hard, i wouldnt know where to start, but your battle system seems possible if single player, if you want we can talk more on msn or something, and work on this together if you want :) just pm me.

zues
May 6th, 2007, 11:34 PM
On-line would be something down the road. I'm not worried about that at all right now, its just kind of like the icing on the cake. But if you think that its possible to make the battle engine then thats great. Well I dont have msn or any thing like that. Do you mean msn or aim? Which eaither one will work fine, i'll make an account for.

But yeah I look forward to working together on this!

hybrid101
May 7th, 2007, 06:28 AM
for boundaries, either bitmapData or use tile based graphics dude;)

zues
May 7th, 2007, 01:56 PM
yeah i'm trying to stay away from tile based games, so that other thing i'll look in to. Thanks for the help!

Hansol
May 7th, 2007, 03:31 PM
you dont have to draw tiles or bitmapdata, those are good but you can also just use hitTests for lefts walls and right walls

zues
May 7th, 2007, 05:21 PM
I've been trying to use Hittest and I just keep running in to problems with it. Which is crazy cause it would seem to be very easy. My character sometimes would stop at certain parts of the map while otheres he would walk strait through or some odd reason slow down but still move through.

I didnt know what was the problem so I just deleted the code all together for the hit test. Any idea where I can find a very basic hittest tutorial. Where if I draw a tree and place that tree_mc on the scene my character cant move through it?

Thanks for all the help! ^ _ ^

Hansol
May 7th, 2007, 09:15 PM
Here, you can use this its some basic hittesting. it works with muliple trees, it moves them around and the character stays on one spot.
42385

zues
May 8th, 2007, 01:58 AM
Hey thanks for the file, i'm messing around with it right now. The only problem I had some items laying on the ground they dont move, for some reason their acting like the character does. It stays in the same place like the character. So i thought I would just place them on back ground so they would move to...eh no. Didnt do any thing.

Flash sure does puzzle me sometimes.

Hansol
May 8th, 2007, 10:01 AM
Your gonna have to place the items in the map movie clip, and make sure they can still be picked up, im not sure how you did your Scripting so your gonna have to link the items to the root if your using a function. like _root.addtoslot();

zues
May 8th, 2007, 06:36 PM
Yeah that did it. Its working pretty good for the most part. I'm slowly working on the battle system, i'm kind of putting it off cause I dont know where to start. -_- just lots of testing.

zues
May 10th, 2007, 11:59 PM
Well still slowly moving along but hitting some hard problems on the battle system. I guess i'm worse at coding then I thought. Check out the attachment just to see what i'm trying to do.

If any one can help with on how to do it, please lend me your knowledge!!!