Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Zoom In/Out  (Read 2748 times)

0 Members and 1 Guest are viewing this topic.

fsk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • View Profile
    • My blog
Zoom In/Out
« on: March 24, 2010, 01:16:10 PM »

Hello Everyone!
Can i put a zoom (in/out) button for example in my game?
If i can, is there any code or sample or something to understand?
Thanks!!! :)
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Zoom In/Out
« Reply #1 on: March 24, 2010, 05:54:28 PM »

It depends on what you want to zoom. The entities and actors have a .Scale property, which you can use to scale them. That would be the way of implementing some kind of zooming.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

fsk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • View Profile
    • My blog
Re: Zoom In/Out
« Reply #2 on: March 24, 2010, 06:37:23 PM »

I think about a game like sims, you know! zoom in-out / spin etc buttons..
But thanks for your answer! :)
Logged
 

Page created in 0.042 seconds with 23 queries.