Results for "Author: jimcamel"
Rotates an image in a picture box. The code is fairly well commented, and may be of some use to someone out there.
For some reason about a month ago I felt this urge to suddenly start playing Ultima 8 again. For those of you who don't know, Ultima 8 is one of the Ultima series of games (most recently Ultima Online), which was a Dos game around in 1994/1995. Anyways, this program allows you to view the graphics (or some of them at least, it seems to have problems decoding some files) which come with it. I got the format from http://members.iinet.net.au/~garydep/ultima8.html, and there is some other borrowed code in here. Oh yeah, this program is essentially useless if you don't have Ultima 8, unless you feel like reading the well commented code to get a better understanding of low level file reading.
I had to write some sorting algorithms in Java for an algorithms assignment I had. I got a good mark for the assignment (95%) and didn't want to just trash the algorithms, so I re-wrote in VB encapsulated in easy to use class modules. Included is insertsort, quicksort, mergesort, heapsort and radixsort
This code is provides a Win32 environment for the editing of Duke Nukem 3D GRP files (which stores all the levels/sounds/gfx for the game). I wrote it in a couple of days, it seems to work fine. It demonstrations some pretty basic file editing. Worth a look
A while ago I posted some source code which allowed the loading of animated gifs into directx. A while later I wrote some code which allowed alpha blending in directx. Today, I rewrote the alpha blending code to use getlockedarray instead of pixel, which quite significantly sped the alpha blending up, and combined these 2 codes into 1. I average around 26fps without alphablending, and 24-25 with, which I think is a pretty good number, given that this is 100% vb :). If anyone find any problems or has any ideas, feel free to email me. Jim
For some reason about a month ago I felt this urge to suddenly start playing Ultima 8 again. For those of you who don't know, Ultima 8 is one of the Ultima series of games (most recently Ultima Online), which was a Dos game around in 1994/1995. Anyways, this program allows you to view the graphics (or some of them at least, it seems to have problems decoding some files) which come with it. I got the format from http://members.iinet.net.au/~garydep/ultima8.html, and there is some other borrowed code in here. Oh yeah, this program is essentially useless if you don't have Ultima 8, unless you feel like reading the well commented code to get a better understanding of low level file reading.
Just a simple program which uses the FileSystemObject and Recursion to output a complete directory/file structure of your computer to a file. I was originally gonna use this as a sort of snooping thing a while ago, you could run it on someones computer, and then read the text file to see what they had on their computers. The text files come out quite large, but when zipped up they're usually only about 50k. Uses a good example of recursion.
Rotates an image in a picture box. The code is fairly well commented, and may be of some use to someone out there.
This was just a little test program I wrote to see how hard it is to use Direct3D. Basically all you can do is load in a plane (there's 1 supplied), and then "fly" it round. It can rotate in X,Y and Z axis's (although rotating it too much sometimes stuffs the alignment up) and move it towards and away from camera. The DX init code was used from one of the contest winners examples on this site, thanks to that person, but most of the rest is mine. If you have any comments please post them
I had to write some sorting algorithms in Java for an algorithms assignment I had. I got a good mark for the assignment (95%) and didn't want to just trash the algorithms, so I re-wrote in VB encapsulated in easy to use class modules. Included is insertsort, quicksort, mergesort, heapsort and radixsort
******************* UPDATED 10/10/02: I removed the requirement for a DLL as well as tidying up the code and removing a few minor memory leaks. If you're using an older version I highly recommend swapping it for this one, the changes which need to be made are minimal. ******************* I spent a long time scouring the net looking for code to read the information out of gifs. I finally found the code thanks to Stephen Lebans (www.lebans.com). So I set about writing this dll and module to utilise his code in DirectX7. I think the results speak for themselves. Please read the readme.txt file before opening the code. Oh, and by the way, the graphics are from my game at www.aeonlegendonline.com. They are only concept graphics, which is why the guy doesn't have a head =) Thank you
This is the source code for a very early version of a MMORPG I'm writing Aeonlegend (www.aeonlegendonline.com). It has a few features such as: -Loading from GIF files -Transparency in both 16 and 32 bit colour -Easy character and GUI editing You can make your own skins for the game by editing TOP.GIF, GUI.GIF and GUI.map. Please remember to comment and vote for this code. The more good feedback I get, the faster the game will get made. Note that my actual email is jimcamel@aeonlegendonline.com, the email in the text file is wrong. If you're looking for my old code I removed it, because some people were unable to read that the graphics were borrowed.
This code is provides a Win32 environment for the editing of Duke Nukem 3D GRP files (which stores all the levels/sounds/gfx for the game). I wrote it in a couple of days, it seems to work fine. It demonstrations some pretty basic file editing. Worth a look
A while ago I posted some source code which allowed the loading of animated gifs into directx. A while later I wrote some code which allowed alpha blending in directx. Today, I rewrote the alpha blending code to use getlockedarray instead of pixel, which quite significantly sped the alpha blending up, and combined these 2 codes into 1. I average around 26fps without alphablending, and 24-25 with, which I think is a pretty good number, given that this is 100% vb :). If anyone find any problems or has any ideas, feel free to email me. Jim
For some reason about a month ago I felt this urge to suddenly start playing Ultima 8 again. For those of you who don't know, Ultima 8 is one of the Ultima series of games (most recently Ultima Online), which was a Dos game around in 1994/1995. Anyways, this program allows you to view the graphics (or some of them at least, it seems to have problems decoding some files) which come with it. I got the format from http://members.iinet.net.au/~garydep/ultima8.html, and there is some other borrowed code in here. Oh yeah, this program is essentially useless if you don't have Ultima 8, unless you feel like reading the well commented code to get a better understanding of low level file reading.
Just a simple program which uses the FileSystemObject and Recursion to output a complete directory/file structure of your computer to a file. I was originally gonna use this as a sort of snooping thing a while ago, you could run it on someones computer, and then read the text file to see what they had on their computers. The text files come out quite large, but when zipped up they're usually only about 50k. Uses a good example of recursion.
Rotates an image in a picture box. The code is fairly well commented, and may be of some use to someone out there.
This was just a little test program I wrote to see how hard it is to use Direct3D. Basically all you can do is load in a plane (there's 1 supplied), and then "fly" it round. It can rotate in X,Y and Z axis's (although rotating it too much sometimes stuffs the alignment up) and move it towards and away from camera. The DX init code was used from one of the contest winners examples on this site, thanks to that person, but most of the rest is mine. If you have any comments please post them
I had to write some sorting algorithms in Java for an algorithms assignment I had. I got a good mark for the assignment (95%) and didn't want to just trash the algorithms, so I re-wrote in VB encapsulated in easy to use class modules. Included is insertsort, quicksort, mergesort, heapsort and radixsort
******************* UPDATED 10/10/02: I removed the requirement for a DLL as well as tidying up the code and removing a few minor memory leaks. If you're using an older version I highly recommend swapping it for this one, the changes which need to be made are minimal. ******************* I spent a long time scouring the net looking for code to read the information out of gifs. I finally found the code thanks to Stephen Lebans (www.lebans.com). So I set about writing this dll and module to utilise his code in DirectX7. I think the results speak for themselves. Please read the readme.txt file before opening the code. Oh, and by the way, the graphics are from my game at www.aeonlegendonline.com. They are only concept graphics, which is why the guy doesn't have a head =) Thank you