Discovery
- Posted by Paul Kerslake <paulk at UNISERVE.COM> Aug 31, 2000
- 470 views
------=_NextPart_000_0007_01C0132E.BD389800 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'vve learnt a few things over the time that I've been programming. Most = of you may already know these things but for those who don't: 1. Organize your programs, I've had countless mess-ups due to a sloppy = layout. 2. Use the Clone option, Sometimes I find it best to try out something = small and then put in my main program.=20 3. Make CLEAR variable names, they don't necessarily have to be long; = they just have to make sense: Lets say you had this: sequence f1,f2 --Lets say these are for a "Fighter" attacking. f1=3Dread_bitmap("fswing1.BMP") f2=3Dread_bitmap("fswing2.BMP") But it would be better to have: sequence fat1,fat2 (fat1=3D fighter attack {frame} 1) I hope these help you out. -----Thomas ------=_NextPart_000_0007_01C0132E.BD389800 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I'vve learnt a few things over the time = that I've=20 been programming. Most of you may already know these things but for = those who=20 don't:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>1. Organize your programs, I've had = countless=20 mess-ups due to a sloppy layout.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>2. Use the <STRONG>C</STRONG>lone=20 option</FONT><FONT face=3DArial size=3D2>, Sometimes I find it best to = try out=20 something small and then put in my main program. </FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>3. Make CLEAR variable names, they = don't=20 necessarily have to be long; they just have to make sense:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Lets say you had this:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>sequence = f1,f2 =20 --Lets say these are for a "Fighter" attacking.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial = <DIV><FONT face=3DArial size=3D2> <DIV> <DIV><FONT face=3DArial = <DIV> </DIV> <DIV>But it would be better to have:</DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>sequence fat1,fat2</FONT></DIV> <DIV> </DIV> <DIV>(fat1=3D fighter attack {frame} 1)</DIV> <DIV> </DIV> <DIV>I hope these help you out.</DIV> <DIV> </DIV> <DIV>-----Thomas</DIV> <DIV> </DIV> ------=_NextPart_000_0007_01C0132E.BD389800--