Topic Options
#128623 - 02/12/09 04:03 PM Sensing Objects/Colors outside of Application
YankovicFan


Registered: 10/15/07
Posts: 137
Loc: US
Would it be possible for MMF2 to sense a certain color at a certain point then move the mouse to that point? And in an internet browser.

EDIT: what I mean by internet browser, is a game on the internet like pong with your mouse, could it be possible to make MMF2 play a perfect game?


Edited by YankovicFan (02/12/09 04:04 PM)

Top
#128627 - 02/12/09 04:56 PM Re: Sensing Objects/Colors outside of Application [Re: YankovicFan]
xyzzy


Registered: 08/08/06
Posts: 805
Originally Posted By: YankovicFan
could it be possible to make MMF2 play a perfect game?

just always have the bat's X/Y position (whichever you're using) always equal the ball's

in fact it's a little harder to make the AI not perfect yet not totally suck, either

Top
#128629 - 02/12/09 05:19 PM Re: Sensing Objects/Colors outside of Application [Re: xyzzy]
YankovicFan


Registered: 10/15/07
Posts: 137
Loc: US
but its a flash game on the internet. how would you find the ball's x and y positions? that's my question. I though color. find a unique color the ball has and nothing else on the page has.

Top
#128655 - 02/12/09 08:58 PM Re: Sensing Objects/Colors outside of Application [Re: YankovicFan]
Angelfox


Registered: 01/16/09
Posts: 179
Loc: Usa
i would use a random generator.

EX. Rand(20)+1

If ball collides with player's bat
If this number lower than or equal to 19, then do wat yankovicfan says, and activate his group of events
If this number = 20, then deactivate his group of events.

Although this might be for a hard diffculty... Enjoy


Edited by Angelfox (02/12/09 08:59 PM)
_________________________
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
#128764 - 02/13/09 04:20 PM Re: Sensing Objects/Colors outside of Application [Re: Angelfox]
YankovicFan


Registered: 10/15/07
Posts: 137
Loc: US
Read my post above yours. It's not my game.

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