Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 16,232 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
looking for nonerror skycube tutorial :) #253080
02/22/09 16:04
02/22/09 16:04
Joined: Oct 2008
Posts: 112
N
Ness Offline OP
Member
Ness  Offline OP
Member
N

Joined: Oct 2008
Posts: 112
hello i never found a good skycube tutorial with a small source which has no errors in it! It would be nice if someone could explain or give me an tutorial how to include skycubes!
I need one good skycube and want to know how to use it smile
greetings ness

Re: looking for nonerror skycube tutorial :) [Re: Ness] #254046
02/28/09 18:05
02/28/09 18:05
Joined: Oct 2008
Posts: 112
N
Ness Offline OP
Member
Ness  Offline OP
Member
N

Joined: Oct 2008
Posts: 112
Well if i use the template sky on the blocks
i can see a blue blurred area under the sky!
How can i disable this?
The only thing is a skybox but i didnt found any good tutorial for skycubes which functioned.
greetings Ness

Re: looking for nonerror skycube tutorial :) [Re: Ness] #254051
02/28/09 18:13
02/28/09 18:13
Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
George Offline

Expert
George  Offline

Expert

Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
Here's the code for a sky cube:

STRING* test_wmb = "test.wmb"; // put your own level name here

void main()
{
fps_max = 70;
video_mode = 7; // run in 800x600 pixels
video_depth = 32; // 32 bit mode
video_screen = 1; // start in full screen mode
level_load (test_wmb);
wait (3);
ent_createlayer("skycube+6.tga", SKY | CUBE | VISIBLE , 1);
}

Re: looking for nonerror skycube tutorial :) [Re: George] #254055
02/28/09 18:26
02/28/09 18:26
Joined: Oct 2008
Posts: 112
N
Ness Offline OP
Member
Ness  Offline OP
Member
N

Joined: Oct 2008
Posts: 112
did i passed something???
void main()?
what the hell is that?

Re: looking for nonerror skycube tutorial :) [Re: Ness] #254059
02/28/09 19:50
02/28/09 19:50
Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
George Offline

Expert
George  Offline

Expert

Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
You can use function main instead of void main if you want to.


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1