Advertisement

Results for "Author: dave andrews"

7_2009-2012 #219339
Pond Ripples

This code demonstrates a very easy and effective way to simulate pond ripples on a picture. It will simultaneously render multiple pond ripples. Just click-drag your mouse across the image, and watch all the ripples dissipate. Very cool effect. Votes or comments are appreciated.

7_2009-2012 #219340
Dungeon Mapper 3D (Updated)

***REQUIRES DIRECTX 7*** This is a 3D dungeon mapper that is very easy to use. Please see screen-shot. Displays / maps multiple levels within the maze. Great for MUD's, Doom-Wads, and other RPG maze-type games. Use the cursor keys to add 'squares', 'D' to go down a level, 'U' to go up, and 'Delete' to remove a square. Happy Gaming! Comments and/or votes greatly appreciated.

7_2009-2012 #219341
REAL Transparent Textbox

Makes a textbox transparent. Here's how I do it: Get the DC from the textbox hWnd. Paint the textbox text onto the textbox parent. Paint the parent's image onto the textbox. Pretty Simple eh?

7_2009-2012 #219342
API Password Box

All API-driven masked user input function. Works similiar to the "InputBox" function. The form and all controls are generated by API, so there is no need to include special forms when you want to have a user put text into a masked edit control. Enjoy!

7_2009-2012 #219343
Optical Mouse Camera

Use your optical mouse as a camera! Very easy to use, and code is quite simple. Provides greyscale, lowquality, out of focus images, but it's lots of fun. Send it to a friend! It's not a PSC code of the month, but if you want to vote to voice your opinion, go ahead. Please do not look directly into your mouse LED!

7_2009-2012 #219344
Delaunay Triangulation Mesh Builder

Have you even had a complex shape you needed to be turned into a mesh for use in a 3d project? This code shows you how to generate the triangles (DeLaunay Triangulation) based on 'outline' geometry. Implemented in this project is the ability to draw geometry and generate a mesh and a 3D extrusion of the mesh. Supports 'holes' in the mesh as well (auto calculated right-hand,left hand). This method is used for triangulating non-uniform meshes. Included (but NOT fully implemented in THIS project) is a VB-CAD library I designed for a company that makes 3d models from 2D Autocad drawings. This powerful library has all of the math functions to calculate intersection points between all geometry (line,arc,ellipse,spline) It also has an updated DXF import as well as funtions for scaling, flipping, rotating, non-linear arrays, trimming, cornering, relimiting chamfering and rounding. Requires DX7 library for 3d views.

7_2009-2012 #219345
VB CAD / Mesh Builder Update 2

Automatically Create 3D Mesh Objects VB CAD now supports DXF Import and 3DX Output (for use in your OWN DirectX application) as well as the following functions: DeLaunay Triangulation, Line, Chain, Polyline, Spline, 3-Point Arc, Arc, Circle, Open Ellipse, Ellipse, Grid, Snap To Endpoints, Snap To MidPoints, Snap To Intersection Points, Snap To Edit Points, Snap To Grid, Zoom In, Zoom Out, Zoom Window, Pan. If you have ever had a need to create complex mesh objects for a 3D project - or just for fun, then this is the program to use. Just draw your closed geometry, set the fill-point (mesh center) and it will automatically triangulate your object for you using the DeLaunay trianulation method. If you have more than one object, then individually select and triagulate each object (remembering to re-set the mesh center (fill point) for each object. Then you can save the object as a ".X" file for use in other programs. I hope that you enjoy and benefit from this project, and please take a minute to vote for me. Thanks! Code is here on PSC: http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=35722&lngWId=1

7_2009-2012 #219346
Anagram Phrases: Planet Source Code = ACCENTED OUR SLOPE

This will make phrase-anagrams of any set of words (like names) For example "Planet Source Code" = "Accented Our Slope" Or my name "David Michael Andrews" = "I am dad's new arch-devil" This code is a lot of fun and easy to use. Nothing 'really' useful though, if you want to vote, go ahead, but I prefer positive user feedback much more than votes. NOTE: this upload includes a 250,000 word dictionary in plain-text form.

7_2009-2012 #219347
QSCRAB - 3D Cubic Scrabble ™

***UPDATED WITH USER REQUESTS*** A one-player 3D scrabble™ game using DirectX7. Has a 250,000 word dictionary (plain text). Will check and verify the words. Uses standard scrabble™ rules and scoring - except you can build words around corners. It is lots of fun. To Play, simply click on a letter in the 'rack' and then rotate the cube and click the space you want to place the letter. I might end up modifying the game to be 2-player over the TCP/IP if enough interest and positive feedback is given. If you think it's worthy of a vote, then vote. I would appreciate any user feedback and suggestions to improve this game. Enjoy!

7_2009-2012 #219348
Word Racer and Boggle Solver (UPDATED)

I developed this to solve 'Yahoo Word Racer' games. You can put in a 'letter grid' of any shape or size - even ones with HOLES such as in round 4. (right now up to 10X10) and it will solve all of the possible REAL words (using the included dictionary). It would also work fine for Boggle. Since Word Racer is a fast-paced game, I have it set to only solve 3,4, and 5 letter words (unless there is a 'QU' in there in which case it will also solve 6 letters) One of the intersting things about my solver is that you can use groups of letters in each cell, and it could find words in combination of groups of letters. If you want to have it solve longer words, simply add a new listbox to the lstWords array - giving it an index number equal to the number of letters wanted, and then modify the limits at the bottom of function "AddNextLetter" Enjoy!

7_2009-2012 #219349
Magic Strategy Game (3D DirectX)

Based on "Rubik's® Magic Strategy Game" sold by Matchbox™ about 15 years ago. Each player has tiles with a circle on one side, and a diamond on the other. Each player must place one of their own tiles as well as flip one of their opponents tiles over. The object is to get three like-tiles in a row that can NOT be flipped out of that run by your opponent. Play against the computer or play against a friend. You can also watch a DEMO of the game by letting the computer play itself! There are 6 levels of difficulty. The game requires DirectX7, and all objects are 3D and can be rotated on the screen. Easy to play and lots of fun. If you like it, and think it's worthy of a vote, then please do so. I would also appreciate any feedback and comments. -ENJOY!

7_2009-2012 #219350
VB - IZZY

This game is played just like a jig-saw puzzle, but has an infinite number of solutions. In order for a tile to fit on the board, all of the colors on the tile must line up with any adjacent tiles on the board. After starting a game, select a tile from the 'tile-set' on the right hand of the form. Place the tile on the board by left clicking. Use the right mouse button to rotate the tile 90 degrees. You can swap tiles by clicking on an existing tile on the board. If you select a new tile from the tile-set before you place it on the board, then the previously selected tile will return to the tile-set. You may also right-click on a board-tile to return it to the tile-set. The game is over when you fill the board. There is *always* a possible solution. The exception being if you do not supply a big enough board for a given number of colors. The score is based on the number of colors used and the size of the board. Have fun!

7_2009-2012 #219351
Sodoku In Excel

The included Excel spreadsheet is a fully functional Soduku game generator and is playable right on the spreadsheet. If you enable 'hints' it will show you when you enter a bad value. The charts are there as 'boss candy' just in case you want to play a game - and look like you are doing work! I have previously released this as freeware on www.download.com. (I am 'Lyrical Software') Feel free to use the source code (that's why it is posted here).

Languages
Top Categories
Global Discovery