FUZE BASIC Examples – Part 1
FUZE BASIC has an impressive following of coding experts and enthusiasts who have selflessly provided their code for others to learn from and use. These stalwarts of FUZE BASIC have forged some amazingly detailed examples, which we’ll take a look at over the coming pages.
CODE REPOSITORY
From fractal generators to encryption programs and animation, here are ten excellent examples of what others have done with a little patience and a lot of code.
FRACTALS
James Cook’s Tree of Pythagoras is an impressive fractal, constructed from squares, that looks remarkably complex but takes up surprisingly little code. You can find it at www.fuze.co.uk/code-repository; just enter the code and Run it to be amazed.
SCROLLING IMAGES
This code will load any image and make it scroll across the screen from right to left. Put your image either in the /extras/ images folder or simply in the same folder as the code itself. Save and Run and enjoy the image moving across the screen. See if you can modify it to full screen, or more.
CARDIOIDS
Simon Plouffe is a Mathematician who, back in the ‘70s, created some incredible cardiod images by dividing a circle into prime parts and drawing lines based on mathematical spaced points on the circumference. Anyway, enter this and be amazed:
SHOOTER
In the Program Editor click the Load button and browse through the folder /fuze-basic/Demos until you find Shooter.fuze. With the program listing loaded, scroll down to line 247 and change the “player2.png” entry to “Player2. png” – adding a capital P. This is a basic side-scrolling shooter and
you’ve just fixed an error in the code.
3D BOX
While in the same folder as Shooter.fuze, look for Box.fuze. This is a great animation program that displays a rotating three dimensional box on the screen until you press the Escape key. It’s a fantastic learning resource and with a little time you can bend it to your will and use it in your own code.
DOGS IN SPACE
Dogs in Space is a fun little game (found in /fuze-basic/Demos) that features in-game music, sprite animation, collision detection, scoring and keyboard controls. Whilst it may not amuse you for too long, it’s benefit lies in the code examples that you can turn to your own future programs.
SPACE INVADERS
Click the Load button, and browse to /fuze-basic/Games. Open the file silv.fuze and have a look through the 784 lines of code before clicking the Run button. It’s quite complex but when you run it you can see why. Those of a certain age will no doubt recall spending a fortune on Space Invaders in the arcades!
BEAT ‘EM UP
FuzeFighter, also found in the Games folder, is another prime example of what can be done with FUZE BASIC. There’s in-game music, sound effects, animations, collision detection, scoring and a two-player element that can be worked into your own routines.
ROBOT CONTROL
The Robot.fuze file, in the Games folder, is an extension to the previous tutorial’s robot movement BASIC program that you entered. However, this time there’s graphics and animations to help improve the process and make it a more flexible (excuse the pun) program.
SNAKE
Finally, snake.fuze is a good example of a combination of programming elements. Graphics, scoring, collision detection and some interesting routines to help improve your overall program can be found within this code.
CODE REPOSITORY
From fractal generators to encryption programs and animation, here are ten excellent examples of what others have done with a little patience and a lot of code.
FRACTALS
James Cook’s Tree of Pythagoras is an impressive fractal, constructed from squares, that looks remarkably complex but takes up surprisingly little code. You can find it at www.fuze.co.uk/code-repository; just enter the code and Run it to be amazed.
FUZE BASIC Examples Fractals |
SCROLLING IMAGES
This code will load any image and make it scroll across the screen from right to left. Put your image either in the /extras/ images folder or simply in the same folder as the code itself. Save and Run and enjoy the image moving across the screen. See if you can modify it to full screen, or more.
FUZE BASIC Examples SCROLLING IMAGES |
CARDIOIDS
Simon Plouffe is a Mathematician who, back in the ‘70s, created some incredible cardiod images by dividing a circle into prime parts and drawing lines based on mathematical spaced points on the circumference. Anyway, enter this and be amazed:
FUZE BASIC Examples cardioids |
SHOOTER
In the Program Editor click the Load button and browse through the folder /fuze-basic/Demos until you find Shooter.fuze. With the program listing loaded, scroll down to line 247 and change the “player2.png” entry to “Player2. png” – adding a capital P. This is a basic side-scrolling shooter and
you’ve just fixed an error in the code.
FUZE BASIC Examples Shooter |
3D BOX
While in the same folder as Shooter.fuze, look for Box.fuze. This is a great animation program that displays a rotating three dimensional box on the screen until you press the Escape key. It’s a fantastic learning resource and with a little time you can bend it to your will and use it in your own code.
FUZE BASIC Examples 3D BOX |
DOGS IN SPACE
Dogs in Space is a fun little game (found in /fuze-basic/Demos) that features in-game music, sprite animation, collision detection, scoring and keyboard controls. Whilst it may not amuse you for too long, it’s benefit lies in the code examples that you can turn to your own future programs.
FUZE BASIC Examples Dogs |
SPACE INVADERS
Click the Load button, and browse to /fuze-basic/Games. Open the file silv.fuze and have a look through the 784 lines of code before clicking the Run button. It’s quite complex but when you run it you can see why. Those of a certain age will no doubt recall spending a fortune on Space Invaders in the arcades!
BEAT ‘EM UP
FuzeFighter, also found in the Games folder, is another prime example of what can be done with FUZE BASIC. There’s in-game music, sound effects, animations, collision detection, scoring and a two-player element that can be worked into your own routines.
FUZE BASIC Examples Beat em up |
ROBOT CONTROL
The Robot.fuze file, in the Games folder, is an extension to the previous tutorial’s robot movement BASIC program that you entered. However, this time there’s graphics and animations to help improve the process and make it a more flexible (excuse the pun) program.
SNAKE
Finally, snake.fuze is a good example of a combination of programming elements. Graphics, scoring, collision detection and some interesting routines to help improve your overall program can be found within this code.
FUZE BASIC Examples snake |
0 Response to "FUZE BASIC Examples – Part 1"
Post a Comment