Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My guess is you didn't touch down in the base center. Care to make a screen shot and open an issue?

At the very least I should let the player know they are off by a hair on the landing (if that turns out to the the case and not just a bug).



Same here. In MoonDebriefState.js, the marked line errored out, because departedLocation was null.

     var departedLocation = LunarFeatures.locationForBase (baseDeparted);
 >   var deltaX = departedLocation[0] - _base.loc_x;  <
     var deltaY = departedLocation[1] - _base.loc_y;
     _distanceTraveled = Math.floor (Math.sqrt ((deltaX * deltaX) + (deltaY * deltaY)));
(Safari 15.4 on macOS 12.3.1)


I should have just fixed this if you refresh.

There is a value I expect to find in LOCAL STORAGE that is null when you first try play the game — I was not allowing for that.

I should have know to blow away local storage when testing. Since I have been developing it, of course, at some point that value was added to my local storage and I was free to write all manner of bugs that assume it is there.


Works!


Another way to handle this is to count every landing outside a pad a crash landing.


The Moon is not that harsh a mistress.

I do allow you to land anywhere — if your fuel is below some threshold I put up an alert allowing you to be rescued.


I seem to have gotten the rescue message even though I landed at a base. In the following screenshot I've landed at Maginus and it can be seen in the scope that I'm on the pad. Chrome 100.0 on Kubuntu 20.04.

https://imgur.com/qTdCtBM


Works great! Please make this (a paid) game on iPad!




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: