I have only three requests

Posted By: localgod5

I have only three requests - 03/22/06 04:00

1. elseif statements
2. case statements
3. index array sets

1. right now else statements are a pain in the neck, not to mention a crap ton of lines of code for anything beyond 3 ifs

2. case statements might over ride the need for elseif statemnts, plus they are really easy to use.

3. index array sets would make things easier to handle when loading massive amounts of data into texts, as well as when using panels for example

instead of having to call every panel, when wanting to display a panel a text and a score instead of having to call each, placing them you could put a simple loop in to do all the work for you

function displaypanels()
var x;
while ( x < 32)
{
panel[x].pos_y = panel[x-1].pos_y + 5;
panel[x].pos_x = panel[x-1].pos_x;
panel[x].alpha = 80;
text[x].pos_y = panel[x-1].pos_y + 5;
text[x].pos_x = panel[x-1].pos_x;
text[x].alpha = 80;
}

an that would creat all the panels with less code.

These ar just some ideas that would make programming in 3dgs easier.

Thanks for listen to me complain

Andrew Zicafoose
Posted By: Matt_Aufderheide

Re: I have only three requests - 03/22/06 05:24

All this and more is planned in the new lite-C compiler.
© 2024 lite-C Forums