How do you make the view zoom out?

Non-platform specific questions.

How do you make the view zoom out?

Postby Freddy » Sun Mar 30, 2008 1:17 am

Ive been wondering this for a while, so if anyone knows, it would be really helpful. :)
Hola
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score

Re: How do you make the view zoom out?

Postby Game A Gogo » Sun Mar 30, 2008 3:59 am

go look in the demo page and search for "smash view" or something
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Re: How do you make the view zoom out?

Postby Freddy » Sun Mar 30, 2008 1:09 pm

I saw it, but I cant make any sense out of the code. (I think its because its all entangled with the distance of the player from the enemy)
All I want to have is 2 modes; normal, and zoomed out.
Hola
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score

Re: How do you make the view zoom out?

Postby speckford123 » Sun Mar 30, 2008 2:33 pm

woo, i never thought id see a mention of my "smash view" in another post!
well ill try and make something, but remember, if you can get by without the zoom, you probably should. it basicly ads alot of extra code
speckford123
 
Posts: 334
Joined: Fri May 05, 2006 6:33 pm
Score: 49 Give a positive score

Re: How do you make the view zoom out?

Postby Freddy » Sun Mar 30, 2008 2:50 pm

speckford123 wrote:woo, i never thought id see a mention of my "smash view" in another post!
well ill try and make something, but remember, if you can get by without the zoom, you probably should. it basicly ads alot of extra code

Lol, yeah, well it was after all the first demo that had a zoom in GE. How did you figure it out?
But what do you mean by "extra code", that doesnt sound too good. :|
Hola
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score

Re: How do you make the view zoom out?

Postby speckford123 » Sun Mar 30, 2008 3:19 pm

what i meant by extra code is that for my method with the canvas actor you would need code for every actor in the game, and clones dont work, only seperate actors im pretty sure, but i can still make a demo if you like
speckford123
 
Posts: 334
Joined: Fri May 05, 2006 6:33 pm
Score: 49 Give a positive score

Re: How do you make the view zoom out?

Postby Freddy » Sun Mar 30, 2008 3:37 pm

That would be great! (Ill give you a point or two) I just hope that its not too much coding. :wink:
You see, Im making a pacman game, and I made the animations for my pacman and ghosts a little big. So now, the maze is going to go off screen, and I would like it if everything could be squeezed in.
Anyway, even if I decide not to use the zoom out, Ill be glad to know it.
Hola
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score

Re: How do you make the view zoom out?

Postby speckford123 » Sun Mar 30, 2008 7:41 pm

well ill make a simple demo and put it up here, it might be different from what your doing but should be good for you to make your own code
besides if the pictures are too big......shrink them :wink:
speckford123
 
Posts: 334
Joined: Fri May 05, 2006 6:33 pm
Score: 49 Give a positive score

Re: How do you make the view zoom out?

Postby Freddy » Sun Mar 30, 2008 8:47 pm

speckford123 wrote:besides if the pictures are too big......shrink them :wink:

I would, but there are already so many pics, and ms pain cant shrink shrink without messing them up, is there something else that I can shrink them with?
Hola
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score

Re: How do you make the view zoom out?

Postby Kalladdolf » Sun Mar 30, 2008 8:49 pm

use MS Powerpoint.
it's the best shrinking software ever =D
or MS word
or MS publisher
or even MS Excel,
but goodness sake, those programs are exzellent! :mrgreen:
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: How do you make the view zoom out?

Postby Freddy » Sun Mar 30, 2008 9:42 pm

Allright, I was able to make everything work using the full screen option. It even looks a little better. At this point it's fine, but I would like it if I didnt have to run it in fullscreen mode, so I will still benefit from the demo.
:)
Btw, thanks for the advice anyway. :D
Hola
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score

Re: How do you make the view zoom out?

Postby Game A Gogo » Mon Mar 31, 2008 9:39 pm

if your images aren't bmp in ms paint, and you use the shrink function thing (image=>Strech/Skew) it will resize them a bit smoothly
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Re: How do you make the view zoom out?

Postby speckford123 » Wed Apr 02, 2008 12:16 am

ok, it took a while cause i was busy, but here it is :D
i hope that helps!

arrows to move and jump, spacebar to zoom out/in
Attachments
ZoomDemo.zip
zoom demo made for Freddy
(276.88 KiB) Downloaded 128 times
speckford123
 
Posts: 334
Joined: Fri May 05, 2006 6:33 pm
Score: 49 Give a positive score

Re: How do you make the view zoom out?

Postby MrJolteon » Fri Aug 22, 2008 4:02 pm

Hey, Freddy? You're making a pacman game? I can give you all my pacman graphics. They're made by me.
Attachments
loader.gif
Animation:-D
loader.gif (18.33 KiB) Viewed 1764 times
Pacman_Sheet.jpg
Pacman Sheet
Join us on Discord!
Game Editor 2
These are the best ways to reach me these days


Your local Community Janitor, always lurking in the shadows...
User avatar
MrJolteon
 
Posts: 2326
Joined: Sat Aug 09, 2008 3:25 pm
Location: Stranded under endless sky
Score: 105 Give a positive score

Re: How do you make the view zoom out?

Postby feral » Sat Aug 23, 2008 11:46 pm

speckford123 wrote:ok, it took a while cause i was busy, but here it is :D
i hope that helps!


this is very cool, speckford, I am so glad mr jolteon bumped this, because, I must of missed it the first time it was posted.. :?

very well done.. :)

Just a question tho, is it OK ? if I take this a little further, and code it up as some multipurpose easy to use math/zoom functions for everyone to use ?

PS: I know you already got a point for helping freddy - but I think it deserves a point for a general all round nice bit of coding :) +1 from me. and this should probably be moved or redone for the demo section (I think)
User avatar
feral
 
Posts: 308
Joined: Sun Mar 16, 2008 6:27 am
Score: 47 Give a positive score

Next

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron