dim3 Forum

Full Version: flying arena
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello everyone i have just a litle question:
how can i make a flying arena?
also if i fell of i fall down and die.
one more question how can i change the background colour(before i create something everything is black so i wanna change that or make another heaven can someone help me
Flying arena?
Do you mean an arena where you can fall off?
That's easy. Just create the arena. Smile
If you want the player to die when he falls off, place an invisible (0 alpha) liquid under the arena. Then set the damage extremely high.
To change the background color, you have to change the skybox. Create a texture for your sky (if it's a flat color, a 2x2 single color png will do) and go to the background/sky settings. The menu there is kind of self-explanatory but if you need help, just ask.
silverlit Wrote:hello everyone i have just a litle question:
how can i make a flying arena?
also if i fell of i fall down and die.
one more question how can i change the background colour(before i create something everything is black so i wanna change that or make another heaven can someone help me

Code:
obj.settings.fly=true;

Will turn on flying for your player, you might want to adjust a bunch of other properties after that to get the speed, acceleration, etc that you want.

As for background color, I'm not sure what you are talking about. Do you mean the static screens (like the intro or the join screen)? Those are in bitmaps/backgrounds. If you mean in a map, you'll need to go to the sky settings (in Editor) and make changes there. There's no way to effect the clear color, you'll need to use a background.

[>] Brian
Where is that code?
In the object that should fly Wink.
Patrick Smith Wrote:Where is that code?

Check out the latest player.js for an example, the "fly" mode works this way.

[>] Brian
Reference URL's