i showed it a function in C that loads metatiles, top to bottom: (this is essentially shiru's metatile code)
Code: Select all
if(pad&PAD_UP) //this code loads metatiles to fill the entire the screen, top to bottom, from an array of metatiles.
{
if(!(level_y&7))//put new row every 8 pixels
{
prepare_row_update(name_row,level_y/16); //where on the screen first, then what part of the level to load.
set_vram_update(update_list);//the update is handled at next NMI
if(name_row<30) //30 rows worth of 8 pixels.
{
++name_row;//next row.
}
}
scroll(0,scroll_y);//scroll value will be applied on the next nmi as well
++level_y;
}
then i told the bot:
now make a new function so that: when i press down the metatiles fill the screen bottom to top
not only did it write the function instantly, it explained exactly what it was doing.
Code: Select all
void fill_screen_bottom_to_top() {
if(pad&PAD_DOWN) {
if(!(level_y&7)) {
prepare_row_update(name_row, (level_y/16) + 30);
set_vram_update(update_list);
if(name_row > 0) {
--name_row;
}
}
--level_y;
}
}
i plugged it into my NES rom and it actually works..
how do you guys feel about it? are you using this tech right now? is it a gamechanger? will this make your game come faster?
i'd love to hear more thoughts.
i am not sure if the bot can really handle your assembly language i havent tried, that might be where it can no longer be helpful.
but honestly for prototyping something it's a super useful thing to have!
it doesn't always help or work out the best though, but sometimes it does, and it comprehends things very well!