summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Paddle.cpp
AgeCommit message (Collapse)Author
2022-05-11Use nullptr when aligning relative to parentMichele Bini
2022-04-21Merge branch 'rev22-develop' into edgeMichele Bini
2022-04-18Replace lv_label_set_text where possibleRiku Isokoski
2022-04-10Use neofontsMichele Bini
2021-12-02Paddle: add a little randomization in the dy speedReinhold Gschweicher
To make the game a bit more challenging an less predictable add a little bit of randomness to the `dy` value. When hitting the right wall add a random number (one of [-1, 0, 1]) to the `dy` value. To keep the difficulty level managable limit the dy value to be in the range from -5 to 5.
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher
Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
2021-10-11Paddle: compare ballX coordinate with horizontal resolutionReinhold Gschweicher
Fix the comment as the comparison checks if the ball is at the right side of the screen. Compare the x coordinate of the ball with the horizontal resolution of the screen, instead of the vertical resolution. On the PinePhone this does make no difference as we have square 240x240 screen. Change it anyways to be completely correct.
2021-08-28Merge branch 'develop' into refresh_reworkRiku Isokoski
2021-07-19Set remaining default periods to LV_DISP_DEF_REFR_PERIODRiku Isokoski
2021-07-19Refresh reworkRiku Isokoski
2021-07-15Fix most issuesRiku Isokoski
2021-07-03Improve paddle gameRiku Isokoski
2021-04-24Reformatted all the files according to clang-format styleAvamander
2021-04-04Big UI and navigation RewriteJoaquim
new navigation add some color to the apps redesign menus new settings menu new quick settings code clean up size reduction by converting navigation images to font and more...
2021-01-28LVGL v7.10.0Joaquim
2020-12-20Update Paddle.cppZephyrLabs
blankline removal
2020-12-20Update Paddle.cppZephyrLabs
fix uppercase
2020-12-20Update Paddle.cppZephyrLabs
tranparent paddle bug fix.
2020-12-08Update Paddle.cppZephyrLabs
added changes from PR
2020-12-03Update Paddle.cppZephyrLabs
bugfix: add missing class
2020-12-03Update Paddle.cppZephyrLabs
create Paddle.cpp
2020-12-03Addition of new files in MakeListZephyrLabs
added Paddle.cpp and Paddle.h