arpruss / raspberryjammod

Raspberry Jam Mod - a Mod Forge Minecraft mod implementing most of Raspberry Juice/Pi API
http://www.instructables.com/id/Python-coding-for-Minecraft/
Other
355 stars 95 forks source link

How to use camera #32

Closed matcool closed 6 years ago

matcool commented 6 years ago

i cant get it to work, and the example uses some weird pygame functions that gave me errors

arpruss commented 6 years ago

These functions are only present in some Windows builds, I think.

matcool commented 6 years ago

Well could you atleast show me examples? when i do mc.camera.setPos(0,30,0) nothing happens.

arpruss commented 6 years ago

Oh, that's completely different from the pygame stuff.

Anyway, the in-game camera controls are an experimental extension to the API, and I haven't tried them for many versions.