Lua Fireworks Simulator
WEB DESIGN VIDEOS - PHOTO EDITING VIDEO CLIPS

|
Well, this is another crazy idea, created by me. I was watching 4th of July fireworks, when I suddenly thought, Why can\'t I try to make a program like that?So, I did. And this is it. I started it a while ago, back on July 6th. Of course, I\'ve added to it, and it\'s still getting there.So, it starts by picking a random number, based on the random size of the explosion radius. (This is because when it makes the explosion, it doesn\'t like negative numbers.)\nAfter that, it then moves the dot (firework) up at a random speed, until it reaches a random height, where it explodes. The explosion radius is random as well. \nOnce it has reached the explosion state, it \'dissapates\', by decreasing the red color in the explosion, making it look like it faded away.\nOnce the explosion has faded, then it is black, and is not blitted to the screen anymore, and it starts the whole process over again from there.\nIt even uses my own MakeRandomStuff() function that I created.\n\nSorry, you can\'t see the dot in this video, but it\'s there. It\'s not visible because of how small it is.\n\nSo, with a little bit of time, thought, effort and knowledge, I (sort of) pulled it off. I\'ll hopefully be adding to it more.\n\nAgain, kudos to all of the great people who made homebrew possible on the PSP! Without them and lots of other people, this would never be possible!\nAnd thanks to PSP-vault.com for their awesome Lua Tutorials! Great job!\n\nIf you would like this program for you own use (or any other use), please leave a comment, or send me a message and I\'ll get it to you ASAP.\n\nBTW, you lost the game. Especially M100kid.\n\nlater\n\nRecorded on 7-24-08. coding, computer, fireworks, game, homebrew, lua, MakeRandomStuff(), program, psp, psp-vault, random, script, simulator, the, video
|
|
![]()