Code Review - Merge (Love2D Android Game)

Merge on Google playstore: https://play.google.com/store/apps/details?id=com.fluxgamedesign.mergepuzzlegame Discord: https://discord.gg/mUaVASvG4z Twitter:...

Code Review - Merge (Love2D Android Game)
DevJeeper
2.6K views โ€ข Oct 25, 2021
Code Review - Merge (Love2D Android Game)

About this video

Merge on Google playstore: https://play.google.com/store/apps/details?id=com.fluxgamedesign.mergepuzzlegame

Discord: https://discord.gg/mUaVASvG4z
Twitter: https://bit.ly/TwitterWMG
Instagram: https://bit.ly/InstaWMG
Our Games: https://bit.ly/ItchWMG

Text Editors: Atom: https://bit.ly/2WRikj8

- [Music] - Daniel Docherty https://www.danieldocherty.net/

00:00 Intro
00:35 Require
01:38 Scope & the settings.lua file
02:55 Variable = nil
03:50 Main structure & State management
06:58 state.lua - Gameplay state manager
07:22 Code repetition - Refactoring State:draw()
10:30 Side effects - Refactoring State:CheckWin()
17:57 Improved 'Timer' system
22:44 Reduce number of bools - Refactoring State:update()
26:06 Decouple State from Tile
29:01 Massive function - Refactoring Tile:mousereleased()
40:51 Outro

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

2.6K

Likes

133

Duration

42:40

Published

Oct 25, 2021

User Reviews

4.5
(2)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.