This is a documentation for Board Game Arena: play board games online !
BGA Code Sharing: Difference between revisions
Junibegood (talk | contribs) (Add Canosa to the list of publicly available projects) |
Junibegood (talk | contribs) (Sort projects in alphabetical order) |
||
Line 161: | Line 161: | ||
| https://github.com/AntonioSoler/bga-bonbons | | https://github.com/AntonioSoler/bga-bonbons | ||
| Morgalad | | Morgalad | ||
|- | |||
| Canosa | |||
| https://github.com/HalibutGitWiz/Canosa | |||
| junibegood | |||
|- | |- | ||
| Coinche | | Coinche | ||
Line 169: | Line 173: | ||
| https://github.com/quietmint/bga-coupcitystate | | https://github.com/quietmint/bga-coupcitystate | ||
| quietmint | | quietmint | ||
|- | |||
| Dice Summoners | |||
| https://github.com/eoincos/bga-dicesummoners | |||
| eoincos | |||
|- | |- | ||
| Dungeon Roll | | Dungeon Roll | ||
Line 189: | Line 197: | ||
| https://github.com/alberto-bottarini/bga-florenza | | https://github.com/alberto-bottarini/bga-florenza | ||
| tarini | | tarini | ||
|- | |||
| For-Ex | |||
| https://github.com/Fnordistan/forex | |||
| AmadanNaBriona | |||
|- | |||
| Get the MacGuffin | |||
| https://github.com/mizutismask/bga-get-the-MacGuffin | |||
| mizutismask | |||
|- | |||
| Hardback | |||
| https://github.com/quietmint/bga-hardback | |||
| quietmint | |||
|- | |- | ||
| Hearts '''(Tutorial)''' | | Hearts '''(Tutorial)''' | ||
Line 205: | Line 225: | ||
| https://github.com/micahstairs/bga-innovation | | https://github.com/micahstairs/bga-innovation | ||
| Micah Stairs (micahstairs) | | Micah Stairs (micahstairs) | ||
|- | |||
| In the Year of the Dragon (10th Anniversary Edition) | |||
| https://github.com/Fnordistan/ityotd | |||
| AmadanNaBriona | |||
|- | |||
| Just Desserts | |||
| https://github.com/mizutismask/bga-just-desserts | |||
| mizutismask | |||
|- | |||
| The King's Guild | |||
| https://github.com/AdamNovotny/BGG-KingsGuild | |||
| A-dam | |||
|- | |||
| The Lady and the Tiger (Doors) | |||
| https://github.com/Fnordistan/ladyandthetiger | |||
| AmadanNaBriona | |||
|- | |- | ||
| Mapmaker: The Gerrymandering Game | | Mapmaker: The Gerrymandering Game | ||
Line 225: | Line 261: | ||
| https://github.com/AdamNovotny/bga-blooms | | https://github.com/AdamNovotny/bga-blooms | ||
| A-dam | | A-dam | ||
|- | |||
| Perikles | |||
| https://github.com/Fnordistan/perikles | |||
| AmadanNaBriona | |||
|- | |- | ||
| P.I. | | P.I. | ||
| https://gitlab.com/fa81/bga-pi, https://github.com/hellp/bga-pi (mirror) | | https://gitlab.com/fa81/bga-pi, https://github.com/hellp/bga-pi (mirror) | ||
| Fabian Neumann (fa81) | | Fabian Neumann (fa81) | ||
|- | |||
| President | |||
| https://github.com/quaresma95/president | |||
| quaresma95 | |||
|- | |- | ||
| Santorini | | Santorini | ||
Line 257: | Line 301: | ||
| https://github.com/leocaseiro/bga-tictacmatch | | https://github.com/leocaseiro/bga-tictacmatch | ||
| Leo Caseiro | | Leo Caseiro | ||
|- | |||
| Trick of the Rails | |||
| https://github.com/Fnordistan/trickoftherails | |||
| AmadanNaBriona | |||
|- | |- | ||
| Uptown | | Uptown | ||
Line 265: | Line 313: | ||
| https://github.com/christopherburke/bga_viamagica | | https://github.com/christopherburke/bga_viamagica | ||
| CuriousTerran | | CuriousTerran | ||
|- | |- | ||
|} | |} |
Revision as of 18:39, 11 March 2023
This page is for listing of externally hosted bga projects, tools and resources, as well as internal project intended for sharing
NAME | CODE LINK | DESCRIPTION |
---|---|---|
Dice models and animation | ||
Die: 4 sided | https://codepen.io/mrkiffie/pen/doVZgW | code pen |
Die: 4 sided | https://codepen.io/VictoriaLa/pen/JjZNezr | code pen |
Die: 6 sided | https://github.com/elaskavaia/bga-sharedcode | Code can be found in project |
Die: 12 sided (dodecahedron) | https://codepen.io/VictoriaLa/pen/xxLLxOP | Code pen |
Die: 20 sided | https://codepen.io/vicentemundim/details/cenIh | Code pen |
Moving object using CSS animation (mostly) | ||
Phantom object move on oversurface | https://codepen.io/VictoriaLa/pen/gORvdJo | This technique creates clone of the object it moves it on another surface. It works well when parents that css transform applies such as scale and rotate |
Move object directly using positioning | https://codepen.io/VictoriaLa/pen/dyzgKVX | This technique is modification of BGA framework method to allow mobile object not to have absolute position before or after the move (and uses css animation not dojo). Methods slideToObjectRelative, attachToNewObjectNoDestroy |
Responsive layout for game boards | ||
Flex Layout | https://codepen.io/VictoriaLa/pen/XWjJJgG | Example on how to create flexible layout just by using css |
Algorithms | ||
Hex grid | tapestry,Tumbleweed,gaia project,Gold West | |
Shortest path on hex grid | memoir 44 | Disjktra |
Largest area on hex grid | tapestry, ... | |
Largest area on square grid | king domino, ... | |
Tetris pieces | patchwork, ... | Matrix manupations to rotate, flip and fit tetris pieces |
Line of sights on hex grid | memoir 44 | Find intersecting hexes on a line between two cells |
Alternative implementations of BGA modules | ||
Scrollmap with zoom | cacao | |
Scrollmap Plus | patchwork | Implementation with some bugs fixed, improved drag support and ability to use only one direction (i.e. only horizontal like carousel). Found in modules/extscrollmap.js |
Zoom | Repo | Demo (visible on Azul, Abyss, ...) | Allow the user to zoom on the game board. Include the controls to zoom, and handle the scale applied to the HTML element. |
Cards | Repo | Demo (visible on King of Tokyo, Abyss, ...) | Alternative to BGA Stock component, using CSS transitions instead of dojo animations. |
Dice | The next project | |
Projects
Add the game name, a link to repository and nickname of the developer on bga (same as used for dev forum), and short description. See Tools_and_tips_of_BGA_Studio#Version_Control for some suggestions on how and where to publish your code externally. Also see the boardgamearena topic on github.
Important notice about artwork on BGA Open Source projects: original hi-resolution images from publishers must not be published on the repositories. In addition, it is better to specify that the images derivated from publishers artwork are copyrighted and cannot be licensed under a free license like Creative Commons.
Projects on studio
Any developer can add themselves to a project as read-only from https://studio.boardgamearena.com/#!projects page (almost any project).
If it is not visible: a) it has no bgg id b) it is already published (use radio button to switch) c) it is an old game not developed on studio.
Other useful resources
Moved to Tools_and_tips_of_BGA_Studio