Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (vicknick, 7th_zorro, 1 invisible), 887 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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 | chip programmers | 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