Topic Options
#165117 - 11/06/09 01:50 PM Making a character attack?
delta9857


Registered: 10/25/09
Posts: 8
Hi guys, how can i make my character attack (melee) and shoot? it is using eight directions movement incase that is a factor.

Top
#165125 - 11/06/09 03:10 PM Re: Making a character attack? [Re: delta9857]
nivram


Registered: 07/11/06
Posts: 1545
Loc: Bandon, OR
The crudest, but simple way, is attach an invisible circle active(100 X 100?) to your character. When it overlaps an enemy, move the character towards the enemy and change the animation to shoot.

Marv
_________________________
A decision making process is binary.

MMF2 Examples and games (open source).
http://www.castles-of-britain.com/mmf2examples.htm

Top
#165131 - 11/06/09 03:57 PM Re: Making a character attack? [Re: nivram]
delta9857


Registered: 10/25/09
Posts: 8
how do attach an invisible active circle?

Top
#165134 - 11/06/09 04:12 PM Re: Making a character attack? [Re: delta9857]
nivram


Registered: 07/11/06
Posts: 1545
Loc: Bandon, OR
Always
Invisible Active Circle: Set position to 0,0 of character

This is based on the hot spot being centered on the invisible active circle and the character.

Marv
_________________________
A decision making process is binary.

MMF2 Examples and games (open source).
http://www.castles-of-britain.com/mmf2examples.htm

Top
#165267 - 11/07/09 10:57 PM Re: Making a character attack? [Re: nivram]
delta9857


Registered: 10/25/09
Posts: 8
are there any events that make an object change movement? for exampke from movement 1 to 2?

EDIT:found it


Edited by delta9857 (11/07/09 11:00 PM)

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
MFA Repository
GameBuilder
Klikdisc
The Daily Click
Madword Arcade

Extensions
Neatwares Extension List
Extension Updater

Lacewing & Moo Server
Klikfarm
Click Chat
14 People are chatting
Game Builder
Random Game

The Bat Sweeper

Latest News
Blue Friends 1.4!
GameBuilder Chat BETA!
PRC BETA IS OUT!