Gamestudio Links
Zorro Links
Newest Posts
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
4 registered members (AndrewAMD, Baklazhan, Ayumi, Hanky27), 1,387 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
C-Script Outdated in A7? #124936
04/19/07 03:52
04/19/07 03:52
Joined: Mar 2007
Posts: 677
0x00000USA
M
MrCode Offline OP
User
MrCode  Offline OP
User
M

Joined: Mar 2007
Posts: 677
0x00000USA
Hi. This is a really crucial question that I've been asking myself (and half-answering with "No, of COURSE NOT! But then again..." ).

I've heard so much talk about this Lite-C business for A7. Is this going to be the primary scripting language, with C-Script being the underdog?

Please reply, because I'm still learning C-Script and I'm just getting the hang of it, and I don't want to have to learn an entirely new syntax.


Code:
void main()
{
    cout << "I am MrCode,";
    cout << "hear me roar!";
    system("PAUSE");
}
Re: C-Script Outdated in A7? [Re: MrCode] #124937
04/19/07 06:14
04/19/07 06:14
Joined: Aug 2006
Posts: 652
Netherlands
bstudio Offline
User
bstudio  Offline
User

Joined: Aug 2006
Posts: 652
Netherlands
Well, lite-c isn't a real big leap from c-script. It's also verry C like. So you'll get the hang of it in not time


BASIC programmers never die, they GOSUB and don't RETURN.
Re: C-Script Outdated in A7? [Re: bstudio] #124938
04/19/07 07:59
04/19/07 07:59
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
FoxHound Offline
Expert
FoxHound  Offline
Expert

Joined: Jun 2004
Posts: 2,234
Wisconsin USA
if you're getting A7 then I would got with lite-c, simply becasue it's not that much harder and will go a lot further if you want to code in langagues outside of 3dgs.


---------------------
There is no signature here.


QUIT LOOKING FOR ONE!
Re: C-Script Outdated in A7? [Re: MrCode] #124939
04/19/07 08:57
04/19/07 08:57
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
Now is C-Script, in A7 will be Lite-C...
So in A8 will be full C++ ?!


Never say never.
Re: C-Script Outdated in A7? [Re: tompo] #124940
04/19/07 11:42
04/19/07 11:42
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Yes, C-Script will finally become the "underdog" one day. However, there's a huge number of C-Scripts and C-Script projects, so A7 will fully support C-Script during its lifetime.

Re: C-Script Outdated in A7? [Re: jcl] #124941
04/19/07 15:10
04/19/07 15:10
Joined: Oct 2003
Posts: 702
Z
zazang Offline
User
zazang  Offline
User
Z

Joined: Oct 2003
Posts: 702
So does that mean that C-script vars,functions like c_trace will
also be gone ?


I like good 'views' because they have no 'strings' attached..
Re: C-Script Outdated in A7? [Re: zazang] #124942
04/19/07 21:56
04/19/07 21:56
Joined: Mar 2007
Posts: 677
0x00000USA
M
MrCode Offline OP
User
MrCode  Offline OP
User
M

Joined: Mar 2007
Posts: 677
0x00000USA
@ jcl: Thanks, that's a huge relief.


Code:
void main()
{
    cout << "I am MrCode,";
    cout << "hear me roar!";
    system("PAUSE");
}
Re: C-Script Outdated in A7? [Re: MrCode] #124943
04/20/07 03:36
04/20/07 03:36
Joined: Oct 2003
Posts: 702
Z
zazang Offline
User
zazang  Offline
User
Z

Joined: Oct 2003
Posts: 702
sorry to repost but does anyone know if C-script vars,functions like c_trace will
also be gone when Lite-C evolves ?


I like good 'views' because they have no 'strings' attached..
Re: C-Script Outdated in A7? [Re: zazang] #124944
04/20/07 03:58
04/20/07 03:58
Joined: Sep 2001
Posts: 120
Chicago, IL
Marcus729 Offline
Member
Marcus729  Offline
Member

Joined: Sep 2001
Posts: 120
Chicago, IL
zazang,

I don't want to totally expound on this but to give you a brief look I have copied the example from the Lite-C part of the manual showing you the C_Trace command:
Quote:

Example:
// test the floor texture
vec_set(temp, my.x);
temp.z -= 500; // trace downwards 500 quants below
c_trace (my.x,temp,IGNORE_ME|IGNORE_PASSABLE|IGNORE_MODELS|IGNORE_SPRITES|SCAN_TEXTURE);
// now TEX_NAME is set to the floor name below the MY entity
...
// look if the YOU enemy can be shot at from my position, and if yes, hurt him
c_trace (my.x,your.x,IGNORE_ME|IGNORE_PASSABLE|ACTIVATE_SHOOT);
// if entity YOU was visible from MY position, its SHOOT event was triggered





You really should get the Lite-C free version and tutorial and look through them.

I think this should give you a better idea of what Lite-C is all about. A brief summary is the C-Script vars and commands are available in Lite-C.

Lite-C adds more variable types, arrays, structures and access to other software (COM components). Many of these additional features can be left alone until you are more comfortable with Lite-C overall.

Then you can explore these additional capabilities as your needs and time allows.

Don't let the name and capabilities scare you un-necessarily. Whether you believe it or not if you have been using C-Script you have been programming. The routines you created in C-Script have their exact counter parts in Lite-C for the most part.

So take it slowly and give it a shot. George's workshops are a great place to start.

So go grab the free version and have at it. Remember its free, so what do you have to lose?

Marcus

Last edited by Marcus729; 04/20/07 04:00.
Re: C-Script Outdated in A7? [Re: Marcus729] #124945
04/20/07 04:44
04/20/07 04:44
Joined: Oct 2003
Posts: 702
Z
zazang Offline
User
zazang  Offline
User
Z

Joined: Oct 2003
Posts: 702
Thanks Marcus but I have been programming and making a living out of this engine for the past 7 years
Thats why I am so bothered...I really love the engine functions
and I just wanna now if they will remain in lite-c or they will
phased out eventually !

Page 1 of 2 1 2

Moderated by  old_bill, Tobias 

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