Commit Graph

98 Commits (aee875f4b42a5961ba8db063008f5b975651a3f8)

Author SHA1 Message Date
Nathan Steel aee875f4b4 Add itemId to debug tool on rightclick
Just makes it easier, don't need to inspect element then enter
the id anymore
1 year ago
Nathan Steel c4d2989640 Add visual queues for passive effects 1 year ago
Nathan Steel 87e91d4a6d Add draw/reach to effect/debug 1 year ago
Nathan Steel 916c0f2dcb Add debug tool for effects 1 year ago
Nathan Steel ccb86df970 Start of basic effect functionality 1 year ago
Nathan Steel 96b45239ab Fix tap unit if destroyShield returns false 1 year ago
Nathan Steel 526569cbf5 Add flip card when shieldDestroyed/add to hand 1 year ago
Nathan Steel 13712689c1 Add more details to client debug 1 year ago
Nathan Steel 5691411697 Fix card not playing with mana cost reached 1 year ago
Nathan Steel 8ebabeaa9c Alter mana tap allow 2+cost with only 1 manareq 1 year ago
Nathan Steel bd465c5baa Add gradient fill to multi-mana cards 1 year ago
Nathan Steel fe41db49e5 Add 'manaColour' attribute/DB element
Currently cards will only have one mana colour, in future
need to extend the (in code) functionality to multiple, as DB
is already set to allow multiple.
1 year ago
Nathan Steel 019e457808 Set COLOUR enum to contain more colour details 1 year ago
Nathan Steel 5e819bfefe Contrast the text colour for colourCosts icons 1 year ago
Nathan Steel 7bd0840d75 Add colourReq to card UI 1 year ago
Nathan Steel 40e85730ba Add the mana colour onto mana cards 1 year ago
Nathan Steel 89391f5bbb Add the tempGetCol.. to jank colour in loadBoard 1 year ago
Nathan Steel b663232ebf Add to flipCard(), and flip mana (down) on play 1 year ago
Nathan Steel 7570729449 Create temp function for jank 'getPrimaryColour' 1 year ago
Nathan Steel aae1ed1be7 Fix mana tap (+ kinda multi-colour) 1 year ago
Nathan Steel 2e86707243 Change check for mana available vs card mana cost 1 year ago
Nathan Steel 202f7523ec Add attr. global board.js, and make colours array 1 year ago
Nathan Steel 51aa49ee63 Add basic colours back into the game (via server) 1 year ago
Nathan Steel 47f9290663 Changes to make loadBoard work with new data 1 year ago
Nathan Steel ed2ecdd2c2 Create item elements in server, and send to client 1 year ago
Nathan Steel 9147a1569a Tidied up/renamed certain functions 1 year ago
Nathan Steel ceef95712e Move card server logic test into cardGen.js module 1 year ago
Nathan Steel 144f3142e1 JANK in the server/db data into frontend! 1 year ago
Nathan Steel 2e9be63962 Pass server deckBuilt to client before client load
The cards/decks built in server now are loaded before the
game client starts setting up the game. Should allow for
using the cards/decks stored in DB in the game instead of file
1 year ago
Nathan Steel 4b0b4495e4 WIP! Attempt to add async wait on board/front-end
Want to wait for the cards to be loaded in before the game
loads any graphics, etc. so the new DB deckLists can be used
instead of files
1 year ago
Nathan Steel c3413e1c2c Add very basic DB access
Currently access DB, and return basic SELECT
Login details will be changed of course...
1 year ago
Nathan Steel 2a3250d932 Add cardFace/Sprite + print card front/back images
Added ECS elements for cardFace and cardSprite
Added spritesheet print into a clipping mask for cards
Added spritesheet print for cardBacks
Added a 'flip' function
1 year ago
Nathan Steel 8d3f8b99d7 Simplifying code for future me + tidyup/removal P1 1 year ago
Nathan Steel 8296074cb5 Wrap inEvent logic around each eventHandler case 1 year ago
Nathan Steel 0ccb65b1a3 Fix wrong cards added to deck 1 year ago
Nathan Steel afee6247fc Add itemdata/cardData filter to frontend debug 1 year ago
Nathan Steel b86e41c010 Fix error when playing card from hand
When opponent has hand in same position.
Added playerId to check
1 year ago
Nathan Steel 64a6a3ca85 Remove redundant ECSLoopTest from frontend 1 year ago
Nathan Steel 36f63ef354 FIX FOR LAST COMMIT
Forgot to add the index.html including change, and addition...
1 year ago
Nathan Steel 997ffae3c4 Add frontend console.log tool, renamed ECSLoop 1 year ago
Nathan Steel 515067936e Prevent multi-mana taps when only one should 1 year ago
Nathan Steel 79bd2da845 Add faux deckDB/array to add cards/decklists 1 year ago
Nathan Steel b2da688cf8 Add realDeck element and remove clickables 1 year ago
Nathan Steel 9fac1d3dcc Jimmied in manaCost stuff, but not 100% working 1 year ago
Nathan Steel 70f4a362b1 Add 'Test ECS Loop' to frontend 1 year ago
Nathan Steel 9754497895 Add ECSeyey... shuffleDeck 1 year ago
Nathan Steel 6458e7d85a Switch loops to normalised loop 1 year ago
Nathan Steel f209af082b ECSey LOOP NORMALISATION 1 year ago
Nathan Steel 96d21acc57 Fix deck count 1 year ago
Nathan Steel 73a44512ef Add shield destroy check logic 1 year ago