You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey guys so anyways i am making a simple game with ngdevkit. so far i got hello world down, but now i am doing a sprite display program, but how do i convert images (ie png jpg) for graphics in my game?
The text was updated successfully, but these errors were encountered:
There is no asset management in the devkit. The only tool available is titletool.py. You give it one gif whose size is a multiple of 16x16 pixels, and it converts it into a series of 16x16 tiles which can then be accessed by the hardware during rendering. Once you have your raw data chopped into blocks of 16x16 tiles, you can concatenate all your files to build the C-ROM of your cartridge. As there is no asset management per se, you need to record manually the offset of each tile in the C-ROM to configure the hardware graphics chip for rendering it on screen.
Have a look at https://github.com/dciabrin/ngdevkit-examples, there are a couple of examples that precisely cover your questions regarding sprite rendering, animated sprites rendering, background rendering.
hey guys so anyways i am making a simple game with ngdevkit. so far i got hello world down, but now i am doing a sprite display program, but how do i convert images (ie png jpg) for graphics in my game?
The text was updated successfully, but these errors were encountered: