Topic Options
#127408 - 02/03/09 08:03 PM Ugh... more help...
RoachLIVEinLA


Registered: 01/24/09
Posts: 13
Ok my project is turning out harder than i thought... Id really appreciate some help...

Basically, Im programmimg AI for enemies... basically, the game is isometric so everyone can move in 8 directions and Im trying to get it so an enemie can walk up to my player, stop, and beatup my character. However, I need him to stop away from my character, because right now I have him stopping when he collides but they get stuck to each other. I also want him to continue to chase my player if he runs away, and to stop so they can engage in fisticuffs.

I keep having issues becuase I cant seem to find what Im looking for in the event editor. Id REALLY apprciate some help.

Top
#128612 - 02/12/09 02:10 PM Re: Ugh... more help... [Re: RoachLIVEinLA]
SuperKirby64


Registered: 11/12/08
Posts: 31
Loc: Michigan!!!
Hmm... I've been trying to make iso games for awhile. I'll see what I can do!
_________________________
"To finish, one must first start, to start, you must visualize, to visualize, you must imagine, to imagine, you must... Aw, what the heck!!

Top
#128745 - 02/13/09 12:47 PM Re: Ugh... more help... [Re: SuperKirby64]
SuperKirby64


Registered: 11/12/08
Posts: 31
Loc: Michigan!!!
Sorry 4 the double post...

Can you upload the mfa file of what you've done so far??
_________________________
"To finish, one must first start, to start, you must visualize, to visualize, you must imagine, to imagine, you must... Aw, what the heck!!

Top
#128926 - Today at 12:21 AM Re: Ugh... more help... [Re: SuperKirby64]
Angelfox


Registered: 01/16/09
Posts: 179
Loc: Usa
Have u used the snippet manager found in the mmf2 file archive?
that can calculate the distance between two obejcts without really knowing how it works.
Also you could place detectors or a box around ur character and if the enemy collides with the box, change wat it does.

A good example of how to understand this is the game Super Smash Bros. or any fighting game where the AI doesnt do the same repetitve thing over and over.

If the ABS of enemy-player >=1000 then shoot a projectile.
ABS of enemy-player is between 10-999, then walk toward player.
ABS of enemy-player <=10, then do an attack.
_________________________
Angelfox can own firefox

Chuch Norris Owns!

Need Rpg help? Private Message me for help. Just dont ask me to do graphics and i can help you with just about anything RPG related...

Top


Site Links
Forum Index

Home Page
Online Store
Tutorials
Download Center
French Forum
Quick File Links
Multimedia Fusion 2
Updates - build 248
Standard Version
Developer Version

Extension Packs
Bonus Pack 1
Bonus Pack 2
z33z Extension Pack
LIJI Extension Pack

The Games Factory 2
Latest Update - build 248
Community Links
Madword Arcade

GameBuilder
Fusion2Developers
The Daily Click

Extensions
Neatwares Extension List
Extension Updater (FusionUpdater)
Zoom Gamer
Click Chat
9 People are chatting