This course is designed for those who have already mastered the basic principles of QB64 programming and want to deepen their knowledge and explore more advanced concepts and features of the language. During the course you will learn how to create structured programs, work with files, optimize application performance and use modules to create larger projects. The course aims to develop the skills needed to implement complex programs and games with advanced functionality.
What you will learn:
- Working with modules and organizing large projects;
- Advanced work with loops and recursion;
- File processing: reading and writing large amounts of data;
- Code optimization: improving program execution speed;
- Creating your own libraries and functions;
- Working with multimedia: adding sounds and graphic elements to projects;
- Error handling and program debugging.
Who this course is suitable for:
Those who are already familiar with the basics of QB64 and want to develop their skills.
Programmers who want to create more complex programs and projects.
Game development enthusiasts who want to delve into creating advanced game mechanics.
Course Program
Week 1: Modules and program structuring
What modules are and how to use them.
Code structuring: breaking a program into logical parts.
Using SUB and FUNCTION commands to create independent code blocks.
Developing a program with several modules.
Creating your own functions and procedures for multiple use.
Week 2: Recursion and Complex Loops
The concept of recursion and when to use it.
Advanced work with loops: nested loops, loop optimization.
Divide and conquer principle: solving problems with recursive algorithms.
Writing a program to calculate the factorial using recursion.
A program to find the greatest common divisor of two numbers.
Week 3: Working with Files and Data Streams
Reading and writing files in QB64.
Processing large amounts of data.
Data structures for working with files (arrays, records).
Writing a program to read and write data to a text file.
Processing data from a file: sorting and filtering.
Week 4: Performance Optimization
Ways to speed up programs: reducing the number of operations, improving data structure.
Optimizing loops and functions.
Program profiling: how to find performance bottlenecks.
Analyzing code to improve its efficiency.
Optimizing code for working with large data arrays.
Week 5: Multimedia in QB64
Working with audio: adding audio to programs.
Working with graphics: loading images and creating simple animations.
Synchronizing sound and graphics.
A program with a graphical interface for drawing.
Adding sound effects to a game or application.
Week 6: Error Handling and Debugging
Basic principles of error handling in QB64.
Logging and code tracing.
Using built-in tools for debugging.
Development of a program with several levels of error handling.
Testing and debugging of the final project.
After completing the course you will be able to create more complex programs and games using the advanced features of QB64. You will learn how to organize and structure your code, optimize the performance of your applications and work with multimedia. The course project will be your first step towards creating professional applications or games.