Skip to content

Commit

Permalink
Added images, docs
Browse files Browse the repository at this point in the history
  • Loading branch information
giulioprisco committed May 19, 2024
1 parent 4ce05e3 commit f8e3f4e
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 20 deletions.
Binary file removed assets/PDF/Mythos Readme.docx
Binary file not shown.
Binary file removed assets/PDF/Mythos Readme.pdf
Binary file not shown.
Binary file added assets/PDF/Spaceport9684Readme.pdf
Binary file not shown.
Binary file removed assets/images/Croquet Gallery.png
Binary file not shown.
Binary file added assets/images/beam-me-up-scotty.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 39 additions & 20 deletions worlds/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,17 @@ export function init(Constants) {

Constants.DefaultCards = [


{
card: {
name: "entrance",
type: "object",
translation: [180, -3, 74],
rotation: [0, Math.PI/4, 0],
spawn: "default",
spawn: "default",
}
},


{

Expand Down Expand Up @@ -81,23 +83,39 @@ export function init(Constants) {
}
},

{
card: {
name: "About",
translation: [180, -2.5, 50],
rotation: [0, -Math.PI/2, 0],
scale: [4, 4, 4],
layers: ["pointer", "walk"],
behaviorModules: ["PDFView"],
color: 8947848,
depth: 0.05,
frameColor: 16777215,
fullBright: true,
modelType: "pdf",
pdfLocation: "./assets/PDF/Spaceport9684Readme.pdf",
shadow: true,
singleSided: true,
type: "2d",
}
},


{
{
card: {
name: "Gallery Card",
behaviorModules: ["ReplaceWorld"],
replaceWorldTargetURL: "https://croquet.github.io/gallery",
replaceWorldPreserveOrigin: "//(.*\\.)?croquet.(io|dev)$",
//translation: rotateTo([0, 1.5, 4], -11.963, 2*Math.PI/7),
//rotation: [0, 2*Math.PI/7, 0],
name: "image card",
translation: [180, -3, 45],
rotation: [0, -Math.PI/4, 0, Math.PI/4],
layers: ["pointer"],
rotation: [0, -Math.PI/2, 0],
layers: ["pointer", "walk"],
scale: [4, 4, 4],
type: "2d",
textureType: "image",
textureLocation: "./assets/images/Croquet Gallery.png",
textureLocation: "./assets/images/spaceport9684intropanel.jpg",
cardURL: "https://giulioprisco.github.io/notebook/#spaceport9684",
cardHilite: 0xffffaa,
behaviorModules: ["URLLink"],
fullBright: true,
frameColor: 0xcccccc,
color: 0xffffff,
Expand All @@ -109,17 +127,17 @@ export function init(Constants) {

{
card: {
name: "image card",
translation: [180, -3, 50],
rotation: [0, -Math.PI/4, 0, Math.PI/4],
layers: ["pointer", "walk"],
name: "Gallery Card",
behaviorModules: ["ReplaceWorld"],
replaceWorldTargetURL: "https://croquet.github.io/gallery",
replaceWorldPreserveOrigin: "//(.*\\.)?croquet.(io|dev)$",
translation: [180, -3, 40],
rotation: [0, -Math.PI/2, 0],
layers: ["pointer", "walk"],
scale: [4, 4, 4],
type: "2d",
textureType: "image",
textureLocation: "./assets/images/spaceport9684intropanel.jpg",
cardURL: "https://giulioprisco.github.io/notebook/#spaceport9684",
cardHilite: 0xffffaa,
behaviorModules: ["URLLink"],
textureLocation: "./assets/images/beam-me-up-scotty.jpg",
fullBright: true,
frameColor: 0xcccccc,
color: 0xffffff,
Expand All @@ -128,6 +146,7 @@ export function init(Constants) {
shadow: true,
}
},



{
Expand Down

0 comments on commit f8e3f4e

Please sign in to comment.