Advertisement

Results for "Volume: 2_2002-2004"

2_2002-2004 #120150
A Brief Introduction To Artificial Intelligence For Games

This article covers all the main methods of artificial intelligence in games. Ideal as an introduction to artifical intelligence, though I think most decent games programmers will know all this stuff anyway. Briefly covers Patterning, Finite-State Machines, Neural Nets, Genetic Algorithms and Algorithmics. Any comments greatly appreciated. Ta

2_2002-2004 #120151
True Dbgrid Class

How do you design your tdbgrid? For I know, designing grid takes a lot of time. So how is if it can be done in run-time, and stay permanently? leave grid as default in design and let users to change style as they like.

2_2002-2004 #120152
Circle Drawing Example

This code is simply to illustrate the mathematical operations necessary to draw a circle. Of course I realize VB has built in functions for this, but thought this might be useful for some to understand. In my example, I use a picture box with the PSet method to do the drawing.

2_2002-2004 #120153
_a3D christmas game_

This is my Christmas game. Its 3D and its 2 playered

2_2002-2004 #120154
RegSvr API

The purpose of this function is to register/unregister a DLL/OCX with NO INTERFACE. That's right, no message boxes (what a concept). It is in function form with an enumerated return value along with a PrintXXX function to convert a return value to string (my personal touch). This code was originally written by Herman Liu, but my 120 minutes of editing and consolodating is worth the ink.

2_2002-2004 #120155
CoolConvert

It converts many units, such as distaces, angles, numeric temperature, ... It can also helps for using tabs. Sorry, I haven't had enough time to comment it but I think it's readable.

2_2002-2004 #120156
RayTrace 1.1.14

This is the 3th submit of my great ray tracing code. Now it features: * Scanline culling (more speed) * Reflective objects * Diffuse lighting * Specular lighting * Ambient lighting * Sphere objects * Cylinder objects * Disk objects * plane objects Please vote for this great code!

2_2002-2004 #120157
The Fishing Game!

The title says it all! This is a game in where you fish! Has graphical interface (sorry about no screen shot, but I am having trouble uploading) and easy to use! (No sound in it, at least not yet.) Fully commented! Please vote and leave comments as you like! I don't know if it will work on all VB platforms, but I assume it should. Note: No fish were harmed in the making of this game :) .

2_2002-2004 #120158
Execute a file Correctly

It correctly executes a program

2_2002-2004 #120159
Invoice Program

My code calculates prices and prints a professional invoice which businesses can use.

2_2002-2004 #120160
Area Calculator

To calculate area for a circle, square and rectangle. It is a basic but I had nothing better to do.

2_2002-2004 #120161
File Transfer (LAN)

Lets you transfer files via LAN, using winsock. My version of gh0ul's example lets you pick buffer sizes and fransfers files faster. Credits go to gh0ul, for lots of the stuff seen in this app.

2_2002-2004 #120162
favorites

dynamically add your favorites/bookmarks to a menu file.

2_2002-2004 #120163
Checker Game

This is a Game where you see how many Check Boxes you can click in so many seconds. I know it sounds dumb but it's competitive. Especially on 20 seconds. Please email me with comments.

2_2002-2004 #120164
Download a File

This program downloads a file. It was very easy to do. I have been looking for one that works with my IE proxy and couldn't find one. They all used my 2nd proxy server instad of the first, or they asked my for the server IP, The way I have it set it will use the IE proxy to download my files, and leave the second server for Netscape. (I have one connection for IE and another for Netscape, for reasons you don't need to know) Download it and try it. Works great.

2_2002-2004 #120165
IConnect

Iconnect as a highly cusomizable IP-Publisher; it can be used to: optimize remote-control connections (even via modem) to your computer, launch your webserver (or other programs) and shutdown your system after disconnect (if you want).

2_2002-2004 #120166
D3DWorld Version 2.0 (Direct3D 8)

Version 2.0.0 of Richard Hayden's D3DWorld is a great improvement on version 1 (D3DScene) of my Direct3D 8-based 3D world. Lighting is now used in many shapes and forms to enhance this scene. I have also improved the program, making it more efficient and it runs slightly faster. I have added a church-style building to the world (complete with stained-glass windows), which looks pretty effective. Six times of day are now simulated realistically using lighting. The screenshot below was taken when the time of day was set to evening. Next I hope to add collision detection and transparency and billboarding, to simulate objects like trees etc. If anyone can help with the collision detection and transparency areas, then please do. ([email protected]). I also hope to make a more realistic sky. So look out for any proceeding versions! Please vote and/or provide feedback in return for me making this code available to you! On my last submission I was quite dissapointed that out of about 400 visits, there were only 4 votes and about 2 feedbacks, apart from my own 2 comments. Really, the least people can do for developers who put up their code here for free, is to rate it!

2_2002-2004 #120167
VB, Assembler & Resource files

VB, Assembler & Resource files by Robert Rayment (see small update below) Only those interested in this topic should download these files. If you have been following some of the VB+assembler progs I've been putting on PSC you may have noticed that the assembly part is either in a bin file (com in earlier examples) or in a DLL. The disadvantage of both these is that they need to be in the same folder as the prog. This is OK for testing but is a nuisance for an EXE. Also we're usually talking about small bits of assembler to beef up parts of VB (Heineken approach). The DLL may be specific and so is not appropriate to register. Assembled snippets are often much faster than VB. Also, once you've got over the red-tape and peculiarities of the particular assembler, its often _easier_ (this may be a secret so don't tell anyone) A DLL has a minimum size of 16KB and a bin file 4KB (cluster size). What this submission shows is how to put your assembler code into a resource file which gets incorporated into an EXE freeing it from associations and only taking a few more bytes than the bin file size. A 32-bit Hex/Long integer/Binary converter is developed to demonstrate these techniques. The zip file is ~11KB. UPDATE: it is possible to simplify the load from res by InCode = LoadResData(101, "CUSTOM") lpMCode = VarPtr(InCode(0)) avoiding the save to disc. Make sure to delete the line lpMCode = VarPtr(InCode(1))

2_2002-2004 #120168
An Efficient Directory Scanner

Hello Friends, I'm back this time with another COM which scans for directories/folder. Many will appreciate this effort simply because this COM searches for folders and subfolders from a given path and populating it in an array. Some of you may ask "Well ...so what's new? ...aren't there applications that already do that?" ... my answer is YES, there are others too ...but maybe not as efficient or fast as this one. This COM uses the "iterative flag check" algorithm to eliminate redundant entries and also avoid skipping over unchecked paths. Besides, this is a COm ...so you can now use it along your VB/VBA/ASP application ...with the ease of just a few lines of coding!! To try an example of its efficiency,I'd suggest that you start a "Standard EXE Application" in VB, reference(Project->References) this component(ArunSysUtils.dll), add a command button and a list box. You will find a demo project that uses the COM called Client.vbp

2_2002-2004 #120169
RecipeDB

Example of how to use DAO to create and manage a database using the Jet Engine ... You must include the DAO Object library using the referneces selection from the Project menu item. I used 3.6 in testing however, it should be fine with 3.51. This is also a good example for new programmers who want to learn SQL.

Languages
Top Categories
Global Discovery