Results for "Author: azrael"
Version: Added Pause Function(P), fixed some bugs Version: Fixed missing .BAS file It's a game of asteroids, using classes, shapes, and trigonometry. I know it's been done before, but I got into the idea of doing it... Up cursor to thrust, Left & Right Cursor to turn, Space to fire. Escape to end. Runs well on PIII 500 Wint NT, I'd be interested to know how it runs under other O/S's. It's a lot easier to play at higher resolutions - 640 X 480 is too hard.
Probably useful if you want to learn about polymorphism, objects and collections. This is an example of polymorphism running out of control. 1000 generic Beast-class objects are created, each assigned to be either a Dog, Cat, or Mouse. Then, using calls to the Beast class, they try to eat each other, until only one (the biggest) remains. Try messing around with it ... a larger animal can only eat a smaller one, except in the case of mice who can eat an animal of the same size - it's only fair, they start so small.
Further evidence that I've gone Soft In The Head. Compile with an SCR extension, and copy into your windows folder to run.
Ever wanted to apply validation to a lot of textboxes, but got fed up of writing the call to validation into every single textbox_change Sub on your form? WithEvents is for you! You can set up a validation class that'll keep track of the events for you ... code is a simple example, where textboxes change colour when their contents are changed.
Version: Added Pause Function(P), fixed some bugs Version: Fixed missing .BAS file It's a game of asteroids, using classes, shapes, and trigonometry. I know it's been done before, but I got into the idea of doing it... Up cursor to thrust, Left & Right Cursor to turn, Space to fire. Escape to end. Runs well on PIII 500 Wint NT, I'd be interested to know how it runs under other O/S's. It's a lot easier to play at higher resolutions - 640 X 480 is too hard.
Probably useful if you want to learn about polymorphism, objects and collections. This is an example of polymorphism running out of control. 1000 generic Beast-class objects are created, each assigned to be either a Dog, Cat, or Mouse. Then, using calls to the Beast class, they try to eat each other, until only one (the biggest) remains. Try messing around with it ... a larger animal can only eat a smaller one, except in the case of mice who can eat an animal of the same size - it's only fair, they start so small.
Further evidence that I've gone Soft In The Head. Compile with an SCR extension, and copy into your windows folder to run.
Ever wanted to apply validation to a lot of textboxes, but got fed up of writing the call to validation into every single textbox_change Sub on your form? WithEvents is for you! You can set up a validation class that'll keep track of the events for you ... code is a simple example, where textboxes change colour when their contents are changed.
Version: Added Pause Function(P), fixed some bugs Version: Fixed missing .BAS file It's a game of asteroids, using classes, shapes, and trigonometry. I know it's been done before, but I got into the idea of doing it... Up cursor to thrust, Left & Right Cursor to turn, Space to fire. Escape to end. Runs well on PIII 500 Wint NT, I'd be interested to know how it runs under other O/S's. It's a lot easier to play at higher resolutions - 640 X 480 is too hard.
Probably useful if you want to learn about polymorphism, objects and collections. This is an example of polymorphism running out of control. 1000 generic Beast-class objects are created, each assigned to be either a Dog, Cat, or Mouse. Then, using calls to the Beast class, they try to eat each other, until only one (the biggest) remains. Try messing around with it ... a larger animal can only eat a smaller one, except in the case of mice who can eat an animal of the same size - it's only fair, they start so small.
Further evidence that I've gone Soft In The Head. Compile with an SCR extension, and copy into your windows folder to run.
Ever wanted to apply validation to a lot of textboxes, but got fed up of writing the call to validation into every single textbox_change Sub on your form? WithEvents is for you! You can set up a validation class that'll keep track of the events for you ... code is a simple example, where textboxes change colour when their contents are changed.
Version: Added Pause Function(P), fixed some bugs Version: Fixed missing .BAS file It's a game of asteroids, using classes, shapes, and trigonometry. I know it's been done before, but I got into the idea of doing it... Up cursor to thrust, Left & Right Cursor to turn, Space to fire. Escape to end. Runs well on PIII 500 Wint NT, I'd be interested to know how it runs under other O/S's. It's a lot easier to play at higher resolutions - 640 X 480 is too hard.
Probably useful if you want to learn about polymorphism, objects and collections. This is an example of polymorphism running out of control. 1000 generic Beast-class objects are created, each assigned to be either a Dog, Cat, or Mouse. Then, using calls to the Beast class, they try to eat each other, until only one (the biggest) remains. Try messing around with it ... a larger animal can only eat a smaller one, except in the case of mice who can eat an animal of the same size - it's only fair, they start so small.
Further evidence that I've gone Soft In The Head. Compile with an SCR extension, and copy into your windows folder to run.
Ever wanted to apply validation to a lot of textboxes, but got fed up of writing the call to validation into every single textbox_change Sub on your form? WithEvents is for you! You can set up a validation class that'll keep track of the events for you ... code is a simple example, where textboxes change colour when their contents are changed.