Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Sávio Santos G.
    @Velody
    hi!
    Mickaël Villers
    @villers
    hi
    Nikola051
    @Nikola051
    Hello
    I need help
    Shohanur Rahaman
    @shohan4556
    hello
    I am here, please tell me what types of help do you need?
    Mickaël Villers
    @villers
    Hello, vos can hou help?
    How*
    OffCentipede
    @OffCentipede
    hi
    Mickaël Villers
    @villers
    Hu
    Hi
    Luis Herasme
    @luis-herasme
    hi?
    Shohanur Rahaman
    @shohan4556
    hello
    is there any phaser develoer
    I need little help for implementing google play leaderboard
    Luis Herasme
    @luis-herasme
    Hi
    Luis Herasme
    @luis-herasme
    Jagg3127-alt
    @jagg3127-alt

    Im working on a phaser 3 game and what i want to do is have a central file that defines all my variable and preload all my images that arent being defined ive tried so many thing ive probably over looked a lot of options, also i want it to be a class kinda like this

    export default class preload extends Phaser.Scene {
    
        constructor() {
            super({key:'preload'});
        }
    //define variable here
    const windowWidth = window.innerWidth;
    const widnowHeight = window.innerHeight;
    
        preload(){
    
           }
    }

    So can anyone help?

    Jagg3127-alt
    @jagg3127-alt
    nevermind i figured it out