was8bit 2020-09-22 02:49
Arrow keys scroll...
... demonstration on creating a game table (scrolling stops at edge of table)
was8bit 2020-09-22 04:05
Here is a sneak preview of what i hope will become a game... i am not officially posting it as i havent worked out how to finish it yet....
was8bit 2020-09-22 04:11 (Edited)
On the 8bit cards, i use a few tricks....
1) BG 1 is the gametable, which limits where cards can be played
.... BG 0 holds all visible cards
.... cursor is a sprite
2) i use an array the size of the screen, so stacks of cards are refered to by their location on the screen... making it simple to get and put cards
3) PUSH puts cards into memory, POP pulls cards from memory... array index 0 is considered the top visible card of a stack of cards....
The > spaces will tell my code that when one card is moved, all cards to its right get moved too... the logic/code for this is and other moves is what i havent worked out yet...
qwaffe 2020-09-22 05:24 (Edited)
hmm.. where are the "10" cards?
was8bit 2020-09-22 05:54
Yes, i discovered that, and fixed that in the 8bit version... :)
was8bit 2020-09-23 07:22
How is this concept?
Hold A + arrows to move the GET pointer
Hold B + arrows to move the PUT pointer
Hitting the PAUSE button would move the card... although it dosnt move cards yet....
was8bit 2020-09-23 07:27 (Edited)
The red #'s indicate the zone.. zone 0 is the top row with only piles of cards, and zone 1 is the area with the moveble stacks of cards...