was8bit 2020-04-18 17:34 (Edited)
Rules follow original 2048 game
Tile combining is cascade style and all combinations in the swipe direction will automatically occur (real game only allows a tile to combine once per swipe)
No auto replay when no moves are available, must record high score and replay manually...
GAMELEGEND 2020-04-18 17:36 (Edited)
This is going to be awesome when its done
was8bit 2020-04-18 17:39
GAMELEGEND 2020-04-19 05:32 (Edited)
Whats next or are you just figuring out whats next one step at a time and dont really know what is next next now that the graphics are done
was8bit 2020-04-19 11:09 (Edited)
My next step is to work on the touch response to let player know which tile they are touching, and to return the visual touch cues back to normal when they release...
I often cannot predict when i can work on stuff here... between being tired from work or tired because i have trouble sleeping, or spending extra time taking care of things, i dont often have the right combination of: time, energy, clear thinking: all at once to work on fancier projects like games as much as i would like to...
But i try to stay focused enough to finish a game here and there, and my focus right now is on finishing this one :)
G-9 2020-04-20 13:33
was8bit 2020-04-20 13:44 (Edited)
Step by step...
My next step is to test my number placing SUB....
... if that works, then i will work out code that recognizes a SWIPE on the board...
G-9 2020-04-20 13:51
G-9 2020-04-20 13:51
But whats sub ?
was8bit 2020-04-20 14:06
I posted on SUB's here :)
G-9 2020-04-20 14:59
I don’t really understand
was8bit 2020-04-21 02:45 (Edited)
SUB's are an advanced feature... think of them as a mini program, or a definable function...
For example, in original lowres, CIRCLE X,Y,R would draw a circle with its center at pixel location X,Y with a radius of R... now, the math for this is something like
FOR A=0 to 2*PI STEP 0.1
However, when you use the function CIRCLE X,Y,R you dont actually SEE all of that math or code because it is inside of lowres...
LowresNx lets you CREATE your OWN function-like code... the code inside a SUB is "hidden" from the rest of your main program... however, you can use SUB similar to lowres built in functions... they do things for you...
was8bit 2020-04-21 02:56 (Edited)
About Cirulli-2048 game.... v0.6
The upper left #'s are the coordinates of which cell you first touch (highlighted)
The upper right #'s are the coordinates you last touched when you remove your finger
The lower left #'s indicate either a horizontal swipe, or a vertical swipe
These #'s will be removed from the screen for the next update, i just used them to work on my code until it worked right...
G-9 2020-04-21 08:11
Thanks now i understand. But it cans be replaced with GOSUB ?
G-9 2020-04-21 08:12
And Good Job x 10000, your game looks so good !!!
was8bit 2020-04-21 12:05 (Edited)
GOSUB, GOTO, RETURN simply reorganize your game code, other than that nothing special like SUB...
GOSUB is useful if you are repeeating the same portion of code several times.... using GOSUB could let you use that code only once and it saves you space and makes your code more readable...
Or, lets say you are doing lots of complicated stuff and it makes your code really long and hard to read, GOSUB can help break it down into logical chunks that make it easier to read....
The better your code is organized and easy to read, the better it is to track down a problem or make changes :)
was8bit 2020-04-21 12:06
Thanks for the compliment on the game :) the design of the #'s could be nicer but it is low resolution so that limits the graphics... it should play OK when its done :)
G-9 2020-04-21 12:13
was8bit 2020-04-22 07:52
Yea, game is finished :)
G-9 2020-04-22 10:42
Oh 😮 wow 🤩 you are the best !!!
was8bit 2020-04-22 11:24
Domo arigato ! :D
was8bit 2020-04-22 11:38
MY BEST score=5,926 with a high # of 512.... can anyone beat me? ;)
GAMELEGEND 2020-04-22 14:41 (Edited)
I like the changing backgound
was8bit 2020-04-22 15:51
This wasn't even planned... in fact neither was sound, but it occurred to me that i had created 4 different sets of numbers (big, plain, single lined, double lined) to help make matches more evident more quickly... so as i was coding the scores i realized i could add graduated sound effects based on how much you added to your score, giving precidence to the higher score
So i published the finished version with the gray edges... and while test playing it again for any uncaught errors, listening to the vibrating sounds, it came to me that a matching visualization of the vibrating sound would be cool, so i added a visual of vibrating sound that matched the sound as well as reflected the size of the points being added :D