Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, VoroneTZ), 740 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 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