Results for "Author: tanner helland"
Many VB programmers don't understand the graphics capabilities of Visual Basic when you use basic API calls. This (and a series of forthcoming tutorials) will explain the basics of getting and setting pixels using both VB and the Windows API (via SetPixel, SetPixelV, and GetPixel), as well as using the API to set pixels on objects other than picture boxes (such as command buttons, frames, etc.).
Here's a simple demo of how to program basic physics for a flying object (like a space ship or something). It demonstrates physics for a primary object (the ship) and secondary objects (the bullets), and as always it's simple and well-commented, as well as running at 40 fps or faster. This is basically a revamped version of the Return of the Avenger game engine -also on psc- so download that to see this code actually used in a game.
This cool little program demonstrates a basic painting program as well as the hard-to-find dll call for filling a region of a picture. To use the program, all you have to do is draw a line with the left mouse button, then click with the right mouse button to fill the clicked-on area with a random color. Also, as far as I know, this may be the only VB project on the net that has the 'ExtFloodFill' dll call, so make sure to grab it!
This incredible program shows how to create totally realistic fire without using any palettes to create the right color effects! A simple bit of mathematical color manipulation creates a perfectly colored fire effect more realistic and faster then palettes, making for real-time fire animation. The included .exe demonstrates the current max speed of this program, and it will BLOW YOU AWAY! This code is guaranteed to be the FASTEST, EASIEST, and MOST REALISTIC algorithm-generated fire project at this site. If you don't believe me, try it out! This is definitely the best artificial fire program that has ever been built in VB, so don't miss out on this awesome code!
This killer code demonstrates the fastest and most efficient way to combine pictures transparently. Designed to be used in a paint program or game, this picture will combine 2 pictures at any percent transparency. I haven't seen code of this nature anywhere else on the site, so be sure to check this out. This code could also be used to fade pictures into eachother (like they do in MYST with transitions mode on), if you're interested. Includes picture loading and saving code as well.
A very cool VB space simulation game. This project is for everyone that claims VB can't be used as a game engine. Using home-made buffering methods, I re-wrote the Raptor game engine in VB. Your ship shoots, the bad guys shoot, ships explode, music is played (mp3 format) - this engine has everything. If you've liked the little arcade games people have posted (pong, etc.), you'll be blown away by this full-scale game using hundreds of blits simultaneously. Everything you need is included (including the ocx for playing mp3's), and the code is very concise, clever, and fast. One thing - it's not quite commented fully and the user interface needs some work. I had to rush and finish it for a school project, so there is much left to be done. I am looking for someone to do custom graphics (I am using the ones from Raptor for now) and I will revamp the game to be entirely like Raptor (level editors, weapon upgrades, etc.) for commercial distribution. Contact me (tannerhelland@hotmail.com) if interested. BTW - use the arrow keys to move and the space bar to shoot.
Here's a simple demo of how to program basic physics for a flying object (like a space ship or something). It demonstrates physics for a primary object (the ship) and secondary objects (the bullets), and as always it's simple and well-commented, as well as running at 40 fps or faster. This is basically a revamped version of the Return of the Avenger game engine -also on psc- so download that to see this code actually used in a game.
There's not a single program on all of psc that shows how to correctly adjust an image's contrast....at least, there *wasn't.* This simple program demonstrates how to easily adjust an image's contrast based on a -100 to 100% scale. Simple and fast.
Many VB programmers don't understand the graphics capabilities of Visual Basic when you use basic API calls. This (and a series of forthcoming tutorials) will explain the basics of getting and setting pixels using both VB and the Windows API (via SetPixel, SetPixelV, and GetPixel), as well as using the API to set pixels on objects other than picture boxes (such as command buttons, frames, etc.).
This incredible program shows how to create totally realistic fire without using any palettes to create the right color effects! A simple bit of mathematical color manipulation creates a perfectly colored fire effect more realistic and faster then palettes, making for real-time fire animation. The included .exe demonstrates the current max speed of this program, and it will BLOW YOU AWAY! This code is guaranteed to be the FASTEST, EASIEST, and MOST REALISTIC algorithm-generated fire project at this site. If you don't believe me, try it out! This is definitely the best artificial fire program that has ever been built in VB, so don't miss out on this awesome code!
A very cool VB space simulation game. This project is for everyone that claims VB can't be used as a game engine. Using home-made buffering methods, I re-wrote the Raptor game engine in VB. Your ship shoots, the bad guys shoot, ships explode, music is played (mp3 format) - this engine has everything. If you've liked the little arcade games people have posted (pong, etc.), you'll be blown away by this full-scale game using hundreds of blits simultaneously. Everything you need is included (including the ocx for playing mp3's), and the code is very concise, clever, and fast. One thing - it's not quite commented fully and the user interface needs some work. I had to rush and finish it for a school project, so there is much left to be done. I am looking for someone to do custom graphics (I am using the ones from Raptor for now) and I will revamp the game to be entirely like Raptor (level editors, weapon upgrades, etc.) for commercial distribution. Contact me (tannerhelland@hotmail.com) if interested. BTW - use the arrow keys to move and the space bar to shoot.
This killer code demonstrates the fastest and most efficient way to combine pictures transparently. Designed to be used in a paint program or game, this picture will combine 2 pictures at any percent transparency. I haven't seen code of this nature anywhere else on the site, so be sure to check this out. This code could also be used to fade pictures into eachother (like they do in MYST with transitions mode on), if you're interested. Includes picture loading and saving code as well.
This cool little program demonstrates a basic painting program as well as the hard-to-find dll call for filling a region of a picture. To use the program, all you have to do is draw a line with the left mouse button, then click with the right mouse button to fill the clicked-on area with a random color. Also, as far as I know, this may be the only VB project on the net that has the 'ExtFloodFill' dll call, so make sure to grab it!
There's not a single program on all of psc that shows how to correctly adjust an image's contrast....at least, there *wasn't.* This simple program demonstrates how to easily adjust an image's contrast based on a -100 to 100% scale. Simple and fast.
Many VB programmers don't understand the graphics capabilities of Visual Basic when you use basic API calls. This (and a series of forthcoming tutorials) will explain the basics of getting and setting pixels using both VB and the Windows API (via SetPixel, SetPixelV, and GetPixel), as well as using the API to set pixels on objects other than picture boxes (such as command buttons, frames, etc.).
Here's a simple demo of how to program basic physics for a flying object (like a space ship or something). It demonstrates physics for a primary object (the ship) and secondary objects (the bullets), and as always it's simple and well-commented, as well as running at 40 fps or faster. This is basically a revamped version of the Return of the Avenger game engine -also on psc- so download that to see this code actually used in a game.
This cool little program demonstrates a basic painting program as well as the hard-to-find dll call for filling a region of a picture. To use the program, all you have to do is draw a line with the left mouse button, then click with the right mouse button to fill the clicked-on area with a random color. Also, as far as I know, this may be the only VB project on the net that has the 'ExtFloodFill' dll call, so make sure to grab it!
This incredible program shows how to create totally realistic fire without using any palettes to create the right color effects! A simple bit of mathematical color manipulation creates a perfectly colored fire effect more realistic and faster then palettes, making for real-time fire animation. The included .exe demonstrates the current max speed of this program, and it will BLOW YOU AWAY! This code is guaranteed to be the FASTEST, EASIEST, and MOST REALISTIC algorithm-generated fire project at this site. If you don't believe me, try it out! This is definitely the best artificial fire program that has ever been built in VB, so don't miss out on this awesome code!
This killer code demonstrates the fastest and most efficient way to combine pictures transparently. Designed to be used in a paint program or game, this picture will combine 2 pictures at any percent transparency. I haven't seen code of this nature anywhere else on the site, so be sure to check this out. This code could also be used to fade pictures into eachother (like they do in MYST with transitions mode on), if you're interested. Includes picture loading and saving code as well.
A very cool VB space simulation game. This project is for everyone that claims VB can't be used as a game engine. Using home-made buffering methods, I re-wrote the Raptor game engine in VB. Your ship shoots, the bad guys shoot, ships explode, music is played (mp3 format) - this engine has everything. If you've liked the little arcade games people have posted (pong, etc.), you'll be blown away by this full-scale game using hundreds of blits simultaneously. Everything you need is included (including the ocx for playing mp3's), and the code is very concise, clever, and fast. One thing - it's not quite commented fully and the user interface needs some work. I had to rush and finish it for a school project, so there is much left to be done. I am looking for someone to do custom graphics (I am using the ones from Raptor for now) and I will revamp the game to be entirely like Raptor (level editors, weapon upgrades, etc.) for commercial distribution. Contact me (tannerhelland@hotmail.com) if interested. BTW - use the arrow keys to move and the space bar to shoot.