233 Commits (main)
 

Author SHA1 Message Date
Elijah Voigt 545cad9d02 TODOs 12 hours ago
Elijah Voigt 0c42c33b7e We can draw a shape! 12 hours ago
Elijah Voigt c3bc656435 Tests pass! Still havent drawn anything but we are making progress 12 hours ago
Elijah Voigt c9d962df8d Shape layout stuff, test driven developmen to the rescue 13 hours ago
Elijah Voigt 125f303ec4 we have drawing from an asset! 1 day ago
Elijah Voigt 1536b43c51 Adding real spawning logic for handle<ShapeAsset> 1 day ago
Elijah Voigt 86436575e2 Simplify binary states 1 day ago
Elijah Voigt 2376e05109 Print states in debug menu 1 day ago
Elijah Voigt f3128b9c38 Toggle debug state with f12 3 days ago
Elijah Voigt 198233236d Toggle debug state with f12 3 days ago
Elijah Voigt fd2c52b5ac Log state transitions 3 days ago
Elijah Voigt 44a343ff71 I belive things are loading correctly... 3 days ago
Elijah Voigt b122c5cf0f Loading seems to work 4 days ago
Elijah Voigt e07ff07e23 Stubbing out shape asset loading for tetris, also fixed imports 4 days ago
Elijah Voigt 277260ecf6 Stubbing out tetris game 5 days ago
Elijah Voigt b576de94e4 restarting on tetris 1 week ago
Elijah Voigt 6b2370c6a5 Save feathers example, intend to redo ui at some point 1 week ago
Elijah Voigt e1dcda4584 Saving my place before basically starting over 1 week ago
Elijah Voigt 570b4916bc saving my place 1 week ago
Elijah Voigt 6e7ac3ce4e update toolchain 1 week ago
Elijah Voigt 2b1e4b4c8f Deal with jj removal 1 week ago
Elijah Voigt ea4448f781 Fix a bug where textures did not follow debug state when new entities
were spawned (i.e., shapes), leading to textured shapes being added in
debug mode.
3 weeks ago
Elijah Voigt a53e65af9a Simple art pass
The goal here is not to get final art, just to get _something_ in place.

Art should be toggle-able so we can turn it on/off for the simple boxes
(to debug) and to create a space that better art can easily be added.

I know I _should_ fix the bug where two blocks occupy the same spot...
... but I am chasing the dopamine.
3 weeks ago
Elijah Voigt 824cb998ff Recognize fail state for a level
Triggers when shapes are deactivated above the line
3 weeks ago
Elijah Voigt 1074555bab Recognize an "end state" for the game
Introduce some sort of "Goal" in a level.
When that goal is is "Achieved" and the level.
If the player chooses, go to the next level.

Requires:
* A goal tracker
* A level counter
* A state enum:
    * "InPlay": Playing the game
    * "LevelComplete": Completed the objective
        * Can progress to the next level
    * "GameOver": Failed the objective
    * "Paused": Gameplay is temporarily paused

Once a level is complete, there should be:
* A new goal generated for the next level.
* A button to progress to the next level.
3 weeks ago
Elijah Voigt 6fd9550975 Shape colors
This breaks shapes out into having separate colors.

This requires breaking shapes out into an enum describing the shape and
the shape layout, then we can add the mesh and material based on the
shape enum variant.
4 weeks ago
Elijah Voigt 2efa01bb89 jj: initial commit 1 month ago
Elijah Voigt 50c802fdab Refactor: change how shapes are represented. 1 month ago
Elijah Voigt 882aac6e6e clippy 1 month ago
Elijah Voigt acbf89a077 Everything compiles 1 month ago
Elijah Voigt c3cd7f87b6 Further migration to 0.17. Saving my place again 1 month ago
Elijah Voigt 602d6a923e Tetris works on 0.17 1 month ago
Elijah Voigt 1e2d37ed60 bevy 0.16 -> 0.17 saving my place 1 month ago
Elijah Voigt 96583f4cea Added damage to player, clear lines damage more, and refactored damage in general 1 month ago
Elijah Voigt 76733e20d8 Assigning and drawing health 1 month ago
Elijah Voigt db480af595 Very basic entities for battler 1 month ago
Elijah Voigt 2a5d7363fe Assert when two entities should not share the same grid position but do 1 month ago
Elijah Voigt a310bddce0 Sprite background (ish) and correct size for ui elements 1 month ago
Elijah Voigt 1c99950e65 Rendering to images works, images are ui nodes
Lots of improvements we need to make but the bones are there!
2 months ago
Elijah Voigt e6093b3fcb Very rough swap mechanic 2 months ago
Elijah Voigt 66c6019ea4 Skip is still buggy but just... less so. 2 months ago
Elijah Voigt a73f5ddb05 Base implementation of space to skip piece to end
It is buggy, but it is something...
2 months ago
Elijah Voigt 21ad8763e4 Remove the orientation enum 2 months ago
Elijah Voigt a6c96a6588 Fixed line clearing bug 2 months ago
Elijah Voigt 728e36171b Adding score and next piece preview 2 months ago
Elijah Voigt c3335e9263 Move tests to separate file, escape -> pause 2 months ago
Elijah Voigt 90a6181e22 We did it chat. We got clearing lines working 2 months ago
Elijah Voigt a13aa62a1f Fix left side bounds checking 2 months ago
Elijah Voigt 39b11593ca Fixed collision directionality bug 2 months ago
Elijah Voigt 11864e1229 Drawing piece based on shape matrix works! 2 months ago