Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by dr_panther. 05/18/24 11:01
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
2 registered members (7th_zorro, dr_panther), 724 guests, and 3 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
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 | 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