Results for "Author: cricri"
Hello! Well friday night, I rewrote a thing I did in Pascal years ago, i.e. a numeric LED display. Have a look to the screenshot to see what I mean. I know, the display doesn't seem to clear, but that is because I made too big sprites! Stand up and watch from some distance, it looks better :) And the contrast between on and off LEDs is too low. You can change the sprites (in colour of course, but also in size) and adapt easily this code in whichever program. You can use different LEDs sets, choose LEDs size, number of digits, where to display... It is flexible and piece of cake to port. Finally, this sample do NOT use PictureBox or ImageBox at all, but sprites and APIs. Unlike my Tetris, no backbuffering is used (no point here). So you can use that without using one single control! Cool huh? Cheers, I hope you'll enjoy enjoy :)
Hello again :) Well saturday, after the numeric LED display, I thought about adding something to the Numeric LED Display I wrote. So here is the alphanumeric LED display. Have a look to the screenshot to see what this one does. Again, you can change the sprites (in colour of course, but also in size) and adapt easily this code in whichever program. You can use different LEDs sets, choose LEDs size, number of digits, where to display... It is flexible and piece of cake to port. Finally, this sample do NOT use PictureBox or ImageBox at all, but sprites and APIs. Unlike my Tetris, no backbuffering is used (no point here). So you can use that without using one single control! Cool huh? Cheers, I hope you'll enjoy enjoy :) Oh, I added a simple scrolling option to display scrolling texts like "Thank you for travelling with Cricri Airlines", whatever :) And also, I only coded the LEDs for capital letters and numbers. If you want to port the whole ASCII table, please go ahead and send me your code :)
Hello everyone :) Today here is a little program that is going to help you... or not at all! It's a program that reads information from a proprietary file with the extension .PIY and applies a patch to any file! As long as this file is the proper one :) .PIY files are plain text files. You can create them using any text editor like notepad, or using my other program "PIY Patch Creator". Before the patch is applied, the program checks that the file to be patched you pointed to has the right name, the right size, and the right hexadecimal values at the right places! It will check that the patch file structure is ok too, propose to backup the old file, and can even revert the patch if it detects that it is already patched (even if a backup was not created). Also features my scrolling caption thingy, APIs to open Common Dialog (no control), set the form to a circe one, allow to move it, and copy a file (for the backup). Don't worry, I didn't invent these APIs myself, I got them from the web here and there :) Don't remember where though, sorry for the lack of credits... The patching engine is all mine though. Oh, to answer a question: this program can NOT patch a file so has to change its size! It's purposed is to apply minor updates, like changing a variable value, little things like that. That's it, take care girls and guys, and I hope you will find an application to this one :)
This is yet another source code for a Tetris game. It uses graphics inspired from the original Atari Tetris found in the arcade. Unlike others source codes that I found on the web, this one uses real gaming techniques: sprites, backbuffering, and as many APIs as I could use to replace controls. INI files, timers, keyboard management, and all graphics/text are done using APIs. This results in a main form (where the game plays) that do not contain any controls at all :) It's not finished yet, though the game is fully functionnal and playable, but I hope you'll like it :) Any comments/ideas/suggestions are most welcome especially if you can help me solving some issues mentionned in the "WIP.txt" file. Thank you very much all :)
Hello! Well friday night, I rewrote a thing I did in Pascal years ago, i.e. a numeric LED display. Have a look to the screenshot to see what I mean. I know, the display doesn't seem to clear, but that is because I made too big sprites! Stand up and watch from some distance, it looks better :) And the contrast between on and off LEDs is too low. You can change the sprites (in colour of course, but also in size) and adapt easily this code in whichever program. You can use different LEDs sets, choose LEDs size, number of digits, where to display... It is flexible and piece of cake to port. Finally, this sample do NOT use PictureBox or ImageBox at all, but sprites and APIs. Unlike my Tetris, no backbuffering is used (no point here). So you can use that without using one single control! Cool huh? Cheers, I hope you'll enjoy enjoy :)
Hello again :) Well saturday, after the numeric LED display, I thought about adding something to the Numeric LED Display I wrote. So here is the alphanumeric LED display. Have a look to the screenshot to see what this one does. Again, you can change the sprites (in colour of course, but also in size) and adapt easily this code in whichever program. You can use different LEDs sets, choose LEDs size, number of digits, where to display... It is flexible and piece of cake to port. Finally, this sample do NOT use PictureBox or ImageBox at all, but sprites and APIs. Unlike my Tetris, no backbuffering is used (no point here). So you can use that without using one single control! Cool huh? Cheers, I hope you'll enjoy enjoy :) Oh, I added a simple scrolling option to display scrolling texts like "Thank you for travelling with Cricri Airlines", whatever :) And also, I only coded the LEDs for capital letters and numbers. If you want to port the whole ASCII table, please go ahead and send me your code :)
Hello everyone :) Today here is a little program that is going to help you... or not at all! It's a program that reads information from a proprietary file with the extension .PIY and applies a patch to any file! As long as this file is the proper one :) .PIY files are plain text files. You can create them using any text editor like notepad, or using my other program "PIY Patch Creator". Before the patch is applied, the program checks that the file to be patched you pointed to has the right name, the right size, and the right hexadecimal values at the right places! It will check that the patch file structure is ok too, propose to backup the old file, and can even revert the patch if it detects that it is already patched (even if a backup was not created). Also features my scrolling caption thingy, APIs to open Common Dialog (no control), set the form to a circe one, allow to move it, and copy a file (for the backup). Don't worry, I didn't invent these APIs myself, I got them from the web here and there :) Don't remember where though, sorry for the lack of credits... The patching engine is all mine though. Oh, to answer a question: this program can NOT patch a file so has to change its size! It's purposed is to apply minor updates, like changing a variable value, little things like that. That's it, take care girls and guys, and I hope you will find an application to this one :)
This is yet another source code for a Tetris game. It uses graphics inspired from the original Atari Tetris found in the arcade. Unlike others source codes that I found on the web, this one uses real gaming techniques: sprites, backbuffering, and as many APIs as I could use to replace controls. INI files, timers, keyboard management, and all graphics/text are done using APIs. This results in a main form (where the game plays) that do not contain any controls at all :) It's not finished yet, though the game is fully functionnal and playable, but I hope you'll like it :) Any comments/ideas/suggestions are most welcome especially if you can help me solving some issues mentionned in the "WIP.txt" file. Thank you very much all :)
Hello! Well friday night, I rewrote a thing I did in Pascal years ago, i.e. a numeric LED display. Have a look to the screenshot to see what I mean. I know, the display doesn't seem to clear, but that is because I made too big sprites! Stand up and watch from some distance, it looks better :) And the contrast between on and off LEDs is too low. You can change the sprites (in colour of course, but also in size) and adapt easily this code in whichever program. You can use different LEDs sets, choose LEDs size, number of digits, where to display... It is flexible and piece of cake to port. Finally, this sample do NOT use PictureBox or ImageBox at all, but sprites and APIs. Unlike my Tetris, no backbuffering is used (no point here). So you can use that without using one single control! Cool huh? Cheers, I hope you'll enjoy enjoy :)
Hello again :) Well saturday, after the numeric LED display, I thought about adding something to the Numeric LED Display I wrote. So here is the alphanumeric LED display. Have a look to the screenshot to see what this one does. Again, you can change the sprites (in colour of course, but also in size) and adapt easily this code in whichever program. You can use different LEDs sets, choose LEDs size, number of digits, where to display... It is flexible and piece of cake to port. Finally, this sample do NOT use PictureBox or ImageBox at all, but sprites and APIs. Unlike my Tetris, no backbuffering is used (no point here). So you can use that without using one single control! Cool huh? Cheers, I hope you'll enjoy enjoy :) Oh, I added a simple scrolling option to display scrolling texts like "Thank you for travelling with Cricri Airlines", whatever :) And also, I only coded the LEDs for capital letters and numbers. If you want to port the whole ASCII table, please go ahead and send me your code :)
Hello everyone :) Today here is a little program that is going to help you... or not at all! It's a program that reads information from a proprietary file with the extension .PIY and applies a patch to any file! As long as this file is the proper one :) .PIY files are plain text files. You can create them using any text editor like notepad, or using my other program "PIY Patch Creator". Before the patch is applied, the program checks that the file to be patched you pointed to has the right name, the right size, and the right hexadecimal values at the right places! It will check that the patch file structure is ok too, propose to backup the old file, and can even revert the patch if it detects that it is already patched (even if a backup was not created). Also features my scrolling caption thingy, APIs to open Common Dialog (no control), set the form to a circe one, allow to move it, and copy a file (for the backup). Don't worry, I didn't invent these APIs myself, I got them from the web here and there :) Don't remember where though, sorry for the lack of credits... The patching engine is all mine though. Oh, to answer a question: this program can NOT patch a file so has to change its size! It's purposed is to apply minor updates, like changing a variable value, little things like that. That's it, take care girls and guys, and I hope you will find an application to this one :)
This is yet another source code for a Tetris game. It uses graphics inspired from the original Atari Tetris found in the arcade. Unlike others source codes that I found on the web, this one uses real gaming techniques: sprites, backbuffering, and as many APIs as I could use to replace controls. INI files, timers, keyboard management, and all graphics/text are done using APIs. This results in a main form (where the game plays) that do not contain any controls at all :) It's not finished yet, though the game is fully functionnal and playable, but I hope you'll like it :) Any comments/ideas/suggestions are most welcome especially if you can help me solving some issues mentionned in the "WIP.txt" file. Thank you very much all :)
Hi folks :) Today I was trying to retrieve a password for a ftp site I have in my CuteFtp list of sites. However, password in CuteFtp are encrypted and using tools such as "123 Password recovery" wouldn't work. So I quickly made this little program that's looking into CuteFtp's sm.dat file for the encrypted password and retrieve it. This piece of code which is NOT interesting to learn about programming or encryption, because it's so simple (not much programming, and encryption is only a xor on each character). However, now that I got my password back I thought I might as well share that with you just in case it might be useful :) Cheers then, take care all! :) sorry for not putting a screenshot with real info, but this info is kinda sensitive ;)
This code generates a fire effect following a well known algorithm that I certainly didn't come up with :) I'm surprised few people submitted some fire effects which, I'm sorry to say, didn't look all that neat. I have to give them credit for trying to be original though, unlike me! Note that I did all I could to make the code as efficient as possible. In the code, I explained the shortcuts I used compared to what could lead to more a realistic effect if you are ready to sacrifice a wee bit of performance. I do NOT use any controls, especially not a picture box! Yuk! Please don't! And I also use backbuffering to prevent flickering. Finally, MAKE SURE TO COMPILE IT! If you run it from VB, it will be slow as it will be interpreted. Cheers gals and guys, hope you like it :) PS: I rated it as "intermediate" only because of the use of a couple of APIs, but beginners should see that it's actually very simple! UPDATE: duh, I learnt to do a proper 256 colours GIF, it looks better. UPDATE2: duh, I also learnt to read and use a keyboard.
This is a very simple particle effect. First off, let me say that I agree that it doesn't look all that neat. I would need to create a set of few particles sprites to display with BitBlt instead of declaring a colour palette and using it to draw pixels with SetPixel, but I'm not a good graphist (well, I am, as good as I am a programmer!) and I'm a bit lazy as well :) Anyway, few APIs, no controls, backbuffering, the usual stuff. The particle aims for the mouse cursor, but it should be very easy to modify, that is why comments are not as dense as I use to make them, it's very simple, really. Oh, since this is very simple, you will notice the use of GetTickCount in a loop to release as much CPU as possible. On this PC, it takes virtually no CPU resources. Oh, and I included a background, you can use whatever pic, it was just to demonstrate that I'm genuinely using a backbuffer and not cheating by painting black pixels between loops :)
Hello again people :) As you understand and see on the screenshot, this is an attempt at a smoke effect. I won't try to tell you that I spent hours on that since it's heavily based on my fire effect. Differences are the much simpler grayscale palette, the fact that smoke do not cool down (so pixel colour is not decreased), and that's about it :) Code fully commented again, which will highlight the few differences with the fire effect if you downloaded it. I have to say it looks ok, but it doesn't look all that great. The fact that pixels colour is computed based on neighbours works well with fire, but gives smoke a look a bit too smooth in my humble opinion. Anyway, I finished it (I mean, I'm not going to take it any further), so I make it available here. Enjoy if you can, gals and guys!
Hi all. This scans all archives within a directory and look for files names (in the archive) containing specific string. In the snapshot, I've been looking for zip archives containing files which names contain ".vbp" (i.e. VB project files). Hum, not very clear huh? Oh well, I understand myself :) Oh, I almost forgot, you can check/uncheck listed files and move them to any other directory. Also supports ARJ format. LZH/LHA support is dodgy. The Zip/Arj/Lzh header decoding module comes from somewhere around there (I can't remember the author though). UPDATE: you can now select the drive you want to scan (sorry for forgetting that and thanks for pointing it out, I didn't even notice my mistake!) and you can sort archives by number of files it contains. To answer the question "why not ARC/RAR etc,...", it's because I use a header decoder made by Martin Carlsson (who I thanks!) which coped with these formats only. Cheers :)
This little program allows to send keys to a specific window and/or move the mouse. It can do so on a button click or automatically every given number of seconds (what I call "Auto mode"). I made it to simulate surfing, and it works ok (even though I don't use it anymore). Can send some special keys as well (check sendkeys function documentation to do so).
Hi. I had this code on my hard drive for ages now, and never finished it, so I submit it as it is. I just wanted to experiment with 2 simultaneous players gaming, and I don't fancy finishing it (no point, there are plenty of similar games around plus I'm not going to submit a finished game source code that some &$%£"$£ will probably nick and release it as a shareware for easy bucks). The engine comes from my Tetris clone "SliTris" (game rules had to be tweaked of course, and that wasn't as easy as I expected :(), i.e. sprites with backbuffer for smooth gameplay. The main form again doesn't contain one single control, no text box, no image box, no timer... all is done via APIs for optimised and flicker free gameplay. Features original graphics shamelessly stole from Sega's original game :) Hope you'll like it and maybe finish it. Note: I had to remove all skins but the main one to keep size down :(
This is yet another source code for a Tetris game. It uses graphics inspired from the original Atari Tetris found in the arcade. Unlike others source codes that I found on the web, this one uses real gaming techniques: sprites, backbuffering, and as many APIs as I could use to replace controls. INI files, timers, keyboard management, and all graphics/text are done using APIs. This results in a main form (where the game plays) that do not contain any controls at all :) It's not finished yet, though the game is fully functionnal and playable, but I hope you'll like it :) Any comments/ideas/suggestions are most welcome especially if you can help me solving some issues mentionned in the "WIP.txt" file. Thank you very much all :)