Skip to content

bernatferragut/llull-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llull-project-demo1 | mp4 video

  • mp4 video demo1 - Intro + Scene1

LINK

llull-project-demo1 | code

  • code demo1 + structure
  • keys | 0: Intro, 1: Scene-1, 2: Scene-2, --- 9: Scene-9...etc

LINK

Multiples scenes with P5JS Scene Manager Plugin

Follow this new format for building the scenes:

// Intro scene constructor function
function Intro() {
    this.setup = function() {
        // Code
    }

    this.draw = function() {
        // Code
    }

    this.keyPressed = function() {
        // switch the scene
        this.sceneManager.showScene( Game );
    }
}

// Main games scene constructor function
function Game() {
    this.setup = function() {
        // Code
    }

    this.draw = function() {
        // Code
    }
}

About

mutek-festival-llull-project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published