Cell is coming along nicely, and should be a nice addition to minisphere 2.0. game.sgm is no longer a requirement for a Sphere project, instead you have a cell.js build script in the source directory, like this:
function $sphere()
{
install(files("scripts/*.js", true), "scripts");
install(files("images/*.png", true), "images");
install(files("maps/*.rmp", true), "maps");
install(files("maps/*.rts", true), "maps");
install(files("spritesets/*.rss", true), "spritesets");
install(files("sounds/*.wav", true), "sounds");
install(files("sounds/*.ogg", true), "sounds");
install(sgm({
name: "Spectacles: Bruce's Story",
author: "Fat Cerberus",
description: "Follow Scott Starcross in his quest to stop the Primus.",
resolution: "320x240",
script: "main.js"
}));
}
And then, at the command line (be sure to scroll down to the bottom for something amusing
):
fatce@DESKTOP-AR6TT0B /d/src/spectacles-i
$ cell -p Spectacles-BS.spk
Cell v2.0-WIP Sphere Game Compiler x86
A scriptable build engine for Sphere games.
(c) 2015 Fat Cerberus
Building 'D:/src/spectacles-i/Spectacles-BS.spk' (SPK)
Source: 'D:/src/spectacles-i/'
Processing cell.js rule 'sphere'
Building assets...
D:/src/spectacles-i/.cell/game.sgm
1 asset(s) built
Installing assets...
scripts/AIContext.js
scripts/Battle.js
scripts/BattleActor.js
scripts/battleAI/HeadlessHorseAI.js
scripts/battleAI/LumisquirrelAI.js
scripts/battleAI/Robert1AI.js
scripts/battleAI/Robert2AI.js
scripts/battleAI/ScottStarcrossAI.js
scripts/battleAI/ScottTempleAI.js
scripts/battleAI/VictorAI.js
scripts/BattleHUD.js
scripts/BattleScreen.js
scripts/BattleUnit.js
scripts/ConditionContext.js
scripts/Cutscenes.js
scripts/FieldMenu.js
scripts/gamedef/animations.js
scripts/gamedef/battles.js
scripts/gamedef/characters.js
scripts/gamedef/conditions.js
scripts/gamedef/game.js
scripts/gamedef/items.js
scripts/gamedef/maps.js
scripts/gamedef/math.js
scripts/gamedef/moveEffects.js
scripts/gamedef/scenes.js
scripts/gamedef/skills.js
scripts/gamedef/stats.js
scripts/gamedef/statuses.js
scripts/gamedef/text.js
scripts/gamedef/weapons.js
scripts/GameOverScreen.js
scripts/GrowthPopup.js
scripts/ItemUsable.js
scripts/lib/kh2Bar.js
scripts/lib/SpriteImage.js
scripts/LucidaClock.js
scripts/main.js
scripts/MapContext.js
scripts/maps/main.js
scripts/maps/Portentia.js
scripts/maps/Testville.js
scripts/MenuStrip.js
scripts/MoveMenu.js
scripts/MPGauge.js
scripts/MPPool.js
scripts/Party.js
scripts/PartyMember.js
scripts/Scrambler.js
scripts/Session.js
scripts/SkillUsable.js
scripts/SpecsClient.js
scripts/SpecsServer.js
scripts/Stat.js
scripts/StatusContext.js
scripts/TargetMenu.js
scripts/testcases/brucesStory.js
scripts/testcases/lastLucidan.js
scripts/TestHarness.js
scripts/TitleScreen.js
scripts/TurnPreview.js
scripts/WeaponUsable.js
images/GameOverScreen.png
images/Logos/GameLogo.png
images/Logos/TitleCard.png
images/ScottSucks.png
images/TestBattle.png
images/TitleScreen.png
maps/main.rmp
maps/Portentia.rmp
maps/Testville.rmp
maps/Portentia.rts
maps/TestvilleTiles.rts
spritesets/battlers/Amanda.rss
spritesets/battlers/Bruce.rss
spritesets/battlers/Elysia.rss
spritesets/battlers/H. Horse.rss
spritesets/battlers/Justin.rss
spritesets/battlers/Katelyn.rss
spritesets/battlers/Lauren.rss
spritesets/battlers/Lumisquirrel.rss
spritesets/battlers/maggie.rss
spritesets/battlers/maggie_hippo.rss
spritesets/battlers/Robert.rss
spritesets/battlers/Scott T.rss
spritesets/battlers/Scott.rss
spritesets/battlers/Victor.rss
spritesets/battlers/Xemnas.rss
spritesets/invisible.rss
sounds/Munch.wav
sounds/BGM/BasicInstinct.ogg
sounds/BGM/BattleForLucida.ogg
sounds/BGM/BruceTellsHisStory.ogg
sounds/BGM/CreepFight.ogg
sounds/BGM/DeathComeNearMe.ogg
sounds/BGM/EndOfInnocence.ogg
sounds/BGM/GameOver.ogg
sounds/BGM/HymnOfLiberty.ogg
sounds/BGM/LamentForBruce.ogg
sounds/BGM/LucidaByNight.ogg
sounds/BGM/MalmagmaManor.ogg
sounds/BGM/ManorBoss.ogg
sounds/BGM/MyDreamsButADropOfFuel.ogg
sounds/BGM/MyDreamsButADropOfFuel2.ogg
sounds/BGM/OneWorldIsNotEnough.ogg
sounds/BGM/OurWorldCanStillBeSaved.ogg
sounds/BGM/Portentia.ogg
sounds/BGM/RiseOfThePrimus.ogg
sounds/BGM/RunawayTrain.ogg
sounds/BGM/ScottsHomecoming.ogg
sounds/BGM/SeasonsEnd.ogg
sounds/BGM/SpectaclesTheme.ogg
sounds/BGM/SubfloorManor.ogg
sounds/BGM/ThePromise.ogg
sounds/BGM/TheQuantumEnigma.ogg
sounds/BGM/TimeToLetGo.ogg
game.sgm
117 asset(s) installed
Success!
fatce@DESKTOP-AR6TT0B /d/src/spectacles-i
$ cell --explode
Cell seems to be going through some sort of transformation...
He's pumping himself up like a balloon!
Cell says:
"I'm quite volatile, and the slightest jolt could set me off!"
fatce@DESKTOP-AR6TT0B /d/src/spectacles-i
$ msphere Spectacles-BS.spk