Skip to content

Latest commit

 

History

History
60 lines (50 loc) · 2.52 KB

ToDo.md

File metadata and controls

60 lines (50 loc) · 2.52 KB

To do on standby (forever)]

🔘 to do; ☑️ OK; ❗ priority; ✂️ not a thing anymore


🔘 update the readme's gif
🔘 adding sound

🔘 exterior with a scroll (! the player moves with the screen limits)

☑️ collision with png
☑️ animate png
☑️ add a cat
☑️ add a roomate
☑️ to fix: bug intercat when moving
☑️ refacto with struct for the sprites
☑️ hide the sprite when window + sprite at the bottom of the screen
☑️ interact with all the background
✂️ recreate tilesets (i'll do that for a real game)
☑️ create sprites for cat and roomate
☑️ interact without walk...
☑️ correct player animation when colision, should move in the right direction
☑️ clean the title screen and found the dot bug
☑️ change player colors
☑️ add a title screen with a press start button to enter the game
☑️ splash screen with fadding palette
☑️ manage collisions with background
☑️ tidy up the files + comments
☑️ create and animate a real sprite
☑️ pimper les Makefile


📗random notes

To have the right shades of color for a sprite (black, gray, white, and light gray transparent):
- draw with WHITE for transparence, and LIGHT GREY for white;
- convert to gb with img2gb ans this commande:
img2gb tileset \
--output-c-file=../src/tiles_player.c \
--output-header-file=../includes/tiles_player.h \
--output-image=./player.sprites.png \
--sprite8x16 \
--name PLAYER_SPRITES1 \
./player1.png
- when init sprite, add this change fot default palettes: 'OBP0_REG = OBP1_REG = 0xe2';
- can test other combinason

memo palette: put the hexa values avoid to have 'warning 158: overflow in implicit constant conversion' which is not great

b 11 g 10 l 01 w 00

PALETTE(WHITE, LIGHTGR, GREY, BLACK) = 11100100 = 0xe4 PALETTE(LIGHTGR, GREY, BLACK, BLACK) = 11111001 = 0xf9 PALETTE(GREY, BLACK, BLACK, BLACK) = 11111110 = 0xfe PALETTE(BLACK, BLACK, BLACK, BLACK) = 11111111 = 0xff

memo text:

19 char/line