Package puppyeyes.engine

Examples of puppyeyes.engine.Background


        }};
       
       

        // Create background
        Background overworld = new Background() {{
            addFrame(new Sprite("Resources/Backgrounds/Kokiri Forest/bg.png"));
            addFrame(new Sprite("Resources/Sprites/Overlays/grass.png"));
            properties.setCollisionMask("Resources/Backgrounds/Kokiri Forest/mask.png");
            draw.setVisible(true);
            draw.setLayer(GlobalVariables.groundLayer);
            properties.setSolid(true);
        }};
        starterLevel.addBackground(overworld);



        // Create shadows
        Background overlay = new Background() {{
            //addFrame(new Sprite("Resources/Backgrounds/Kokiri Forest/shadow.png"));
            //addFrame(new Sprite("Resources/Backgrounds/Kokiri Forest/fg.png"));
            draw.setVisible(true);
            draw.setLayer(GlobalVariables.overlayLayer);
        }};
View Full Code Here

TOP

Related Classes of puppyeyes.engine.Background

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.