Top 23 Game Open-Source Projects
The visual rendering is done by Phaser. I have a working version using Pixi as well, but went with Phaser for arbitrary reasons. https://phaser.io/ https://pixijs.com/
:iphone: Collaborative List of Open-Source iOS AppsProject mention: privacy in ios | reddit.com/r/privacy | 2021-10-13
A cleaner presentation of the above site.
Rapidly build stunning web apps using Syncfusion Blazor UI components.. Includes DataGrid, Charts, Schedular, Diagram, and much more. Our native, high-performance components have rich UIs and data visualization, backed by professional support. Free 30-day Trial.
Desktop/Android/HTML5/iOS Java game development frameworkProject mention: What software do you use to draw the UI? | reddit.com/r/gamedev | 2021-10-09
I'm using LibGDX TexturePacker2 standalone version to pack images into atlases. I wrote my own .atlas file parse that loads the files (it's a very simple textual format).
:video_game: A list of popular/awesome video games, add-ons, maps, etc. hosted on GitHub. Any genre. Any platform. Any engine.Project mention: Holup it me | reddit.com/r/airmash | 2021-09-24
Hey should we add airmash to https://github.com/leereilly/games.
CSS is powerful, you can do a lot of things without JS.Project mention: CSS Deep | dev.to | 2021-02-26
A sandbox tower defense gameProject mention: I just found this open source game. Are there any other noteworthy open source games I should know about? | reddit.com/r/pcgaming | 2021-10-11
Free (as in freedom) open source clone of the Age of Empires II engine :rocket:Project mention: Openage Development: 2021 - Week 38+39 | reddit.com/r/openage | 2021-10-13
NEW: more detailed log for conversion of media files (Link)
Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
♞ lichess.org: the forever free, adless and open source chess server ♞Project mention: Any tips for changing from online to otb board? (Large, plastic pieces and board) | reddit.com/r/chess | 2021-10-19
As the title says. I am playing an otb tournament very (very) soon, but I'm only used to playing online, or casually with small wooden pieces. But i find it hard visualising and strategising on real boards, when I'm used to online (chess.com and lichess.org).
Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.Project mention: Red alert 2 for linux | reddit.com/r/game | 2021-10-18
You might want to see this: https://www.openra.net/
An open source re-implementation of RollerCoaster Tycoon 2 🎢Project mention: Underpriced On-Ride Photos lead to Income/Profit appearing massive? | reddit.com/r/rct | 2021-10-15
You should probably report it at OpenRCT2's github.
An open source re-implementation of Diablo 2Project mention: Diablo 2 Resurrected plagued by server issues | reddit.com/r/pcgaming | 2021-10-11
A simple Minecraft clone written in C using modern OpenGL (shaders).Project mention: I just learned java, want to make a simple minecraft clone | reddit.com/r/javahelp | 2021-09-11
Not java but https://github.com/fogleman/Craft will give you an idea of what has to be done.
Diablo devolved - magic behind the 1996 computer gameProject mention: How do I structure a games code? | reddit.com/r/gamedev | 2021-09-08
Making games is hard. Code is never going to be perfect and you could always contrive corner-case scenarios that break your design at any given point. For some perspective, Diablo 1 declared all the items and spells in a giant array. Do what ships the game.
rhythm is just a *click* away!Project mention: How can get osu laser on io | reddit.com/r/osugame | 2021-10-18
I tried to get it from this link: https://github.com/ppy/osu but it says there not accepting new testers. How should i get it then?
One framework for creating powerful cross-platform games.Project mention: Libraries for other languages similar to Ebiten? | reddit.com/r/ebiten | 2021-10-18
Petition to open source Flash and Shockwave specProject mention: Opensource your abandonware (2010) | news.ycombinator.com | 2021-01-03
You might be interested in this little bit of history:
A work-in-progress, open-source, multi-player city simulation game.Project mention: How to run the latest releases in windows | reddit.com/r/Citybound | 2021-01-08
You can manually delete the game's save files. Looks like it defaults to ./city relative to the game's working directory. The specific path depends on how you ran the game.
A traffic simulation game exploring how small changes to roads affect cyclists, transit users, pedestrians, and drivers.Project mention: City planner doesn't know what C:S is and writes a whole book about how to get bikes on the road and off the sidewalks and I thought it was pretty funny | reddit.com/r/CitiesSkylines | 2021-10-15
The website is here - you can play online clicking on "your web browser" link in there (it currently links to http://play.abstreet.org/0.2.62/abstreet.html but there's a new version every week and the url changes)
Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.Project mention: Open world RPG games with lots of cities and towns? | reddit.com/r/gamingsuggestions | 2021-10-17
CDDA. The towns are full of zombies so perhaps it isn't really what you had in mind, but it's also free so you can try it easy. https://cataclysmdda.org/
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and UnityProject mention: High performance ECS framework for C# without Unity? | reddit.com/r/gamedev | 2021-09-05
Github documentation for entitias looks like it is still good https://github.com/sschmid/Entitas-CSharp/wiki
A game for learning CSS flexbox 🐸Project mention: CSS Layouts: History from Float to Flexbox and Grid | dev.to | 2021-10-14
Not semantically correct use of tagsStill use for tabular data!I've had to modify my fair share of web sites built entirely with tables, and it was quite unpleasant. At one point in order to accomplish the design I stuck a complete div within a td cell. (I wasn't proud but it worked and passed W3C validation!) The Age of Floats and Hacks Floats were initially designed to wrap text around an image or other element. Then some really smart developers figured out a way to hack this tool to make multiple-column layouts by setting widths of floats within a container.Float works well for columns with equal height: Unfortunately float does not stack well when columns have different heights. Because the 2nd card is longer, it blocks the 4th card from being able to form a new row directly below the 1st card. The solution was to add a wrapper around each row with clearfix in HTML. This makes each row its own container: Bootstrap 3’s grid system follows this logic: Rows have negative margins on both left and right sides to account for left/right padding of floated divs This method doesn't work well with dynamic content or when you don't know how many items will be in each row There is no easy way to vertically align content when the elements are floated.An alternative method that does allow vertical alignment is inline-blocks: The complications with using inline-block elements for layout: Inline elements contain properties of both "block" and "inline", which means you can set a width (block property) but they always preserve white space in order to maintain spaces between words (inline property) This means there is always an inherent margin between items Either zero out margin or make widths never add up to 100% How do I get my heights to match??? Neither floats nor inline-block force the elements to be same height.Let's make everything a table again? None of these solutions are ideal and/or require a combination of different CSS properties. I started out my career using floats and got pretty good at it, but after avoiding using it at all the past few months, I can't say I miss it too much. The Modern Era - Flex and Grid Flexbox and grid are modern solutions to the previous issues we had with layout methods. Both layouts have their specialties but let's clear up some things: Flexbox was implemented first The addition of Grid does not make Flex obsolete. Some things you can do in Flex that you cannot do in Grid There is overlap in which both can be used to achieve the same visual effect If you can, use the right one to take advantage of its unique features You can use both of them to accomplish things neither can do by itself! When to use Flex vs Grid Use Flex when: Content is priority Need horizontal or vertical alignment Layout is one-dimensional Need better older browser support (use prefixes!!) Use Grid when: Things need a set width regardless of content Need two-dimensional layout (items in one row or column need to align with the item in the previous row or column) Elements need to overlap The terms one-dimensional vs. two-dimensional are very confusing if you're completely new to these layout methods, because you can have multiple rows or columns using flexbox, and you can only use grid for one row or column only.Because flex only considers one direction at a time, I think of flex as having amnesia regarding what it did previously. If you have 2 rows of items using flex, once you get to the 2nd row, flexbox doesn't remember what it did in row 1. It follows the flex properties that are set; if this happens to cause the items in row 2 to align with the items in row 1, that just happens to be the case that they are all the same width. It doesn't necessarily have to line up.With grid, think of a Connect Four gameboard. You can drop the plastic tokens and line up multiple red pieces together to form one big red section, or giant blue sections, but the pieces must always slot within the row and columns. Nothing can ever fill half a row or column. Flexbox Content-driven Enables easier vertical and horizontal alignment Allows children to "flex", "either growing to fill unused space or shrinking to avoid overflowing the parent" - W3 Only considers one direction (row or column) and only processes one at a time Flexbox is a savior when it comes to vertically aligning things within a container. Previous methods I would use commonly were: Setting line-height equal to the height of the container (and thus blowing up if text ever wrapped to the second line) Creating a wrapper around the item and using a combination of display: table and display: table-cell Using transform: translateY() Flexbox Examples Let's look at the default Flex settings and compare with different values for flex-grow and flex-shrink: Remember when we couldn't do both equal-height containers and vertical alignment? We can with flexbox: Playing around with flex-grow and flex-shrink can allow us to fill the row if we don't have an equal number of items per row. This is an example of flex amnesia; it only obeys the content-sizing rules you have set up. Here are two simple navigation bars using flex. The first groups links to the left and aligns one to the very right to separate it: The second navigation bar allows all items to be equally spaced when we don't know how many links or how long the link names will be. This wasn't hard to do using floats or inline-block; it just required manually updating the margins every time a new item got added or the text was updated: Finally here's a masonry-type gallery we can build with flex. We wouldn't be able to accomplish this exactly with grid because everything using grid would have to align to both the horizontal and vertical tracks set up: Grid Grid is the first CSS module designed specifically for layouts - something we've been lacking ever since CSS was created.Grid can handle both rows and columns, meaning that it will always align items to the horizontal and vertical tracks you have set up. Grid is mostly defined on the container, not the children as it is with flexbox. Grid Examples Here's a basic non-responsive layout using fractional units. Notice how much shorter the code is versus the previous methods. Note that this same layout can be accomplished with flexbox as well as long as you set the width property on all the flex children. This will cause them to neither grow nor shrink (or flex) anymore, which means you are no longer taking advantage of the inherent properties of flex. It's still better than using floats or inline-block, but if you are able to use grid in this scenario, then that is a better case for grid.Here's a responsive layout using auto-fit and repeat. Notice the lack of media queries: Here's the same idea except for a photo gallery. Notice that there is a fallback for older browsers that do not support grid by using a feature query: Advanced Grid Examples We can control the exact location of items by specifying the row/column numbers and where they start/end. This method can be confusing if you are used to other programming languages where arrays start at 0. With grid, the lines each start at 1 instead. I would highly recommend using Firefox's developer tools to easily debug these layouts: Here's the exact same layout, but instead of using grid and row numbers, we are using named areas instead: Because we can control the exact size of items using column and row spans, we can create a variation of the flex masonry gallery above using the grid property grid-auto-flow: dense. Note that this rearranges items differently than how they were laid out in the html source order. Supercombo of Flex AND Grid This layout uses grid to align the cards and make them equal heights across all the rows (finally!). Flexbox is then used to align the button to the bottom of every card. It seems simple now but this was one of the most frustrating experiences I had using floats; I would have to set min-height and hope that the content never fluctuated wildly afterwards, but this means needing to change the height multiple times using media queries. Other Layout Methods As awesome as they are, flexbox and grid don't make every previous method obsolete. The document flow of the HTML is still the OG layout. We're probably not going to display: grid on the body tag. Other layout methods are still fine too provided we use them for their original purpose: Use floats to wrap items around another item (ex: text around an image) Use tables for tabular data Use position: absolute / fixed / sticky common for menus or any other element that must be taken out of the HTML flow Use multi-column layout for flowing continuous content Backwards Compatibility But what about [outdated browser]?? Flexbox and grid are only fully supported in modern browsers. Internet Explorer 10 supports flexbox with caveats around some properties (particularly the flex shorthand), and IE11 has its own prefixes for grid and doesn't support all the other properties.I used to find coding web pages for older browsers to be a giant pain, especially IE9 and below. It can still be frustrating occasionally, but recently I've subscribed to the idea that websites should always be as backwards-compatible as they can be because that was the entire purpose of the web. Web sites are not applications in terms of being versioned and then failing to run completely if your browser is too old. They should always be accessible as possible.What I was doing wrong when I was testing in IE8 was trying to match the design exactly across every single desktop browser. Then I kept hearing about the idea: why does the site have to look exactly the same in IE8 vs modern browsers? We already have different experiences for mobile and tablet, and even the same browser will render slightly differently on different computers.If your client's users are mainly IE11, then yeah you shouldn't be doing everything in grid. Ideally the design would keep that in mind as well. But if we're working off designs that are based on modern browsers, then we should use modern methods BUT make sure that these still look and function well in all the older browsers. Layout Comparison Let's take the same simple 3 boxes layout that we started with at the beginning and look at how they compare across floats, flex and grid: Notice that the float method doesn't make the items equal heights - not unless you add a min-height and even then if the content in one of those boxes gets longer you're back to square one. Maybe that's okay for older browsers; maybe they won't get that nice polish of having beautifully aligned buttons, but the content and images and order are still presented in the same manner and everything is still readable. Resilient CSS I really like the term "resilient CSS" by Jen Simmons. The site's CSS should use the cascade properly in terms of failing and overriding. CSS properties not understood by the browser will just not run and skip to the next line.Knowing this we can arrange our CSS in a way to maximize compatibility. If we use feature queries, we need to take into account that modern browsers will run all the CSS, including the ones we intend for older browsers. So if we set a width first on a CSS property for older browsers (let's say we're using display: inline-block), and we intend to use grid on that same element for modern browsers, we would need to override that width property within the feature query because the modern browser will run everything. We have to be sure to 'cancel' out or undo the other CSS.Look back at this example to see what what I'm talking about: So double-edged sword, browser compatibility can be frustrating but I appreciate that everyone can still view web sites from 20 years ago and that this is one of the reasons the web is so special. I have had discussions with coworkers on why even jump to these newer methods so soon if we have to spend more time and write additional CSS to account for older browsers,It's going to be personal preference as a developer - how much do you want to fit the site within the budget versus your long-term growth in web development. But that is the nature of the web development, things change constantly and it's hard to keep up with everything, but these CSS layout methods are so fundamentally different and better than the tools we've used before. I truly believe the investment in learning these methods now will pay off and make the web better in the future.If we use newer methods, we can: Keep up with web development field Build more complicated layouts more easily Make sites easier to maintain in the future Still maintain backwards compatibility for older browsers Start using newer methods gradually and browser test components and you'll be on your way to awesome new designs. More Information The New CSS Layout by Rachel Andrew Complete Guide to Flexbox: https://css-tricks.com/snippets/css/a-guide-to-flexbox/ Complete Guide to Grid: https://css-tricks.com/snippets/css/complete-guide-grid/ What’s the Difference between Flex and Grid: https://css-tricks.com/quick-whats-the-difference-between-flexbox-and-grid/ IE and grid: https://rachelandrew.co.uk/archives/2018/07/17/should-i-try-to-use-the-ie-version-of-grid-layout-revisited-for-2018/ CSS Grid Layout and Progressive Enhancement Layout Land: https://www.youtube.com/watch?v=FEnRpy9Xfes&list=PLbSquHt1VCf1x_-1ytlVMT0AMwADlWtc1 Resilient CSS series: https://www.youtube.com/watch?v=u00FY9vADfQ Free Lessons and Tools Quick screencast videos: https://scrimba.com/ Flexbox game: https://flexboxfroggy.com/ Grid generator: https://cssgrid-generator.netlify.com/
A dead simple 2D game library for GoProject mention: Rewriting the trees tutorial of Pixel with Ebiten for API comparison | reddit.com/r/ebiten | 2021-10-17
What are some of the best open-source Game projects? This list will help you:
Are you hiring? Post a new remote job listing for free.