192 points · by bitbasher · 2y ago · 70 comments
BulletML is a markup language that describes the barrage of bullets in shooting games. - https://news.ycombinator.com/item?id=410898 - Dec 2008 (2 comments)
https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
It was rrootage that sent me down a rabbit hole and eventually stumbled onto fal-works and firedancer after someone suggested their works had the same aesthetic appeal.
The libbulletml c++ library is still somewhat used in some niche vertical shmup games (mostly Japanese indie games). You can read a little about bulletml and the history of it all in the libbulletml readme file.
[0] https://en.wikipedia.org/wiki/ABA_Games
[1] https://github.com/abagames/rrootage
I saw “applet” and thought it was retro, then someone tried it in firefox 3 and I had to check the year.
https://web.archive.org/web/20120626041044/http://www.libspa...
Haxe port: https://github.com/gunnbr/CML
As you may have guessed by the archive.org link, it doesn't have much support. Compared to BulletML and Firedancer, it has a very terse and rich syntax that kind of makes me think of Perl.
> bs,4,,10bm5,360f10{i30vw90br5,360,2,2f4{i30v~ko}w10ay0.05}
That is certainly terse!
[aside: I'm not usually one to pedant over what qualifies as a "markup language", but I have to say this is not it. I'm happy to report that the author didn't think so either, because the 'ML' stands for "macro language".]
Ah. I thought the script was being compiled inbrowser. These are prerendered.
One reason BulletML is useful compared to a general-purpose language is that you could arbitrarily recombine BulletML ASTs to produce valid bullet patterns, which Kenta Cho did for rRootage[0]. I think another reason that people implement VMs for these languages is that the host language lacks coroutines, so it cannot express the wait() function, and they don't want to turn their bullet pattern code inside-out. Even if the host language has coroutines, they may not be serializable, so saving your game in the middle of a level may not be possible if you build on top of coroutines, whereas it is definitely possible if you control the interpreter state of your DSL.
[0]: https://www.asahi-net.or.jp/~cs8k-cyu/windows/rr_e.html
Even in JavaScript, you might not want the full power of eval() exposed and instead you want something with less power that can be parsed and sanitized.
Personally, that's what attracts the artist side of me to this, like it's the ultimate creative product. There seems to be a lot of blogging and tweeting recently around the subject has also created a bit of an itch.
But where is the toothpaste laser? What even is a toothpaste laser? I hear you cry, well...
Today in Search Engines: Software for No-one, I try (somewhat naively) to search for "toothpaste laser" in hope of finding an accurate analysis/explanation/implementation of the famous weapon/s from the Raiden series.
It won't surprise you to learn that this got me a grid of photos of toothpaste tubes and mechanically-induced fluorescent grins. It might surprise you to learn that prepending 'raiden' to my query barely helped. If only there was a search engine that allowed the user to decide what to search for.
Long story short, Raiden (series) is about as popular as the intersection of Raiden (Kharacter) and referring to electrical arcs as "lasers"[1]. Both of these topics are totally eclipsed by the Bend-Tech Dragon A400: The Essential CNC Tube Production Machine[2].
[0] http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/index_e.html
[1] not that any of the toothpaste lasers are lasers
[2] it is essential, after all (https://www.youtube.com/watch?v=xMb9XZjK6m0)
It's even haxe based!
But why would vsync make that hard? You mean if it's 1:1 on the vsync?
Inventing a language is the third step and even worse, because you not only have execution instead of data, but you wipe out the entire ecosystem of tools, libraries, fragments and knowledge and start all over again.
Says who? And for what definition of programming?
I'm not sure how you want it to be done without the programming part.
Maybe you should point out the parts that can't be static data.
Even branching, triggers or graphs could be straight data.
Which parts needs loops, state and computation?
I guess you could accomplish this with invisible bullets and making bullets targetable, but at that point, you’re just creating state and loops and pretending you’re not.
Just the same thanks for sharing and I'm enjoying playing around with this !
I just wish I wasn't so hopeless at them, only managing to survive seconds at a time by constant credit feeding. While I realize the entire genre is notorious for being brutally difficult and that's in fact the appeal to many serious players, I dream of shmups where:
* Difficulty scaled dynamically up a smooth gradient based on real-time player performance
* Success didn't require deep level and pattern memorization. My cognitive style is anti N-back and this requisite shmup ability remains forever beyond my reach. I need the shmup equivalent of Fischer Random Chess (aka Chess960) where the necessity of book memorization is removed and the focus is mostly on reactively dodging in the moment.
* The engine supports interactive practice modes enabling weaker players to gradually build skills such as: rewind, ghost follow and partial dynamic slowdown (eg only bullets get slower, only when N of bullets > Threshold, growing gradually slower as N increases, returning to normal below N).
On the last point, some modern shmups do at least have "practice modes" but they seem like developer afterthoughts, typically very basic bolt-ons instead of being integrated, dynamic and granular. The result often leaves me feeling more frustrated than trained. While it is possible to apply hacks to emulated shmups which can help a bit, these are usually limited to brute force such as pause, global frame rate limiting and infinite lives or invincibility. While MAME and Retroarch do have rewind features, I believe they are hacky since I've never been able to get them to work reliably with shmups.
My deep attraction to the genre seems doomed to remain unrequited despite buying and playing so many, watching various training videos and following many guides. I feel like I can't reach the level needed to trigger the fun-obsession loop of a typical bullet-hell shmup because it currently requires a minimum level of a few neuro-competencies I don't possess. Even top players and fans admit (and occasionally revel in) the inaccessibility of the genre, highlighting the need to memorize deep pattern sequences, commit dozens of hours to rote practice and how it helps to be "at least a little on-the-spectrum."
This makes me sad because top players, fans and developers are also worried about the long-term decline of the genre from cool niche in the 90s to seriously at-risk in recent years. I suspect there may be others who are, like me, strongly attracted to shmups but too-often barred by a metaphorical "Must Be This 'Neuro-Level' to Ride" sign. Yet other once niche gaming genres have successfully broadened their appeal by deeply integrating 'accessibility' features like racing games have done with: ghost cars, rewind and suggested driving line/speed indicators, and fighting games with granular, smooth-scaling training modes with extensive on-screen instruction.
[0]: https://www.youtube.com/watch?v=5LQ3a5D2OKY&list=PLMDuVHl1iO...
I love the shmup genre, but would rather play traditional ones like Raiden, DemonStar, R-Type, Gradius, Blazing Star, etc., and modern entries like Sky Force, than Ikaruga and the like. But, hey, to each their own. :)
R-Type, on the other hand, is a pure memorisation game, much more so than Touhou or Donpachi, and definitely features the same patterns every single time.
What I meant is that when there is a pattern in the objects you have to avoid, and the number of them becomes overwhelming, it doesn't make the gameplay more enjoyable (IMO). Those micro movements you mention surely require a lot of skill, but to me they're just not fun.
Take a game like The Binding of Isaac as another example, whose core mechanic is a shooter. Twin-stick shooters are an evolution of the shmup after all, where the player is in control of their attack direction. What makes TBoI so much fun is the unpredictability of enemy movement and randomness of objects you have to avoid. It does have areas where attacks are overwhelming, but player progression is usually well balanced (though it is possible to become overpowered as well :), so it's never just a dodging game.
But I concede that my experience with bullet-hell shooters is limited, due to this initial dislike of their core mechanic.
On a slight tangent, this is why I don't see the appeal of the recently popularized "survivors-like" games. Sure, there are swarms of enemies, but they come at predictable patterns, so the main mechanic is just strafing around them. Add to that that they remove your ability to aim or fire, and the gameplay boils down to just using directional keys in a specific order. It's so boring and unengaging. But then again, there are entire genres of clickers and idlers I don't get either, so this is purely a subjective take. :)