Live data from Hacker News

Ask HN: Favourite open source game?

news.ycombinator.com

141–150 of 381 posts

Re: Ask HN: Favourite open source game?

#141
post #109

Apologies in advanced for not submitting a game. Does anybody feel an unbreakable urge to just break from free of the dreary day job and write games for fun each time you see a HN post like this? My fantasy is to just go and Browserize a game (and not just by wasming it). Gaaaaah the tragedy of limited time!

Yes and yes. I've been trying write a game from scratch (emphasis on "scratch" considering the scale of the itch) as a side project, but that quickly evolved into an excercise in overcoming analysis paralysis. I'm currently stuck on "can I count on the HTML Canvas to optimise cases where a tile is out of view or should I make a fancy system to calculate that now ?" I get an average of 2h a week to do this, so I need…

"I'm currently stuck on "can I count on the HTML Canvas to optimise cases where a tile is out of view or should I make a fancy system to calculate that now?""

I am not sure if I understand you correctly, but since I did wrote a canvas game from scratch, I can tell you that you cannot count on the canvas to optimize anything (and likely not what you want in this case)

Every browser does it a bit different and it will depend on the hardware and OS what optimisation features are avaiable.

On average the canvas is quite performant, though.

Performant enough, that in my case, I draw everything on a big map - zoom in and then move the map around, when the player moves.

On a gaming PC, maps can be quite large - but on an average mobile not so much.

But I autogenerate the levels which means I can dynamically adjust size, so this works for my game.

But in general yes, you want a small canvas, the size of the screen - and then only draw what is needed.

EaselJS may help with that. It is basically flash on the canvas, but does exactly this. You put all your graphic objects on the stage - and easelJS will figure out which one of those needs to be drawn at the current frame. I initially used it, but not anymore as it was not optimized for my use case, making LOTS of new draw calls on the map every tick. But for a classic game with limited entities, it is very performant.

Re: Ask HN: Favourite open source game?

#142
post #75

ryzom: https://en.wikipedia.org/wiki/Ryzom i only played it briefly, but i believe it is the only FOSS MMORPG out there. if there are others, i'd like to know

Ryzom leveldesign and sound assets are not open source.

thanks, i didn't remember that detail, but there are other FOSS games with similar, or even worse caveats (graphics not free for example), and i think they are still worth considering.

with the whole engine and other code accessible as FOSS we can fix bugs and improve the game. and we can run our own servers and create our own stories. only the lack of sounds is a pity. that would be some work to recreate. i don't know if there are efforts underway

Re: Ask HN: Favourite open source game?

#144

I have tried various over the past 20 years and they've been mentioned elsewhere on this thread, but the main two I use are: The mana world- a 16 bit inspired MMO rpg http://www.themanaworld.org And EDOPro, a YGOPro fork (You-Gi-Oh client) with improvements

Wow, The Mana World still is actively used? That's pretty cool. Also a weird Baader-Meinhoff moment, I just saw Thorbjørn Lindeijer last weekend at the 40th birthday of a mutual friend, and we briefly talked about when we were still studying together and he, his brother Frode and a few other guys just started that project.

Funny how that project directly lead to Tiled

https://www.mapeditor.org/

Re: Ask HN: Favourite open source game?

#145

Apologies in advanced for not submitting a game. Does anybody feel an unbreakable urge to just break from free of the dreary day job and write games for fun each time you see a HN post like this? My fantasy is to just go and Browserize a game (and not just by wasming it). Gaaaaah the tragedy of limited time!

I indeed played with the thought to "browserize" OPENTDD. Similar logic, but real time, everything slower, so you can built and earn money only very limited. So that a Game could last like a year or so and playing a few minutes per day would be enough.

Re: Ask HN: Favourite open source game?

#146

IVAN ( https://github.com/Attnam/ivan ) A rougelike where you can have your legs severed, pray to a god to have them regenerated and have them regenerated as bananas. Edit: you can try it in the browser! https://attnam.github.io/ivan-050-wasm/

Thanks for the suggestion; Just had a go. It was a blast. Things seemed to be going well until I ate a giant mushroom, got confused and then eaten by some kind of hybrid giant mutant plant bunny or some such. Bookmarked.

Would recommend.

Re: Ask HN: Favourite open source game?

#147

Simon Tatham's Portable Puzzle Collection https://www.chiark.greenend.org.uk/~sgtatham/puzzles/

Some of the puzzles are also (better?) known under other names

I first knew many of them by the Nikoli/Japanese names, under which they were released on Nintendo portable platforms.

KenKen -> Keen

Hitori -> Singles

Slitherlink -> Loopy

Sudoku -> Solo

Akari -> Light Up

Relatedly, there's a nice book with a mildly embarrasing title called "Puzzle Ninja: Pit Your Wits Against the Japanese Puzzle Masters" that works as a nice intro to many of these games, and has interviews with creators. Though I find discovering the strategies for new games to be part of the fun, so it is a bit spoilerish that it walks you through some of the basics, but ideal for someone new to the whole area.

https://openlibrary.org/works/OL21160241W/Puzzle_Ninja

Re: Ask HN: Favourite open source game?

#149

Xonotic[1] is excellent (Named Nexuiz in the past, but that name was essentially stolen). Hours of Quake like fun with beefed up graphics and a bunch of interesting gameplay twists. One the mobile side there is Shattered Pixel Dungeon[2], also to be found on F-Droid. The polish behind that project is insane for something FOSS and the hours I put into it are something to be embarrassed about. [1] https://xonotic.org/…

Sauerbraten (previously known as Cube) was always a favourite of mine, with the added twist that the game itself was also the level editor, and different players could be in different "modes" in the same map - a group of people CTFing, while others deathmatched, and a couple of others were literally redrawing the map as they played.

I see there's even a release of it that's not that old - I remember it from about 15 years ago and it still seems to be developed.

http://sauerbraten.org/

Post reply on HN