i dont really know how to do this efficiantly. basicly its a tile based rpg, the character moves acording to the grid (pokemon) and now i want the enemies to do the same, how do i go about creating collision detectors for a random amount of mobs without having an obscene amount of actives (my way is horrific, i wont even try and explain how im trying to do it)
if anyone could help me with this i would be very grateful.
Thx
(oh and why im at it, i cant seem to get a midi to play through MMF2 am i an idiot or is there somthing im missing, i never had this problem before with mmf 1.5)
@zigzagothy - ive tried everything. play music, play sample, the only way i can do it is to convert it to mp3 and then use some weird X object to load the track at the start of the game. (which isnt good)
Well fast loops are under the same heading as 'Always' (Special) but work much faster, almost instantaneous & collision masks are under Storyboard events (where Start of Frame is).
@Benothy: Won't collision masks affect all enemies?
If you use Play Music you sometimes have to identify what sort of file it is...
Do you have an mfa we could see?
cool, ill try the collision masks, and whats an mfa? its just this midi problem is so weird, ive made plenty of little games before and none have had this problem, its usually a case of choose music and off it goes.
they play fine from the desktop its just mmf wont run them
now im having to convert my midi's to mp3 and use the crappy direct show object to play any music.
An mfa is the new format like cca and gam. With the collision masks you need to (for example) say:
Always: Spread 0 in Alt value A enemy
Always: Start loop "checkenemy" NObjects("Enemy") times
On loop "checkenemy" + Alt Val A enemy = Loopindex("checkenemy") + Collision Mask (x,y) is NOT an obsticle: Move
(x being enemy x + grid value + 1/2 grid value and y being y enemy, then that will check the square to the right. You'll need 4 different conditions like that.)
There.. Hope that sorta makes sense, also I've never had any MIDI issues with MMF2, but I use OGG's mostly, and MOD's
Cool, ill have a go at that, but i still cant get any midis playing, im getting seriously vexed, im gonna smash the keyboard straight into my face! GRRRR
I can run mods, wavs, mp3 etc but no mods, weirdly, all old projects no longer run the midis they used to run, even when i check my old MMF1.5 projects. If anyone can solve this problem or have an insight as to what the hell is going on i will be forever in your debt. PLEASE PLEASE PLEASE!