Advertisement

Results for "Author: joshd"

2002VB #19674
AI Chat

A REALLY simple way to do AI chatting. Uses the instr function to see if a word exists in a question. Show how to use instr, arrays, sesquentenial file reading/writing. I haven't programmed in much question's (open chat.dat in notepad) follows structue keyword1,keyword2,keyword3,answer (comma seperates, must do comma even if you use only 1 or 2 keywords)

2002VB #19675
Graphics Engine *v2*

Envision 2d Engine BETA 2: Heaps of easy to use graphics functions -Animation in one line. -Easy sprite in one line. -Screenshots: Incremental file names. -ZOrder: Drawing objects in order. -Tiling: Some function incomplete Existing Functions: blending (by percentage), rotating, copying using a colourkey, creating masks, printing text with border/bg, and printing a custom bitmapped font. It also includes the "Envision" engine which has a few functions: validating paths, easy FPS counter, nice "stopwatch" style timer. To it use simply compile to a DLL and add a reference to it in your app. This app is a prelude to a pure VB 3D engine I am planning on. The engine will be based on the code I've already posted here - so have a look at my previous submissions I've spent a while on this so any feedback positive or negative (preferably positive) would be appretiated. PLEASE PLEASE vote!

2002VB #19676
Starfield

ANOTHER starfield (like there is not enough already) this is faily basic code using X,Y,Z distances, VERY simple 3D.

2002VB #19677
Merry Xmas

Merry Xmas - a little app that snows... the snow will roll down the trees and house. I'll prolly make this into a screensaver when I have the time.

ASP_Volume2 #30189
Quotes in Strings

If you ever wanted to have a string with quotes inside this is a handy tip.

ASP_Volume2 #30449
Basic Game Engine

This is a basic game - engine, very simple, intended as an idea. It refers to a mask to see where you can move. Can move left, right, jump(even while in mid air :) and shoot little red squares. Good for beginners. No tileing (yet).

ASP_Volume2 #31551
A 3d "starfield" with rotation

An update on my plain old starfield. This consists or a couple of hundred randomly placed stars that you can fly through. You can move forward using the "w" and "s" keys. You can rotate using the arrow keys. The rotating code is thanks to a tutorial at http://www.geocities.com/SiliconValley/Horizon/6933/3d.html. Please VOTE 'cause no one ever does.

ASP_Volume2 #31575
_3D space *improved*

A demo of an incomplete 3d engine for a strategy (space) game. It features a "sky box"(cylinder of stars) and the ability to load different models (with points, lines, faces and 2d sprites[eg. for planets]). Yet to implement filled faces and click detection. Can someone help me with this. When the user clicks on the screen I want to detect where it is in 3d space (it always be on the same plane as the planets [horizontal plane 15 below 0]). Tell me how it runs on your computer. I get about 20 on my 1Ghz (uncompiled). Leave a comment/suggestion and PLEASE vote if you like it. Controls are now: Left, right, up and down: strafe around y plane. w,s: move up and down. a,d: spin. r,f: look, up/down. I've done this kind of control because of the intended genre (obviously it won't br keyboard operated. Now backface removal is implemented, i might try to make this more efficient though. Next up I will add filled faces, shading(ie angle of face determines face colour), and implement painters algorithm. This simply determins which face is fartest away and draws it first etc.

ASP_Volume2 #32117
AI Chat

A REALLY simple way to do AI chatting. Uses the instr function to see if a word exists in a question. Show how to use instr, arrays, sesquentenial file reading/writing. I haven't programmed in much question's (open chat.dat in notepad) follows structue keyword1,keyword2,keyword3,answer (comma seperates, must do comma even if you use only 1 or 2 keywords)

ASP_Volume2 #32470
Screen Saver (re-submitted)

An almost-complete screen saver that fills your screen with (transperent) water and lets fish swim around. Uses bitblt and is fairly fast. Not customizable (yet) and designed for 800x600 res. Take a look. (I left out a module last submit)

ASP_Volume2 #32830
Liquid Paint *new*

For those who don't know what this does just d'load it and take a look. The premise is that you can draw pictures and they appear to "move" at the colours cycle. An update to the code I submitted last night. This version has: drawing with both squares and circles, as well as delete. It also allows you to change the colour scheme to get different effects.

