Zooming camera - With FOV?

Discussion in 'Plugin Development' started by Wituz, Apr 5, 2012.

Thread Status:
Not open for further replies.
  1. Hello there. I am currently developing a gun plugin, including the spout plugin.
    I need to zoom in the player's camera. How to do that?
    I've seen it in other plugins like GUNS (look at spout.org, you'll find it)

    Thanks!
     
  2. I don't think Bukkit alone can do this. You probably have to use Spout for this effect.
     
  3. Offline

    dsmyth1915

    "including the spout plugin" I believe he is including spout. Anyway! This may help you out a lot. http://jd.spout.org/
     
  4. Arf... Me need new glasses...

    What I wanted to say is that this is the Bukkit forum. And as dsmyth1915 suggests, take a look at the community of Spout.
     
  5. hehe yes, but people here knows about spout too :)

    This dosen't answer my question :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
  6. Offline

    dsmyth1915

    The fact being, you will get more support in the spout forums than you will here. And the Java docs will help you anyway.
     
  7. Offline

    Njol

    I guess you're looking for this: Camera
    However I don't know how to get/set a player's camera. You might want to look at the source of the plugin you posted as example.
     
  8. I've checked the Guns+ plugin. In the GunUtils.java is a method called "zoomIn". This will probably be used to zoom in :)

    Hope you can learn from their example.
     
  9. Thank's for you help.
    I used the slowness effect twice to make a zoom effect :)
     
Thread Status:
Not open for further replies.

Share This Page