The Daily Click ::. Forums ::. Non-Klik Coding Help ::. Zoom in MMF2
 

Post Reply  Post Oekaki 
 

Posted By Message

Hagar

Administrator
Old klik fart

Registered
  20/02/2002
Points
  1692

You've Been Circy'd!Teddy Bear
10th May, 2007 at 07:56:05 -

I remember a zoom tutorial in TGF, using a DLL if i remember.

Is there an object or something to do this full screen Zoom in MMF2? It would really make overhead driving games class, like in the original GTA, when you drive really fast, the camera zooms out so you can see more of the road in front.

Had MMF2 for ages, and need something to work on , have not even run it for months

 
n/a

Hayo

Stone Goose

Registered
  15/08/2002
Points
  6946

Game of the Week WinnerHas Donated, Thank You!VIP MemberGOTM 3RD PLACE! - APRIL 2009Weekly Picture Me This Round 27 Winner!Weekly Picture Me This Round 41 Winner!Weekly Picture Me This Round 45 Winner!
10th May, 2007 at 10:24:02 -

Hagartech!!!

I remember that zoom object as well, but it seemed kind of buggy

 
www.hayovanreek.nl

The Chris Street

Administrator
Unspeakably Lazy Admin

Registered
  14/05/2002
Points
  48487

Game of the Week WinnerClickzine StaffAcoders MemberKlikCast StarVIP MemberPicture Me This Round 35 Winner!Second GOTW AwardYou've Been Circy'd!Picture Me This Round 38 Winner!GOTM December Third Place!!
I am an April FoolKliktober Special Award Tag
10th May, 2007 at 10:58:26 -

Yup, I remember a callDLL command which utilised the zoom thingy. If I remember correctly Bernie of Fallen Angel used it for one of his games, back in the day.

 
n/a

Hagar

Administrator
Old klik fart

Registered
  20/02/2002
Points
  1692

You've Been Circy'd!Teddy Bear
10th May, 2007 at 11:31:05 -

Yes i am not deceased, further studies (Might be becoming a Dr! ), women (main reason ) and general life have kept me away from click .

Personally i dont think i am qualified to become a Dr., as i lack a beard hehe.

Hayo and Chris thats the thing i am on about it was buggy , i kind of hoped there was something kick ass in MMF2.

I was making a Overhead Mario Kart game in TGF, got annoyed with TGF and brought MMF2 then got bored as it does not import stuff from the advanced math object and i would have to completely recode the engine...Which i almost finished, but then the summer holidays finished .

I might upload the TGF version engine to upset the TGF naysayers





 
n/a

The Chris Street

Administrator
Unspeakably Lazy Admin

Registered
  14/05/2002
Points
  48487

Game of the Week WinnerClickzine StaffAcoders MemberKlikCast StarVIP MemberPicture Me This Round 35 Winner!Second GOTW AwardYou've Been Circy'd!Picture Me This Round 38 Winner!GOTM December Third Place!!
I am an April FoolKliktober Special Award Tag
10th May, 2007 at 14:34:52 -

The callDLL feature isn't in MMF2 yet, I don't think. However, I do believe theres a zoom extention for it, could be wrong though.

 
n/a

Bibin

At least 9001

Registered
  01/07/2005
Points
  308

Silver Cup WinnerGOTW Winner!Has Donated, Thank You!VIP Member
10th May, 2007 at 15:27:47 -

I made a tutorial about this in downloads. Check my profile for it.

 
n/a

Joshtek

Administrator
The Archivist

Registered
  02/01/2002
Points
  3728

Game of the Week WinnerHas Donated, Thank You!Mr BallPicture Me This Round 50 Winner!
23rd May, 2007 at 01:55:09 -

You should be able to do zoom in MMF2 using the Viewport object.

 
:: Joshtek ::


Oreos? GO! OREOS!

Hagar

Administrator
Old klik fart

Registered
  20/02/2002
Points
  1692

You've Been Circy'd!Teddy Bear
7th June, 2007 at 19:07:30 -

Many Thanks Bibin and Joshtek

 
n/a

Andos



Registered
  15/05/2002
Points
  48

Has Donated, Thank You!Game of the Week WinnerVIP Member
21st July, 2007 at 15:23:29 -

Lens object can zoom yes, but it is per-pixel operations which is insanely slow without hardware acceleration.
ViewPort object does it the fastest way possible in software mode currently

A tip to keep the ViewPort object on top of everything:
Put it on a seperate layer above the gameplay layer. That way newly created objects will not appear on top of the object and not be zoomed by the object.
That way you can also allow zooming while still having a GUI for your game that isn't affected by having that on a layer above the ViewPort object
You won't get that functionality with the old zoom object.

Image Edited by the Author.

 
//Andos - www.andersriggelsen.dk

Disthron



Registered
  08/02/2005
Points
  1101

VIP Member
11th January, 2008 at 07:43:35 -

Hi every one. I've played around with the Viewport object and it seems to have one drawback when using it for this purpose. It seems that you can't have a level that is larger than the screen. In the example that the crater maid he set the screen to a really huge size and then maid the window smaller to allow the playing feald to scroll in the view port. The problem comes when you try to put in full screen mode. In a normal game the playing feald could just scroll with the player but when you use the viewport object it only seems to store the first screens worth of the playing feald.

So if you wont to have a full screen resolution of 800x600 but a playing feald of, say 3200x600 (4 screens long) you would get 1/4th the way and then the object you were tracking would go into black.

As for the lens object in can zoom in and out and go over multipul screens however, it is very slow. As others have said. I tryed looking up the tutorial that Bibin had in his profile but the link seems to be broken.

If any one knows if there is a way to fix this "no multipul screen scrolling" ishue with the vewport object then I'd love to know. I could use it to really good effect in my game.

 
"Oh, my god! A lightning monster just ripped out this poor woman's eyes, and your mocking her shrubbery!" - The Spoony One

Jimbob

Possibly Insane

Registered
  12/07/2002
Points
  2211

Game of the Week WinnerAcoders MemberKlikCast StarVIP MemberGOTW WINNER 08-2010
12th January, 2008 at 13:49:48 -


Originally Posted by Jonathan Smeby
Heh did Zoomman ever come out? That looked cool.



Mr. Jeffries lost all the code for that when his laptop got stolen unfortunately.

 
http://www.acoders.com

Jared B.



Registered
  29/02/2008
Points
  5
18th April, 2008 at 13:48:30 -

Here's an example I made using the viewport object.
http://files.filefront.com/speed+examplemfa/;10032004;/fileinfo.html

Image Edited by the Author.

 
I reject your reality and substitute my own

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
18th April, 2008 at 20:16:33 -

If you're using MMF2 with hardware acceleration, you can use the zoom pixel shader on an entire layer and it'll let you zoom in and out.

 
http://www.facebook.com/truediamondgame
   

Post Reply



 



Advertisement

Worth A Click