ASP_Volume2 #32869
Merry Xmas

Merry Xmas - a little app that snows... the snow will roll down the trees and house. I'll prolly make this into a screensaver when I have the time.

ASP_Volume2 #34023
Graphics Engine *v2*

Envision 2d Engine BETA 2: Heaps of easy to use graphics functions -Animation in one line. -Easy sprite in one line. -Screenshots: Incremental file names. -ZOrder: Drawing objects in order. -Tiling: Some function incomplete Existing Functions: blending (by percentage), rotating, copying using a colourkey, creating masks, printing text with border/bg, and printing a custom bitmapped font. It also includes the "Envision" engine which has a few functions: validating paths, easy FPS counter, nice "stopwatch" style timer. To it use simply compile to a DLL and add a reference to it in your app. This app is a prelude to a pure VB 3D engine I am planning on. The engine will be based on the code I've already posted here - so have a look at my previous submissions I've spent a while on this so any feedback positive or negative (preferably positive) would be appretiated. PLEASE PLEASE vote!

ASP_Volume2 #36032
Beginners Tutorial

This tutorial is intended as a guide for people new to Visual Basic. It shows common coding conventions and basic use of VB. ============================================== 1. Option Explicit 2. Code Formatting 3. Commenting 4. Variable Types 5. Static Variables 6. Global/Local Variables 7. Public/Private Functions 8. Arrays 9. Constants 10. Control Names 11. Variable/Constant/Procedure Names ================================== NB: The zip file has the HTML file of the tutorial.

ASP_Volume2 #36050
Create Your Own Windows

This program will let you create your own window's and objects without using controls. Primarily for those creating games in DX etc. Currently supports minimizing (Mac style), resizing, draging, buttons and labels (both with click events).

ASP_Volume2 #36903
Starfield

ANOTHER starfield (like there is not enough already) this is faily basic code using X,Y,Z distances, VERY simple 3D.

ASP_Volume2 #37432
Keyboard Disco

I downloaded the Disoco Keyboard a few days ago from A.K.San and did a little work on it. The form code is completely rewritten - but the base functions in the modules are all A.K.San's not mine. I added a "editor" of sorts that lets you create save and load patterns very easily. I was considering making this able to minimize to the system tray. Any thoughts, sugesstions, whatever are welcome. Instructions: Green=On, White=Off. Select a column by clicking beneth the circles pressing "Insert" will place a row before the current one and "Delete" will delete the selected row.

ASP_Volume2 #43558
Demo Game PART 1

PART 1/2: GAME ENGINE *********************************************** I've just added a few more features to yesterdays submission and compacted it a bit so I can post it here. The man now can face eight directions with ten frames in each direction and looks a lot nicer. Sorry to those ppl who want DX, but this is (at the moment) a purely BitBlt run engine. Does anyone else get slow framrates (ie less that 50?) if so could you post a message. ********************************************** This demo shows a few new features in my Envision2d Graphics Engine (BETA 3) The man (animated) walks around the screen which scrolls behind him. It uses the Bitmapped Font(for the text), TileSet(grass) and ZOrder(trees and man) classes of the engine. I have had this running at 160FPS on a 1GHz! (It has been limited to about 80 to prevent lockup). This is without ANY buffering. each tile and tree is drawn 80 times a second. Each element (trees/man) is sorted every loop, so they will always be drawn in the correct order. This demo is simply to show how eaay (and fast) the engine is to use. The movement is based entirely on the KeyPress event (very evil) and this does detract from the smothness a bit. If you like it give us a vote and any suggestions/complaints/comments would be appreciated.

ASP_Volume3 #46904
Basic Game Engine

This is a basic game - engine, very simple, intended as an idea. It refers to a mask to see where you can move. Can move left, right, jump(even while in mid air :) and shoot little red squares. Good for beginners. No tileing (yet).

ASP_Volume3 #46905
Screen Saver (re-submitted)

An almost-complete screen saver that fills your screen with (transperent) water and lets fish swim around. Uses bitblt and is fairly fast. Not customizable (yet) and designed for 800x600 res. Take a look. (I left out a module last submit)

Languages
Top Categories
Global Discovery