There are API's such as BitBlt, StretchBlt, and TransparentBlt to draw your tiles and sprites, but if you really some killer graphics in your game, then DirectX is the way to go, mostly cause you could either do 2D, or even full blown 3D! Like I said before, refer to my Massive DirectX Tutorial in my signature. Not to mention you are only limited to 255 objects on your form at once. Mostly cause you are unable to remove the background of your sprites so it blends. I found this out the hard way a couple years ago believe it or not.ĥ) Although its easy to get a game going using PictureBoxes and ImageBoxes if you are a beginner, this is not how it should be done. You can use class modules but dont use anything in there that will be called over and over.Ĥ) Always put the DoEvents at the end of the loop, not the beginning. Free and commercial.: Categorized code site.: Files categorized into several sections including I/O, Web, winsock, databases, subclassing, and OCX.: The VB and VBA users code in conclusion, its nearly twice as slow to call anything from a class module in your main game loop. All of the VB Source Code for these components is compatible with VB3, VB4, VB5 and VB6. The Button control is free and provides an example of how these controls are made. Also has many descriptions of MS Knowledge base articles.: Some handy code tips for the person learning to program.: Visual Basic Source Code for making Calendar, Clock, Slider, Scheduler and Command Button controls by using only a Picturebox. Including how to bind VB controls to Active X controls, a print spool monitor, and master/detail projects.: Includes getting file names, long file names, parsing strings, getting Windows and system directories, and passing a control array.: Includes samples on the MSN and Yahoo! Complete code and code snips for many projects.: Code examples, BAS files, custom controls, and freeware programs.: Examples of video capture techniques.: Offers source and step by step tutorials. Contains a lot of code from DevX and VBPJ.: Provide categorized collection code samples, sample projects.: Thousands of lines of Visual Basic, vbscript, java, javascript and active server pages code.: Open source ActiveX control to protect programs from piracy and allow online registration.: Very interesting code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |