![]() |
... - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: ... (/showthread.php?tid=1114) |
... - William - 20-07-2007 I reached the max amount of controls on frmMirage... Re: ... - Harry - 20-07-2007 You have 255 controls? 0_O Re: ... - Dragoons Master - 20-07-2007 I reached that a long time ago, just make objects arrays, like, don't use optGround, optMask, optAnim, optFringe, etc. Use optLayer(0), optLayer(1), optLayer(2), optLayer(3), optLayer(etc). And repeat the process... It takes a while xD Re: ... - Matt - 20-07-2007 Dragoons Master Wrote:I reached that a long time ago, just make objects arrays, like, don't use optGround, optMask, optAnim, optFringe, etc. Use optLayer(0), optLayer(1), optLayer(2), optLayer(3), optLayer(etc). And repeat the process... It takes a while xD That's pretty smart. Of course, you remove quite a bit of controls if you move the map editor. Re: ... - William - 20-07-2007 Dave Wrote:Looks like it's time to start coding efficiently.It has nothing to do with that. I have so many labels due to the item description, spell description and stats menu. And also because I have so many menus.. I dont have the map editor on frmMirage. Gotta remove many controls though, so making them into arrays just counts as 1. Nice Re: ... - Iluvlamp - 20-07-2007 Simple: Draw everything on screen through DirectX =P Re: ... - bhenhur - 20-07-2007 I know I'm suppose to be supportive of you William, but having 200+ controls on one form is ridiculas. I know i saw a lot of controls on the form when i looked at it but i didn't know it was 200+. Re: ... - Iluvlamp - 20-07-2007 bhenhur Wrote:I know I'm suppose to be supportive of you William, but having 200+ controls on one form is ridiculas. I know i saw a lot of controls on the form when i looked at it but i didn't know it was 200+.Well depending on what each control is doing, it shouldn't slow down an average computer these days, so in reality, it's only a mess, not a something that's bad... unless you're like me and hate messes. Re: ... - Robin - 20-07-2007 Ew. I don't even have 50 > Re: ... - bhenhur - 20-07-2007 Iluvlamp Wrote:bhenhur Wrote:I know I'm suppose to be supportive of you William, but having 200+ controls on one form is ridiculas. I know i saw a lot of controls on the form when i looked at it but i didn't know it was 200+.Well depending on what each control is doing, it shouldn't slow down an average computer these days, so in reality, it's only a mess, not a something that's bad... unless you're like me and hate messes. lol, cant stand messy projects & code. I sometimes take a whole minute just to come up with the best name for a variable. :? Re: ... - William - 21-07-2007 My frmMirage is covered with labels, lets count some on it. I got: Spell Description: 28 Item Description: 16 Trade Menu: 26 Never mind, lets just look at this.. http://img442.imageshack.us/img442/5484/hmmiw5.png There are just so many things that I need on frmMirage. Guess I could put a few menus in other forms, but does it really matter. Re: ... - Iluvlamp - 21-07-2007 bhenhur Wrote:Oh god... I need to have the perfect variable names too... *type*.... *backspace*....*type*....*backspace*...etcIluvlamp Wrote:bhenhur Wrote:I know I'm suppose to be supportive of you William, but having 200+ controls on one form is ridiculas. I know i saw a lot of controls on the form when i looked at it but i didn't know it was 200+.Well depending on what each control is doing, it shouldn't slow down an average computer these days, so in reality, it's only a mess, not a something that's bad... unless you're like me and hate messes. If I really don't care I just use single letters =P William Wrote:My frmMirage is covered with labels, lets count some on it. I got:Why not make all of the non-changing labels all object arrays. They'll only take up one count of control on the form even if you have like 100. Re: ... - William - 29-07-2007 I will remove all the edit forms efore release. There aint really many controls I can get rid of o my frmMirage.. |