1 decade ago by ansimuz
Hi
I've been working with impact for 3 weeks and wanted to know what is the correct way to create a class file for example i have a class for the camera inside the main.js and i want it to have it in a different file so i have a better organization.
Whati want to know exactly:
1. How to import and call from the main.js file
2. How and where should i save the camera.js file.
I have the class defined in this way:
I've been working with impact for 3 weeks and wanted to know what is the correct way to create a class file for example i have a class for the camera inside the main.js and i want it to have it in a different file so i have a better organization.
Whati want to know exactly:
1. How to import and call from the main.js file
2. How and where should i save the camera.js file.
I have the class defined in this way:
Camera = ig.Class.extend({...})