This site requires JavaScript, please enable it in your browser!
Greenfoot back

FlyingRabidUnicornPig's Comments

Back to FlyingRabidUnicornPig's profile

Looks interesting, can't wait to see what you do with this. Also, my laptop has a resolution of 1280 X 800, so I can't see the whole thing at once in browser. If you are concerned at all about fixing this (And I don't really care if you want to focus on the people with lower-resolution monitors or not), lower the world resolution, then use Gevater_Tod4711's fullscreen methods to make it big (it works in the client, not the browser)
Also, after rotating the cube around different ways, The texture doesn't seem to appear properly, just the background color (offline, just grey). But if you set it to a sphere, you can actually see the texture.
Set the position before making it look at earth.
@edgaraxe make sure the "Publish source code" button is checked before updating.
Try this: "setPos(50,0,0)
Turns out the texture is set on top of the cube, so you're going to have to rotate it a different way. Also, you *can* say "cube" or "sphere" for set geometry. My bad.
Aha! You never set a position to the camera. The camera exist, and it is somewhere, and it's looking at your model, but it's not close enough to view it! Use Camera.setPos(x,y,z) to set the position. Also do some tinkering with the scaling to figure out a good scale for the model.
You need to add a texture to the model. You can supply an image name or (I believe a GreenfootImage if you want)