I just had an idea. If I end up getting a Mac, I could compile minisphere for iOS. Then maybe we could get Sphere into the App Store somehow. I don't know what the process for that is, or if Apple would allow it, but it's worth looking into at least.There shouldn't be any technical issue here anyway, Allegro supports iOS and I know several people have compiled Duktape for iOS too.
Also, I noticed that if a function throws an exception that isn't caught in a try/catch, it aborts with "script not found `scripts/main.js`" despite the fact that scripts/main.js is the main script, and said function is in a library imported via require()
An error is thrown from a module which is first required, either directly or indirectly, at the top of the main script
The module throws an error before its corresponding require() has returned
* Adds `FS.readFile()` and `FS.writeFile()` which allow reading and writing an entire file in a single operation.* Improves Sphere v1 compatibility by adding several missing APIs.* Dispatch API functions will no longer accept a JavaScript source code string as a callback, the callback must now always be a function.* Improves miniRT documentation.* Fixes a bug where the miniRT terminal can be rendered before other threads.* Fixes a bug where `random.sample()` sometimes returns `undefined`.* Fixes a bug where error attribution doesn't work properly if `Duktape.act()` is not available at the time of the error.* Fixes a bug where `CreatePerson()` won't accept a Spriteset object.
D:\src\spectacles-i>cell -bd distCell X.X.X Sphere packaging compiler (x64)the JavaScript-powered compiler for Sphere v2(c) 2015-2017 Fat Cerberusevaluating Cellscript.js...processing 125 targets... transpile @/scripts/AIContext.js transpile @/scripts/Battle.js transpile @/scripts/BattleActor.js transpile @/scripts/battleAI/HeadlessHorseAI.js transpile @/scripts/battleAI/LumisquirrelAI.js transpile @/scripts/battleAI/Robert1AI.js transpile @/scripts/battleAI/Robert2AI.js transpile @/scripts/battleAI/ScottStarcrossAI.js transpile @/scripts/battleAI/ScottTempleAI.js transpile @/scripts/battleAI/VictorAI.js transpile @/scripts/BattleHUD.js transpile @/scripts/BattleScreen.js transpile @/scripts/BattleUnit.js transpile @/scripts/ConditionContext.js transpile @/scripts/Cutscenes.js transpile @/scripts/FieldMenu.js transpile @/scripts/gamedef/animations.js transpile @/scripts/gamedef/battles.js transpile @/scripts/gamedef/characters.js transpile @/scripts/gamedef/conditions.js transpile @/scripts/gamedef/game.js transpile @/scripts/gamedef/items.js transpile @/scripts/gamedef/maps.js transpile @/scripts/gamedef/math.js transpile @/scripts/gamedef/moveEffects.js transpile @/scripts/gamedef/scenes.js transpile @/scripts/gamedef/skills.js transpile @/scripts/gamedef/stats.js transpile @/scripts/gamedef/statuses.js transpile @/scripts/gamedef/text.js transpile @/scripts/gamedef/weapons.js transpile @/scripts/GameOverScreen.js transpile @/scripts/GrowthPopup.js transpile @/scripts/ItemUsable.js transpile @/scripts/LucidaClock.js transpile @/scripts/main.js transpile @/scripts/MapContext.js transpile @/scripts/maps/main.js transpile @/scripts/maps/Portentia.js transpile @/scripts/maps/Testville.js transpile @/scripts/MenuStrip.js transpile @/scripts/MoveMenu.js transpile @/scripts/MPGauge.js transpile @/scripts/MPPool.js transpile @/scripts/Party.js transpile @/scripts/PartyMember.js transpile @/scripts/Scrambler.js transpile @/scripts/Session.js transpile @/scripts/SkillUsable.js transpile @/scripts/SpecsClient.js transpile @/scripts/SpecsServer.js transpile @/scripts/SpriteImage.js transpile @/scripts/Stat.js transpile @/scripts/StatusContext.js transpile @/scripts/StoryManager.js transpile @/scripts/TargetMenu.js transpile @/scripts/testcases/brucesStory.js transpile @/scripts/testcases/lastLucidan.js transpile @/scripts/TestHarness.js transpile @/scripts/TitleScreen.js transpile @/scripts/TurnPreview.js transpile @/scripts/WeaponUsable.js install @/lib/kh2bar.js install @/lib/map/Atlas.js install @/lib/map/index.js install @/lib/map/Map.js install @/lib/map/ObstructionMap.js install @/lib/map/Person.js install @/lib/map/Tileset.js install @/images/GameOverScreen.png install @/images/Logos/GameLogo.png install @/images/Logos/TitleCard.png install @/images/ScottSucks.png install @/images/TestBattle.png install @/images/TitleScreen.png install @/maps/main.rmp install @/maps/Portentia.rmp install @/maps/Testville.rmp install @/maps/Portentia.rts install @/maps/TestvilleTiles.rts install @/music/Animals.ogg install @/music/BasicInstinct.ogg install @/music/BattleForLucida.ogg install @/music/BruceTellsHisStory.ogg install @/music/CreepFight.ogg install @/music/DeathComeNearMe.ogg install @/music/EndOfInnocence.ogg install @/music/GameOver.ogg install @/music/HymnOfLiberty.ogg install @/music/LamentForBruce.ogg install @/music/LucidaByNight.ogg install @/music/MalmagmaManor.ogg install @/music/ManorBoss.ogg install @/music/MyDreamsButADropOfFuel.ogg install @/music/MyDreamsButADropOfFuel2.ogg install @/music/OneWorldIsNotEnough.ogg install @/music/OurWorldCanStillBeSaved.ogg install @/music/Portentia.ogg install @/music/RiseOfThePrimus.ogg install @/music/RunawayTrain.ogg install @/music/ScottsHomecoming.ogg install @/music/SeasonsEnd.ogg install @/music/SpectaclesTheme.ogg install @/music/SubfloorManor.ogg install @/music/ThePromise.ogg install @/music/TheQuantumEnigma.ogg install @/music/TimeToLetGo.ogg install @/spritesets/battlers/Amanda.rss install @/spritesets/battlers/Bruce.rss install @/spritesets/battlers/Elysia.rss install @/spritesets/battlers/H. Horse.rss install @/spritesets/battlers/Justin.rss install @/spritesets/battlers/Katelyn.rss install @/spritesets/battlers/Lauren.rss install @/spritesets/battlers/Lumisquirrel.rss install @/spritesets/battlers/maggie.rss install @/spritesets/battlers/maggie_hippo.rss install @/spritesets/battlers/Robert.rss install @/spritesets/battlers/Scott T.rss install @/spritesets/battlers/Scott.rss install @/spritesets/battlers/Victor.rss install @/spritesets/battlers/Xemnas.rss install @/spritesets/invisible.rss install @/sounds/Munch.wav install @/icon.pngwriting game.json... OK.
for(n = 0; n <999; n++) { font.drawText(0,0,n); //drawNumber(n,numbers_pos[0].x, numbers_pos[0].y); screen.flip(); system.sleep(60);}