-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to convert Sprites via ngdevkit? #100
Comments
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: