The Daily Click ::. Downloads ::. Engine ::. MMF2 First Person Engine
 

MMF2 First Person Engine
Author: Pixelthief Submitted: 25th September, 2008 Favourites:2
Genre: Engine Downloads: 1619
Rated:
119th Place     (4.17 / 5)


Edited By Pixelthief on 9/25/2008

This is a fullscale First Person engine for MMF2, capable of making games on the scale of Wolfenstein 3d, providing you know a thing or two about coding, and it is OPEN SOURCE. Its the same engine that powered my first person text based shooter, and you can use it for whatever the heck you want, so long as you give me some credits. I won't even attempt to explain how most of it works, but just give you some ideas of what its capable of:

*High resolution Raycasting (handles 2 pixel resolution on my laptop before slowdown kicks in)
*Full texture mapping to walls
*Full sprites, with proper depth buffers
*Loads textures & sprites from tiles at runtimes
*CACHES loaded textures at runtime (!!!) check out how I coded this puppy
*A few built in examples of how weapons & enemies can be done, but you could easily get better results using the built in MMF movements.
*Optimized fast loops that do NOT consume your computers CPU!

Mouse & arrow keys to control the game, press Space at runtime to pause the mouse (so you can click on the button options). Feel free to try to use this in your projects, but throw me a name in your credits!

Exe Here:
http://www.mediafire.com/?ygztdobutxm
http://www.mediafire.com/?wzo5xwwzin0


Review This Download



 


http://claniraq.googlepages.com/RaycastTexturedMMF2.zip (225.08 kkb )



Posted by Pixelthief 25th September, 2008

And no I will not post a compiled .exe of this, I can't build applications with the demo version of MMF2
 
Posted by Codemonkey 25th September, 2008
Rated :

I love you Pixeltheif.
 
Posted by Pixelthief 25th September, 2008

have my lovechild
 
Posted by Eternal Man [EE] 25th September, 2008
Rated :

Ah, damn. If it's opensource I can't try it. I don't have MMF2 and my demo expired. ;.(
If it's ok with you Mr. Thief it'd be awesome if someone could compile it and pm me with a link? Maybe Y-O-U mr. Monkey?
 
Posted by erghhhhx 25th September, 2008

Hmm. Doesn't seem to work as smooth as your text-based one. With each cm i move my mouse it "scrolls" like hell. And when I use the pause it freaks out.
 
Posted by Pixelthief 25th September, 2008

O_o you might want to make sure you have the same versions of the extensions I have; I included them in the download. If anyone DOES want to compile it and post it here, that would be groovy
 
Posted by Eternal Man [EE] 25th September, 2008
Rated :

Yes, please do!
 
Posted by AndyUK 25th September, 2008

I was going to compile it but it doesn't work properly even after i copied your version of the big box object. The mouse turn seemed to be so sensitive i spin around like crazy by just touching the mouse.
 
Posted by Pixelthief 25th September, 2008

thats odd. I've got the mouse extension now so I'll switch it over to that and edit the download
 
Posted by Pixelthief 25th September, 2008

oh heck no wonder it was set for 1280 by 780 resolution only. updated
 
Posted by alastair john jack 25th September, 2008
Rated :

Someone make an exe!
 
Posted by Eternal Man [EE] 25th September, 2008
Rated :

Do it!
 
Posted by jpSoul 25th September, 2008

mmh.. is the mouse problem caused by my Big Box extension? :s
 
Posted by TreeHugger 25th September, 2008

Here's a link to a compiled version for those of you that can't:
http://www.mediafire.com/?ygztdobutxm
Comment edited by TreeHugger on 9/25/2008
 
Posted by -Athan- 25th September, 2008
Rated :

heeey thank you dude
 
Posted by UrbanMonk 25th September, 2008
Rated :

You my friend, are a click master

Unbelievable, couldn't quite figure out your code
Comment edited by UrbanMonk on 9/25/2008
 
Posted by Pixelthief 25th September, 2008

if you're interested, it follows this closely:
http://www.permadi.com/tutorial/raycast/rayc1.html

 
Posted by Fish20 25th September, 2008
Rated :

n/a
 
Posted by Fish20 25th September, 2008
Rated :

It was ok but you couldn't understand what he did.
 
Posted by Eternal Man [EE] 25th September, 2008
Rated :

This is just as amazing as I thought it would be! Seriously great work Mr. Thief!
The only thing I want to point out is that I could move the mouse outside of the playfield, so when I shot it'd lose focus, but I'm sure there is a workaround for that! Great job!
 
Posted by Dynamite 25th September, 2008
Rated :

Here's the exe for all those who don't have MMF2 I suggest Pixelthief to add this to his original post.

http://www.mediafire.com/?wzo5xwwzin0
 
Posted by Cecilectomy 26th September, 2008
Rated :

it looks kinda funky when you are using the guns from the text fps and then textures and sprites.

and that compiled version is messed up.
Comment edited by cecil64 on 9/26/2008
 
Posted by Eternal Man [EE] 26th September, 2008
Rated :

Which one? I tried treehuggers and it worked ok.
 
Posted by Cecilectomy 26th September, 2008
Rated :

the second. i didnt notice treehuggers. yeah that worked. nice. i still think the guns should not be text styled. its out of place.

5 stars for an amazing amount of effort and accomplishment.
 
Posted by alastair john jack 26th September, 2008
Rated :

This is great! I had fun replacing the textures to Wolfenstein things.
 
Posted by Jarl Fenrir 26th September, 2008

It's great someone made 3D in MMF, but it's still not good engine.
Often i can see enemies trough the walls, and walls sometimes looks like "horizontal stairs".
 
Posted by Eternal Man [EE] 26th September, 2008
Rated :

I think the engines great! I didn't experience the problem of seeing enemies through walls, and the "stairs" are just your system experiencing slow-down.
 
Posted by Pixelthief 26th September, 2008

Well I noticed there IS some kind of issue with the Z-buffer array, probably with the resolution changing at runtime- It will occasionally trigger the "Display entire enemy sprite because both left & right side points are visible", even when those points *shouldn't* be on the Z-buffer. Like if you have a wall just right next to you, and an object on the other side of it *just* behind it, on about either 1/5 or 4/5 of the horizontal way across the screen:

Image

i didn't have time to dig through the code and fix it, but im sure its just a typo
 
Posted by Cyber Smurf 26th September, 2008

I have a demo of MMFDev. When I try to load it, a extension errors comes up, kcmouse.mfx is missing! Where can I get that one?
 
Posted by Pixelthief 26th September, 2008

i thought the mouse extension came with it, or I would have included it too :X
http://ext.neatwares.ath.cx/ext/Mouse_Object
looks like its in pack#2
 
Posted by Fish20 27th September, 2008
Rated :

How did you make the game look like your screenshots?

 
Posted by Codemonkey 27th September, 2008
Rated :

lol, he took screenshots of the game...
 
Posted by Peblo 28th September, 2008

I don't understand how you did this. I'll be studying this, and I'll rate it when I understand it.
 
Posted by Eternal Man [EE] 28th September, 2008
Rated :

But then you're never gonna rate! (har har)
 
Posted by Don Luciano 29th September, 2008
Rated :

That's really cool engine. Neat thing would be to import from 3d programs, like 3dmax.
 
Posted by Va1entine 30th September, 2008
Rated :

Good 3d program, but as its not really a game i can't rate higher than 3 stars, this is a great contribution to the Dc though! Good Job!!!
Comment edited by Va1entine on 9/30/2008
 
Posted by Cast Member 4th October, 2008
Rated :

Neat, but not something I would show my friends, But that's just my opinion
Comment edited by Robert White on 10/4/2008
 
Posted by Pixelthief 5th October, 2008

well, feel free to build something interesting out of it
 
Posted by Lava 28th December, 2008
Rated :

This Is A Very Nice Engine. If You Insert A Back Sprite As An Active Object and Erase The Gun Text Object Thing, You Can Make A 3rd Person Game. But How Do I Edit The Enemy and The Stage?
 
Posted by Pixelthief 31st December, 2008

The enemies sprites are saved externally in a folder, and the stage is an array in a different folder, using a number corresponding to each tile graphic per square (0 for blank)
 
Posted by UnknownAlly 8th January, 2009

Thats uber cool!
Too bad it can't compete with real 3D but its a must have for any game maker.
 

 



Author

Favourite



Advertisement

Worth A Click