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
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 14,141 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
Page 1 of 3 1 2 3
Lite-C vs. C-Script #134490
06/07/07 14:42
06/07/07 14:42
Joined: Apr 2007
Posts: 67
suriname0 Offline OP
Junior Member
suriname0  Offline OP
Junior Member

Joined: Apr 2007
Posts: 67
There I was, minding my own business, when I realized that I had no idea what Lite-C was. What is Lite-C? What makes it better than C-Script? Am I missing some obvious source for learning Lite-C? Is it like C or C++, but simpler? What do I need to run a Lite-C script in place of a C-Script script?

Somebody, please help me out here.


If I am posting, it probably means I am asking a question. Or faking my knowledge by agreeing with somebody else.
Re: Lite-C vs. C-Script [Re: suriname0] #134491
06/07/07 15:07
06/07/07 15:07
Joined: Nov 2003
Posts: 1,659
San Francisco
JetpackMonkey Offline
Serious User
JetpackMonkey  Offline
Serious User

Joined: Nov 2003
Posts: 1,659
San Francisco
C-Script is nice and easy, and harder to crash than lite-c. Personally i think c-script is better for non-hardcore programmers. I don't actually understand why Lite-C was implemented instead of something light but super powerful like Lua. I wouldn't work with Lite-C if you are starting, personally.

I think it is an add-on that costs more money, and it lacks the huge several year history that c-script does-- you can find c-script code here to do a million things.

Re: Lite-C vs. C-Script [Re: JetpackMonkey] #134492
06/08/07 00:57
06/08/07 00:57
Joined: Apr 2007
Posts: 67
suriname0 Offline OP
Junior Member
suriname0  Offline OP
Junior Member

Joined: Apr 2007
Posts: 67
Ok... You mentioned Lua. I've actually programmed in Lua a little bit. Could I write code in Lua for 3DGS?

But anyways, I guess I'll just use C-Script.


If I am posting, it probably means I am asking a question. Or faking my knowledge by agreeing with somebody else.
Re: Lite-C vs. C-Script [Re: suriname0] #134493
06/08/07 02:17
06/08/07 02:17
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline

Senior Expert
Orange Brat  Offline

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
If you are going to use A7 then learn Lite-C and forget about c-script. If you are going to stick with A6 then learn c-script and forget about Lite-C. C-script will disappear one day, and Lite-C is what is going to replace it. The only reason it's being kept in is for backwards compatibility, and I doubt it will be enhanced further unless some kind of major showstopper bug is found (then I think it would be foolish not to patch it for both A6 and A7). Lite-C is not a pay add-on. If you own A7, you have Lite-C for free, but there is also a pay version that is not connected to 3DGS. The only reason to know a bit about c-script would be for conversion to Lite-C purposes.


My User Contributions master list - my initial post links are down but scroll down page to find list to active links
Re: Lite-C vs. C-Script [Re: Orange Brat] #134494
06/08/07 19:34
06/08/07 19:34
Joined: Oct 2006
Posts: 1,245
A
AlbertoT Offline
Serious User
AlbertoT  Offline
Serious User
A

Joined: Oct 2006
Posts: 1,245
I just went through Lite_ C manual but I got the impression that it is smply C_script plus some additional syntax and custom made structures
If so there is no reason to stick to c_ script
you take a couple of hours to get familiar with Lite_C

Re: Lite-C vs. C-Script [Re: AlbertoT] #134495
06/09/07 07:14
06/09/07 07:14
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline

Senior Expert
Orange Brat  Offline

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
It's actually closer to ANSI C but with included instructions/syntax (like in c-script) that hook into the engine and are especially made for game features. Instead of writing 150 lines of code to do one simple thing, we still only have to maybe call one instruction as always; however we get the added power of a more standard programming language (but generally more simple for c-script trained scripters to toy with).


My User Contributions master list - my initial post links are down but scroll down page to find list to active links
Re: Lite-C vs. C-Script [Re: Orange Brat] #134496
06/09/07 10:35
06/09/07 10:35
Joined: Oct 2006
Posts: 1,245
A
AlbertoT Offline
Serious User
AlbertoT  Offline
Serious User
A

Joined: Oct 2006
Posts: 1,245
Quote:

with included instructions/syntax (like in c-script) that hook into the engine and are especially made for game features.




This is the reason why c-script and Lite_C have still an advantage over for example LUA or Phyton but for the same reason I dont see any advantage in using Lite_C as stand alone programming language

Re: Lite-C vs. C-Script [Re: AlbertoT] #134497
06/09/07 10:49
06/09/07 10:49
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline

Senior Expert
Orange Brat  Offline

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
Me neither; however it will be beneficial to learn it since that is going to become the offiial language and all new features will go there instead of the deprecated c-script. This same thing happened when they switched from WDL to C-script.


My User Contributions master list - my initial post links are down but scroll down page to find list to active links
Re: Lite-C vs. C-Script [Re: AlbertoT] #134498
06/09/07 12:23
06/09/07 12:23
Joined: Nov 2004
Posts: 7,121
Potsdam, Brandenburg, Germany
Machinery_Frank Offline
Senior Expert
Machinery_Frank  Offline
Senior Expert

Joined: Nov 2004
Posts: 7,121
Potsdam, Brandenburg, Germany
Quote:

Quote:

with included instructions/syntax (like in c-script) that hook into the engine and are especially made for game features.




This is the reason why c-script and Lite_C have still an advantage over for example LUA or Phyton but for the same reason I dont see any advantage in using Lite_C as stand alone programming language




I don't see this point.

You can create all those fancy special instructions in LUA as well. You can bind every command to a syntax and you are done.

I see another big problem for Lite-C vs. LUA: You have to work with pointers, instances, addresses in Lite-C but not in LUA. Because of that many users will create memory leaks in the future with Lite-C. Such things cannot happen in all the other script languages (LUA, Torque-Script, AngelScript or whatever). This is one of the reasons why all engines use script languages and no C.

The advantage of Lite-C is, that guys like JCL, Bloodline and other experienced C++ developers can do whatever they want. They can even call windows routines, OpenGL or DirectX.
And if the compiler is well-done then it might produce slightly faster code than other languages.

But a beginner will produce alot of problems with this approach.

So it is a dangerous way to go. We will see what happens in the future.
Gamestudio has been a tool for beginners and therefore was simple to use. This advantage disappears with LiteC in the future.

But if the language becomes professional then also the renderer has to become professional otherwise both types of customers (beginners and profis) will have problems with this product.


Models, Textures and Games from Dexsoft
Re: Lite-C vs. C-Script [Re: Machinery_Frank] #134499
06/09/07 12:33
06/09/07 12:33
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
Agree... I'm affraid that it will be for nobody
To simple for pro and to difficult for beginners

Proffesional user will chose C++ with f.e. Visual Studio and will be not happy and contentment with using C-lite and rookie will be confused with using it.
We will se what will happend

Simple question...
how many of us (c-script users) have changed to c-lite? 5-10% I'm affraid?

Last edited by tompo; 06/09/07 12:35.

Never say never.
Page 1 of 3 1 2 3

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