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
I have only three requests #67643
03/22/06 04:00
03/22/06 04:00
Joined: Oct 2004
Posts: 93
L
localgod5 Offline OP
Junior Member
localgod5  Offline OP
Junior Member
L

Joined: Oct 2004
Posts: 93
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


The best code is already written, So if you understand it, "use" it.
Re: I have only three requests [Re: localgod5] #67644
03/22/06 05:24
03/22/06 05:24
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
All this and more is planned in the new lite-C compiler.


Sphere Engine--the premier A6 graphics plugin.

Moderated by  aztec, Spirit 

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