This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4a0bae9 Matt Hackett (HEAD, master) don't collide with owner (found a bug in collision related to this) (8 minutes ago) | |
8e63226 Matt Hackett just whitespace and cleaning (9 minutes ago) | |
461e3b2 Matt Hackett oops put those timers back (73 minutes ago) | |
c194380 Matt Hackett chest, naming tweaks, explosiveRune (79 minutes ago) | |
4b9fe89 Matt Hackett new entity added placeholder polish (2 hours ago) | |
b1c3793 Matt Hackett (origin/master) ok NOW that showing-wrong-inventory-item bug is fixed (3 hours ago) | |
6c27ac4 Matt Hackett this is a little simpler though i don't think the problem is here anymore (3 hours ago) | |
9fb4841 Matt Hackett lil less tracks (3 hours ago) | |
33e6c49 Matt Hackett Newly spawned entity grid snapping (3 hours ago) | |
af14d3d Matt Hackett clearer which inventory entity is selected (3 hours ago) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Geoff: hello! | |
Geoff: prefabs/player.prefab.js | |
Geoff: playerPrefab.js | |
Matt: solidComponent.js | |
Geoff: components/solidComponent.js | |
Matt: view/DoorView | |
Matt: Text.js | |
Matt: djinn/ui/Text.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"levels": [{ | |
"base": { | |
"conf": { | |
"monsters": ["goblin", "turtle"], | |
"platforms": ["streamer", "trees"] | |
}, | |
"type": "generic" | |
}, | |
"difficulty": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define([ | |
"djinn/intl", | |
"djinn/stage", | |
"djinn/View", | |
"djinn/TileMapView", | |
"djinn/Collection", | |
"djinn/utils/keys", | |
"djinn/ViewCollection", | |
"djinn/masks/Letterbox", | |
"djinn/math/core", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
========== <-- the easy road | |
..==..==.. <-- monsters on these platforms | |
....==.... <-- coins etc. on the bottom platform to entice you to risk it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Before | |
this._stageCollection.add(new LevelButton({ | |
parent: this._container, | |
stage: stageId, | |
stageId: stages[levelNumber], | |
levelNumber: levelNumber, | |
x: (offsetX + levelNumber - 1) * buttonStyle.width, | |
y: offsetY * buttonStyle.height | |
})); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_showUnlock: function (buttonIndex) { | |
// Play the eating sound | |
// Bring the bugs in to feed on the current level berry | |
// Change the current level graphic | |
// -- Is the next button on the next screen? Scroll now… | |
// Move the bugs to the next level |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.getChildByTag("button", function (view) { | |
view.opacity = 0; | |
view.tween({ | |
opacity: 1 | |
}); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define([ | |
"djinn/Game", | |
"djinn/assets", | |
"djinn/Sprite", | |
"djinn/TextView", | |
"djinn/utils/viewEffects" | |
], function (Game, assets, Sprite, TextView, effects) { | |
return Game.extend({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TODO: support \n | |
// TODO: pagination (use height) | |
// TODO: typewriter effect? | |
var Canface = (function() { | |
var Canface = function(conf) { | |
this._drawData = []; | |
this._imageData = {}; | |
for (var key in conf) { | |
this[key] = conf[key]; | |
} |