Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [SOLVED] appgamekit (classic) directional light (and show version number)

Author
Message
rudyardcatling
6
Years of Service
User Offline
Joined: 3rd Nov 2017
Location:
Posted: 20th Aug 2021 05:08
Hi,
i notice the command(s) used here

https://www.appgamekit.com/documentation/Reference/3D/ObjectSphereSlide.htm
CreateLightDirectional(1,-1,-1,0.5,255,0,0)

and here

https://www.appgamekit.com/documentation/Reference/3D/SetObjectLightMode.htm
CreateLightDirectional(1,-1,-1,0.5,255,0,0)
CreateLightPoint(1,0,50,0,800,0,255,0)

give "unrecognized command" though it says usable for agk v1 and v2 in the tutorial

im using agk on linux , i cant seem to find a version number in te IDE or a command that prints it

anyone ?

The author of this post has marked a post as an answer.

Go to answer

blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 20th Aug 2021 07:07
I think those commands have been retired.
Now they use the CreatePointLight() and the "PointLight" group of commands
Jeff Miller
19
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: New Jersey, USA
Posted: 21st Aug 2021 14:57
This post has been marked by the post author as the answer.
The Directional light is now the Sun. Use the command SetSunDirection. in the Lights section of the 3D commands group.
rudyardcatling
6
Years of Service
User Offline
Joined: 3rd Nov 2017
Location:
Posted: 21st Aug 2021 17:12
thanks ... its a bit confusing since afaik all commands from the newer visual are available in the original but the online docs there use it still and i figured maybe some addon with directional/spotlights but its the sun ... cool, i stand informed

Login to post a reply

Server time is: 2024-03-28 17:19:30
Your offset time is: 2024-03-28 17:19:30