Adding interactivity to SVOYA interior (Playcanvas/WebGL). Part 5
This is the final part of 5 of 5 series of lessons on adding interactivity to the SVOYA Apartment interior.
Access to materials, such as: models in the "FBX" format, baked textures, scripts and more, you can get by subscribing to Patreon.
PatreonView the Playcanvas project online.
View Playcanvas Project OnlineI improved the "Start Screen" and made some changes, for example:
- The name of the project now adapts to the screen size;
- For the Desktop version, you can show the control buttons (W, A, S, D, Mouse);
- For the Mobile version, the control buttons are hidden automatically;
- Added some settings to control the font size, hide the second line of the project name, etc.;
- Optimized the code;
- And other minor changes.
Script "loading.js".
Add the script to the project, replacing the old one. Open the script by double clicking on it.
Now some settings are moved to the top of the script. For example, you can change the name of the project “projectNameLine1” and hide the second line with the name, leaving the value “projectNameLine2” empty.
“fontWidth” and “controlsSize” are responsible for the size of the text and the picture with the control buttons.
And with the help of “showControlsUsage” you can completely hide the picture of the control buttons by setting it to “false”.
Note that “vw” values are a percentage of the width, for example “10vw” is 10% of the screen width.
And “vh” is a percentage of the height, for example “8vh” is 8% of the screen height .
If you need help editing this script, please contact me on Patreon.
You can see the result of the work done at the link.
View Playcanvas Project OnlineAt the end of the SVOYA Apartment series of lessons, we would like to express our gratitude to all our students for their perseverance and creativity in creating amazing interiors. We are sure that our lessons have helped you to reach your potential and learn how to create levels of any complexity.
What's more, you can now use our project as a template to create your own incredible interior visualization projects. We hope you enjoyed our series of tutorials and wish you continued success in your creative endeavours!
Patreon subscribers will be able to view the SVOYA Apartment project in read mode, as well as quickly copy-paste the necessary assets and scripts into their personal project.
For everyone else, you will find everything you need on the page of this lesson.
PatreonFAQ
1. What is this article about?
2. What is covered in Part 5?
3. Do I need to complete the previous parts first?
4. Why is incremental development important in interactive projects?
5. Can the techniques from this article be applied to other projects?
6. Does Part 5 focus on user experience improvements?
7. Can custom interface components be created?
8. Can users interact with scene elements in real time?
9. Why is performance optimization still important?
10. Can PlayCanvas projects support both desktop and mobile devices?
11. Is PlayCanvas suitable for product and interior configurators?
12. Can functionality continue to grow after deployment?
13. Does advanced interactivity require programming skills?
14. Can these techniques improve commercial presentations?
15. What are the benefits of interactive WebGL experiences?
16. Who is this article intended for?
Vasyl Lukianenko is a 3D artist and technical author focused on practical workflows, optimization, and production-ready techniques. He publishes tutorials, courses, and tools to help artists work faster and get cleaner results.
All posts by this author

{{comment.text}}