waiting for sounds to finish most of the time. i don't know of any other time i'd need to make it wait. but when i say creating forms i'm talking about making general programs also. oh, so a timer is just like a control, i see. in autoit you have the sleep function for it waiting, the TimerInit function to initialise a timer,k the TimerDiff function to work out the time on the timer, but, well, maybe i should stick to vb for making game programs, at least for the moment, if i'm to get some fun out of it without getting frustrated with c *smile*
regards, damien ----- Original Message ----- From: "Thomas Ward" <[EMAIL PROTECTED]> To: "Gamers Discussion list" <gamers@audyssey.org> Sent: Monday, October 30, 2006 4:31 AM Subject: Re: [Audyssey] Learning VisualBasic > Hi Damion, > > Snip > There are still basic concepts i don't know how to code in vb, like how > to make it > wait, how to create arrays, how to use timers, position forms... > End Snip > > When you mean make it wait are you waiting on a certain sound to finish, > wait for a Windows message cue, or what exactly do you need to know > about waiting. > As far as arrays goes any VB book has good documentation on how to > create an array. They are actually quite easy to work with. > As far as timers goes those are easy as well. Select one from the > toolbox, place it on your form, and go in to it's properties. Name it, > set it for how many cycles per second you want it to update, and press > enter on the timer control and VB will nicely create the function for > you. From that point just put code in it like any other function that > needs to be updated every so many times per second. All you need to do > from that point is enable or disable the timer in another function like > GameTimer.Enabled = True. > As far as potioning forms I don't see you needing to fool with Forms > much. The only major form you will have to deal with is the main form > where your game code will go. > > > _______________________________________________ > Gamers mailing list .. Gamers@audyssey.org > To unsubscribe send E-mail to [EMAIL PROTECTED] You can visit > http://audyssey.org/mailman/listinfo/gamers_audyssey.org to make > any subscription changes via the web. > > > _______________________________________________ Gamers mailing list .. Gamers@audyssey.org To unsubscribe send E-mail to [EMAIL PROTECTED] You can visit http://audyssey.org/mailman/listinfo/gamers_audyssey.org to make any subscription changes via the web.