16 ms·
Show HN: Lunar lander-type game with computational fluid dynamics
- s-macke 8y agoAuthor here. It started as a technical demonstration for fluid dynamics in the web browser. Then I saw the js13kgames competition and the decision was made to make a game out of it. A game in which the fluid mechanic counts. The decision for the Lunar Lander genre then was quiet easy. Does someone know more games then the two I mentioned in the README (Plasma Pong and Pixeljunk Shooter) with more or less realistic fluid dynamics?
- deleted 8y ago[deleted]
- s-macke 8y agoMaybe one of the more interesting technical aspects is the usage of WebAssembly here. I used Emscripten, so the main part is written in plain C. But I threw away all the JavaScript overhead and used just the plain size optimized wasm file. This was easier than expected.
- vanderZwan 8y agoReally cool stuff! Both technically and on the game design side > Does someone know more games then the two I mentioned in the README (Plasma Pong and Pixeljunk Shooter) with more or less realistic fluid dynamics? A friend of mine, Thomas ten Cate, tried but eventually shelved a project to make a fluid-dynamics based game tha he called Archimedes[0]. Before he moved on to other projects he blogged about it[1]. Does that count? [0] https://frozenfractal.com/games/archimedes/ https://frozenfractal.com/games/archimedes/ [1] https://frozenfractal.com/blog/tags/archimedes https://frozenfractal.com/blog/tags/archimedes
- s-macke 8y agoWell, only the games/projects count which I would add to the readme. And sorry, I have to say no here.
- vanderZwan 8y agoNo worries, I just wasn't clear on whether you wanted to know of more projects and devlogs on the same topic in general, or about finished games.
- sourthyme 8y agoYou might be surprised that a lot of phones can run this at a decent frame rate. Adding mobile touch support could be good. It runs the start screen well on my Nexus 6P.
- teddyh 8y ago> Does someone know more games […] with more or less realistic fluid dynamics? There’s always the classic Liquid War: https://www.gnu.org/software/liquidwar6/ https://www.gnu.org/software/liquidwar6/
- s-macke 8y agoI watched the video. It doesn't look like liquid but something else. Some strange particle effects. But maybe I am wrong.
- anotheryou 8y agomore like magnetic, acid sand
- speeq 8y agoIt's really fun. Well done!
- gameswithgo 8y agoIn college I was part of a team that made an FPS where cfd played a role, in the form of poison gas that could flow through the world https://www.clear.rice.edu/comp460/PRSite/tech/cfd.htm https://www.clear.rice.edu/comp460/PRSite/tech/cfd.htm
- rzzzt 8y agoFalling sand/powder games use particle physics for simulating the behavior of liquids: https://en.wikipedia.org/wiki/Falling-sand_game https://en.wikipedia.org/wiki/Falling-sand_game
- VectorLock 8y agoYeah PowderToy springs to mind.
- lukeschlather 8y agoSpirits can basically be described as Lemmings with fluid mechanics. https://store.steampowered.com/app/210170/Spirits/ https://store.steampowered.com/app/210170/Spirits/
- s-macke 8y agoWatched a video. That looks close. However I think they used just some cheap particle effect.
- Impossible 8y agoVessel (https://store.steampowered.com/app/108500/Vessel/ https://store.steampowered.com/app/108500/Vessel/) and more recently Claybook (https://www.claybookgame.com https://www.claybookgame.com) come to mind. They both use SPH fluids afaik. The upcoming Noita (https://store.steampowered.com/app/881100/Noita/ https://store.steampowered.com/app/881100/Noita/) has some particle based fluids. Tommy Referenes (Super Meatboy programmer) was working on an unreleased game called Goo (https://vimeo.com/1793371 https://vimeo.com/1793371). Also Riders on a Storm (http://www.the2bears.com/?page_id=652 http://www.the2bears.com/?page_id=652) a fluid dynamics shmup inspired by Plasma Pong.
- s-macke 8y agoThis is great list. Thank you very much. I added most of the games. It is precisely through this post that I have a strong desire to follow your postings,blogs,.... Unfortunately there is no button for that. How did you find these games?
- elwell 8y agohttps://www.youtube.com/watch?v=S4DlTFDI_M4 https://www.youtube.com/watch?v=S4DlTFDI_M4
- s-macke 8y agoI added it. Thanks
- lutorm 8y agoThis is cool! However, you know space is ... empty, right? ;-) It also seems like the physics is off. Like you're flying through molasses. There's just a lot of damping. Finally, I think it would be more fun if the <--> rotated the ship for thrust vector control, instead of triggering lateral thrusters with no torque.
- s-macke 8y agoYes I know. The simulation of the ship is not accurate. I had code written for more advanced physics but I skipped it for the js13kentry. Time was running short and I was afraid the game gets too hard. Actually you land on planets with an atmosphere. So you have some "dampening" from the atmosphere.
- emmelaich 8y agoJupiter's atmosphere would get molasses-y.
- mappu 8y agoI remember a DOS (or early Windows) game like this. A top-down, 2D game for two players or 1 + CPU. There were no obstacles, but every time you moved through the background fluid, more fluid was created in your colour (purple / pink), and you could envelop the enemy player by 'swooshing' it around over them. Can't remember the name...
- kylewlacy 8y agoWas it Ichor[1][2]? A bit later than the "early Windows" days I think (I remember hearing about it around 2007), but it also matches your description and it was the first thing I thought of after playing the game in the post [1] https://www.youtube.com/watch?v=9MGoyAiPQog https://www.youtube.com/watch?v=9MGoyAiPQog [2] https://www.fun-motion.com/physics-games/ichor/ https://www.fun-motion.com/physics-games/ichor/
- mappu 8y agoYes! Thank you.
- s-macke 8y agoThanks for posting. I added it to my list. Will try it later if still runs.
- MzHN 8y agoI love Ichor! Back in 2013 I e-mailed the original developers with some WebGL fluid dynamics demos, and asked if they'd be interested in porting Ichor to WebGL, and they were, but it died down soon after. The Ichor source is on GitHub as well, although it doesn't have a license. https://github.com/luqui/ichor https://github.com/luqui/ichor It would be so awesome to have this game ported to WebGL, or even just to GPU in general.
- anc84 8y agoLavalanche: http://www.pouet.net/prod.php?which=59596 http://www.pouet.net/prod.php?which=59596
- aravindet 8y agoCan you explain the expf_fast function?
- s-macke 8y agoActually no. I found them by googling. You can find more tricks in my utils file. https://github.com/s-macke/Interplanetary-Postal-Service/blob/master/gameWASM/utils.c https://github.com/s-macke/Interplanetary-Postal-Service/blo... I guess you can read an explanation on a similar problem here: https://en.wikipedia.org/wiki/Fast_inverse_square_root https://en.wikipedia.org/wiki/Fast_inverse_square_root
- striking 8y agoLooks like it's from here https://github.com/ekmett/approximate/blob/master/cbits/fast.c#L103-L109 https://github.com/ekmett/approximate/blob/master/cbits/fast..., there's an explanation here https://nic.schraudolph.org/pubs/Schraudolph99.pdf https://nic.schraudolph.org/pubs/Schraudolph99.pdf
- hazz99 8y agoThis is great! I made it all the way to 8, but couldn't win :) I like the idea of having to examine wind streams to plot your way through the map. This is an awesome tech demo, would be keen to see something more polished & fleshed-out.
- s-macke 8y agoThere is a trick in level 7. You have to do something counterintuitive.
- sliken 8y agoOk, I'll bite, what? I just do the obvious, drop fast from left to right. That way you can cross without being forced off the top of the screen.
- s-macke 8y agoOk, then the obvious solution is my counterintuitive one. You have to cross where the wind is the strongest at the bottom. As fast as possible of course.
- stared 8y agoAwesome! I encourage you to add it to the science-based games list https://github.com/stared/science-based-games-list https://github.com/stared/science-based-games-list
- s-macke 8y agoThanks stared. I forked the repository and will make a pull request. Also I have seen your quantum game project.
- stared 8y agoAdded! Nice to hear that, BTW. For this game - any idea to expand it? I finished 8 levels in one go, and it seems that there is a lot of potential for even more challenging currents, whirlpools, floating pieces, etc. (Side note: mechanic-wise this game reminds me of UGH!: https://classicreload.com/ugh.html https://classicreload.com/ugh.html)
- s-macke 8y agoI definitely have too many projects to tell you for sure. Just look at the two sites [1] [2] and you know what I mean. I have as many projects in the backlog as you can see on these 2 pages. And actually I don't want to concentrate on one. The motivation changes about every month, because I do this in my spare time. And from time to time a project has a status where I can publish it. So at the moment my motivation for this game is to add more realistic physics for the ship (turns instead of right and left) and a level editor to learn Vue. Then just look at the other comments. You see a lot of great ideas. But building a 13k game next year based on the Voxel Space Engine is also in my head :-) [1] https://simulationcorner.net/ https://simulationcorner.net/ [2] https://github.com/s-macke/ https://github.com/s-macke/
- stared 8y agoI see (and emphatize with!) too many projects and ideas. As a side note, I am learning Vue.js right now (my motivation: brining deep learning to the browser, with nice, modular interfaces: https://inbrowser.ai/ https://inbrowser.ai/).
- anotheryou 8y agoCool! Can it run faster? This might need more roomy levels and stronger thrust, but faster speed would mean more feedback for a better feel of the physics.
- s-macke 8y agoOn my computer the game runs at 40 FPS. So there is still room and I can increase the timestep if you want. This game simulates the Navier-Stokes equation on a grid of the size 256x128. Four times the size would already reduce the game to 10FPS or even more. Of course you can try to rewrite it to run on the GPU. An alternative would be to use so called Smoothed Particle Hydrodynamics. This is particle and not grid based. But this technique has other drawbacks.
- s-macke 8y agoI increased the timestep by a factor of two. Have fun https://simulationcorner.net/js13kgame/ https://simulationcorner.net/js13kgame/
- wumms 8y agoI love the faster one. Grabs much more attention. Great game! A satisfying thud on touchdown would be nice. (OT: this was the very first lunar lander I played on my father's ZX81: https://www.youtube.com/watch?v=jlS3fr3t4Fg https://www.youtube.com/watch?v=jlS3fr3t4Fg)
- elwell 8y agoSomehow I beat it first try on the faster version, but couldn't on the original.
- s-macke 8y agoThe problem with higher speeds were instabilities in the numerics. So I reduced the internal time step. Never tried to increase the speed again after solving a few of those problems.
- nabla9 8y agoVery nice. Has anyone made fluid dynamics sailing game yet? You would need only two controls, trim and rudder (direction instead rudder might be easier to comprehend). Wrong trim and point of sail could broache or even capsize the boat. Oh, and you could add not just the winds but the sea currents and waves also. Now I'm salivating.
- vanderZwan 8y agoI suspect 3D fluid dynamics gets a lot slower a lot more quickly
- nabla9 8y agoYou don't need 3D fluid dynamics for 2d sailing game. You would have 3 separate 2d layers for wind, sea currents and then wave layer. The waves don't have to follow the wind, but they they could have specular reflection from the land. It would make sailing in complex archipelago or narrow choke points more realistic.
- 8note 8y agobut how will it know if my sailing by the Lee is faster than the waves? and I'll lose out of surfing!
- samatman 8y agoOne could get a decent experience with "2.5D" fluid dynamics. Two 2-d planes, one for current and one for wind, and a bit of creative fakery to model sail and keel dynamics. This could play nicely with some tuning.
- semi-extrinsic 8y agoYou could get pretty realistic lift on the sail from simple (potential or vertex panel) methods. But the drag's gonna be a bitch to get right. And you probably have to neglect wave motion. Would be really fun to try though.
- aasasd 8y agoGenuinely interesting as a game, there's potential for interesting level designs. A hardcore mode would be rotating the ship instead of it always staying upright—like in Atari's version: http://moonlander.seb.ly/ http://moonlander.seb.ly/
- s-macke 8y agoExactly. This is at the moment nothing more than a nice technical demonstration. Actually my initial code implemented already mechanics for rotations. But then I skipped this feature for this entry. I was afraid the game gets too hard for landing.
- sokoloff 8y agoIt's definitely fun as-is, maybe slightly too easy for long-term playability. I suspect rotation would make it brutally hard and less fun. Nice work!
- zaq_xsw 8y agohttps://i.imgur.com/EksA6Rw.png https://i.imgur.com/EksA6Rw.png Woo! +1 to the comment about larger levels. Though I'm only getting about 20fps on my laptop as is. Multi-core? GPU? Awesome little game, in any case!
- ObsoleteNerd 8y agoFinished with 6128 points here with only 1 ship left. That was a close one. Great demo. I'd love to see this fleshed out. I think a lot of the older games had seriously good playability and deserve to be revisited.
- gioscarab 8y ago8962 points :)
- soneca 8y agoI just keep exploding no matter how slowly I reach the landing pad :( Any tips of what am I doing wrong?
- s-macke 8y agoDo you see the green bar on the speed indicator on the right side?
- soneca 8y agoYes, every time I land with the white bar inside the green area, it explodes.
- soneca 8y agoI opened it on Firefox and everything worked out fine. I realized that on Chrome all the graphics were weird. No colors on the home page, I couldn't see the windows at the buildings. Maybe there is something not rendering right in Chrome. I use Chrome Version 60.0.3112.113 (Official Build) (64-bit) on Fedora 25
- Zitrax 8y agoI also had it work better in Firefox for some reason. I tried it in Vivaldi and it ran at ~6 FPS while in Firefox ~60 FPS.
- codeulike 8y agoThis is brilliant. One of my favourite games growing up was Thrust on the BBC Model B. Had directional velocity and towing mechanics, which was pretty good for the time. https://www.youtube.com/watch?v=Dt44PEIWBRg https://www.youtube.com/watch?v=Dt44PEIWBRg
- s-macke 8y agoI played this game too. And I was close trying to implement such a game. But then my fluid grid would be much much larger and the game much slower. I thought about adaptive grids. Fine on the viewing screen and coarse outside. But to implement this would have taken me too long for this game entry.
- teddyh 8y agoDoes not work in Firefox 60.2.0esr. Worked fine in Chromium (10004 Points, died once).
- JepZ 8y agoWorks for me (tm) in Firefox 61.0.1 (64 Bit, Linux)
- Applejinx 8y agoNot working in Firefox 60.0.1 (64 Bit, MacOSX). The game runs, but the lunar lander blows up instantly when the game starts. The audio is only in the left channel, but works, as does the space bar toggle for sound on/off, and the explosion uses fluid dynamics which are working.
- dotancohen 8y agoCan confirm, works great (>40fps) on Firefox 61 under the latest Ubuntu on an i7 Dell Latitude.
- gus_massa 8y agoIt would be nice to have a vertical speed indication in the ship or nearby. Perhaps some semaphore like lights in the bottom of the ship. It's difficult to look simultaneously at the ship position and the speed indicator. Also, sometimes adding an official name for each map somehow make the game look better. Nice game, I must try again because I lost all my ships in the "volcano" level. Edit: Putting the light to show the vertical speed in the landing pad may make more sense in universe. Also, the buildings look very similar to the old gorilla.bas game :). It would be nice to be able to disable the simulation in the introduction and final screen, so I can keep the page open to play later, without using too much battery.
- s-macke 8y agoThanks for the tips. There are always ways to improve the gameplay. I had still 2-3kB left at the end. When I designed the buildings I thought actually about "Save New York" on the C64. https://www.youtube.com/watch?v=ZMUvi6UIV3w https://www.youtube.com/watch?v=ZMUvi6UIV3w
- mgkimsal 8y agoI was reminded of 'space taxi' (which I guess was just a lunar-lander variation, come to think of it). "pad 5 please"
- mar77i 8y ago"Up please!" - Yup. What a blast! https://www.newgrounds.com/audio/listen/277378 https://www.newgrounds.com/audio/listen/277378 "Space Taxi" added a bit more depth to the lunar lander concept by adding multiple pads and various vector fields for gravity to act in. Some game modes would accelerate you not downwards but instead towards the center of the map, away from it or around the center in a circle some way. Quite the brain-teaser for my kid brain back then that hadn't previously been exposed to physics/maths like that.
- ibarrac 8y agoBeautiful! Great job. Lander used to be the first game I would program when I got a new computer as a kid. I remember writing it for the TI-99/4A, Commodore 64, and the Amiga 500 (in Modula 2). Your game brings fond memories of those simpler times. Amazing what you can do these days with the tremendous speed of computation available on modern hardware, even with the js13k constraints.
- AndrewStephens 8y agoThis is great - especially the pixel-perfect collision detection. But honestly, these colonists don't really deserve mail service if they insist on building their cities in such difficult environments.
- schiffern 8y agoDon't knock it, that volcano mine pays the bills.
- dotancohen 8y agoYou should see mail delivery in Aleppo.
- Chris_Chambers 8y agoWhy are you hosting it on GitHub? Something that should have been a 15 second diversion instead becomes a Byzantine nightmare. After all these years I still have no idea how to run something that’s hosted on GitHub, and neither do 99% of people on earth. Is it even possible to do? Or do you honestly expect people to download your code and run it locally?
- blunte 8y agoAm I the only one experiencing a game-breaking bug/behavior? The D thrust gets stuck on if you press it once, and randomly the W comes on and gets stuck too. Also, after the first ship, every additional ship starts with W and D thrusts on, permanently.
- sokoloff 8y agoDoesn't happen here. (MacOS Chrome 68.0.3440.106)
- s-macke 8y agoThis happens to me when I use the Internet Explorer. My best guess is, that the problem is, that the game tries to use all the computing power available. The game does use the "setTimeout(Loop, 0)" trick to accomplish this. Usually there is no problem if the event queue is a queue. Then the setTimeout function is the last one in the queue and keypresses are handled first. If the events are handled differently, for example by using a stack, such games are in big trouble.
- luckettpat 8y agoYep, happening to me as well - MacOS and Chrome.
- sliken 8y agoDoesn't happen to me with linux + chrome. Just finished all 8 levels.
- stevenhuang 8y agoKeys get stuck for me too. Windows, Chrome 68.0.3440.106.
- 0xfeba 8y agoI had a similar issue with FF. IT looks like the canvas kept losing focus and FF was interpreting the letter keys as search terms sometimes. I believe when it looses focus with the keydown caused the sticking issue. No issues in Chrome.
- wongarsu 8y ago
- G4BB3R 8y agoI died in the last level, in the last life on the platform but with high speed :(
- emilga 8y agoMore levels please! ;-)
- s-macke 8y agoI want to learn Vue or React. So you might get a level editor at some time.
- funkaster 8y ago> the result varies depending on the FPS and your actions. you should try to decouple physics simulation from your rendering code. (i.e. pass a constant/fixed dt to your simulation step). simulation should not depend on framerate.
- codeulike 8y agoBut with a chaotic system like fluid dynamics, you wont get the same behaviour each time even if you do stuff like pass delta-t to the simulation. Sensitive dependence on initial conditions, and all that chaos theory stuff comes in to play. That is, two run-throughs with very slightly different delta-t's will give different outcomes.
- saulrh 8y agoThere's a difference between "numerical stability issues introduce small chaotic perturbations" and "the game is literally unbeatable if you play on platform X because the physics step doesn't properly scale Y to framerate and a trivial conservation-of-energy analysis yields an impossibility result for level 3".
- xte 8y agoOh, despite it's not a "real" modern game a big prize! Games can be nice teaching solution, if well done and still being fun.
- eatitraw 8y agoReally cool and fun game. I really wish there were more levels! Also, like some people suggested, it'd be nice to have an option for running the game at a higher speed.
- artursapek 8y agoVery cool and great use of webassembly. Bug report: if you get low enough in the last level and thrust upwards, the black smoke somehow mixes with the purple smoke outputs and they start instead covering the screen in black smoke. https://i.imgur.com/vHOrBWm.png https://i.imgur.com/vHOrBWm.png
- s-macke 8y agoI guess this is the problem I mention in my code here: https://github.com/s-macke/Interplanetary-Postal-Service/blob/master/gameWASM/fluid.c#L510 https://github.com/s-macke/Interplanetary-Postal-Service/blo... For the sake of optics I use wrong boundary conditions for the colored part of the fluid (transport equation). The right solution would be to copy the density[]-grids and apply the wrong boundary conditions on them and then draw the image with it.
- misnome 8y agoI also had problem with the last level - on the several attempts I had left, after about 10 seconds the sim would seem to bug out and it looked like there was a very, very strong wind along the bottom, which looked like it was friction-pulling the rest of the play area so that everything was blowing fast to the left, leaving it (apparently) unplayable. Good fun, otherwise.
- s-macke 8y agoDamn. I thought I have solved this issue. But why does it work for most other players?
- cellularmitosis 8y agoI ran into this as well. Here's a video: https://youtu.be/SomX22VGHHc https://youtu.be/SomX22VGHHc It doesn't always happen for me. Here, I had to play through the game several times before I could get the bug to trigger.
- sgt 8y agoAfter playing for < 10 minutes it started getting noticeably slower and my MBP Retina was spinning up its fans. I am using latest Chrome. Is this a sign that web games are not yet ready - or simply that either the game isn't optimized enough or perhaps even that Chrome is a poor choice for browser games?
- sliken 8y agoMy desktop is a E5-1230 v5 (i7 class CPU from 2015) and I played for 15-20 minutes with no noticeable slow down or increase in fans. I was using chrome. I think your experience has more to do with laptops being much slower than desktops than anything do with how poor chrome is. As for "optimized enough", seems like the whole point was to put non-trivial physics in the game, and not to cheat.
- MrStonedOne 8y agoVery likely started thermal throttling because apple is notorious for not putting adequate cooling on their mac books. This game uses fluid dynamics calculated in real time, i don't think its designed to be super optimized but rather super true to physics. Most of the time game optimization involves cheaping some of the complex calculations to be less accurate but still "good enough" see https://en.wikipedia.org/wiki/Fast_inverse_square_root https://en.wikipedia.org/wiki/Fast_inverse_square_root for an example. In other words you'll run into this issue any time you do anything taxing for more than 10 minutes on a mac book.
- miltondts 8y agoFantastic game! Can anyone recommend any books/courses on how to make simulations/games like this?
- cristoperb 8y agoThe author gives a few recommendations in the Readme: https://github.com/s-macke/Interplanetary-Postal-Service/#fluid https://github.com/s-macke/Interplanetary-Postal-Service/#fl...
- slavik81 8y ago"Fluid Simulation for Computer Graphics" by Robert Bridson would be my suggestion for getting started with grid-based methods. The SIGGRAPH course notes on his website are very similar to the 1st edition. [1] It's no longer the state of the art (which is probably APIC), but the new methods are all based on the same fundamentals. Particle-based methods like Smoothed Particle Hydrodynamics (SPH) are simpler to implement and are more intuitive than grid-based methods, but they're also harder to analyze mathematically. SPH is the method used by PixelJunk Shooter. "Fluid Simulation for Video Games" by Michael Gourlay is mostly about a different fluid technique (vortons), but does include SPH. [2] [1]: https://www.cs.ubc.ca/~rbridson/fluidsimulation/ https://www.cs.ubc.ca/~rbridson/fluidsimulation/ [2]: https://software.intel.com/en-us/articles/fluid-simulation-for-video-games-part-1 https://software.intel.com/en-us/articles/fluid-simulation-f...
- s-macke 8y agoOne of the prices is the book "HTML5 Games: Novice to Ninja" [1]. However the best way to learn is to read other code. Look at the js13kgames entries [2]. There are more than 1000 games entries. All with source code. [1] https://www.amazon.com/HTML5-Games-Novice-Ninja-Create/dp/0994182619 https://www.amazon.com/HTML5-Games-Novice-Ninja-Create/dp/09... [2] https://2018.js13kgames.com/entries https://2018.js13kgames.com/entries
- kreetx 8y agoWonderful game!
- arnarbi 8y agoThis is great! I would love love a boat maneuver game with the same engine. A killer simulator would be one that takes into account wind and current, single vs multi-engine, bow thrusters, prop walk, etc. Note that this is different from the sailing suggestion below, which has all kinds of three dimensional aspects to. Purely thinking about e.g. docking where all the controls you have is thrust and rudder.
- bmillare 8y agoThis game was brilliant fun, just got over 12k after playing it over and over again. It really reminds me of white water rafting, you really can move very efficiently, quickly and with little thrust if you properly read the course. Simple game, but great depth.
- gusmd 8y agoAwesome! Couldn't win yet, but I'll keep trying :) On a more technical note, I wonder if you could use a Lattice-Boltzman-based flow simulation instead of classical CFD. Could be faster depending on "grid" size. Great, great job!
- s-macke 8y agoNot sure. Can you point me to a basic implementation in Javascript, C or Fortran?
- gusmd 8y agoFrom a quick search, there are quite a few on Github. Can't point to a specific one, though. I implemented a very basic 2D version on one of my MSc classes, and although we used MATLAB, it was quite fast depending on grid size/fluid properties.
- accrual 8y agoAbout 30 FPS on a 13" 2015 MacBook Pro, 3.1 GHz i7, Chrome 69, and full screen 1200p. I had a blast and really enjoyed the game. :)
- bArray 8y ago7867 points. Great game! I would recommend that in a future version the craft is actually rotated by the "air" too for extra challenge, perhaps having rockets that rotate left and right and make the downward facing rocket more powerful to compensate.
- foota 8y agoHow the heck are you supposed to beat the last level?
- s-macke 8y agoYou have to fly to the top left. Then fall down. But immediately after you have started falling you need all your thrusters to stay on the line and land safely.
- elwell 8y agoAh, this brings back memories of a space landing remake game I made back when I was learning Java applets (c. 2007). https://github.com/celwell/space-landing https://github.com/celwell/space-landing
- davidovitch 8y agoVery cool :-) Regarding usability: I keep getting confused by the controls: indicating where you want to go vs which thruster to use. Back in yonder days I used to play Lunar Lander on Windows (https://en.wikipedia.org/wiki/Lunar_Lander_(video_game_genre) https://en.wikipedia.org/wiki/Lunar_Lander_(video_game_genre...) but there the controls indicate which rocket you're firing: down for going up, left for going right, etc.
- ronlobo 8y agoReally cool! Similar but to be solved programmatically is the codingame.com marslander. https://www.codingame.com/training/expert/mars-lander-episode-3 https://www.codingame.com/training/expert/mars-lander-episod... Good luck on the 2018 js13kgames competition!
- mito88 8y agothanks for sharing!