{"id":33003983,"url":"https://github.com/mills32/CUTE_DEMO","last_synced_at":"2025-11-18T09:01:47.270Z","repository":{"id":109895239,"uuid":"115155743","full_name":"mills32/CUTE_DEMO","owner":"mills32","description":"A Cute Demo for the GameBoy Color","archived":false,"fork":false,"pushed_at":"2020-06-17T10:05:04.000Z","size":3857,"stargazers_count":31,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-13T07:48:37.396Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mills32.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-12-22T22:57:08.000Z","updated_at":"2023-08-31T04:04:20.000Z","dependencies_parsed_at":"2023-03-15T21:31:00.258Z","dependency_job_id":null,"html_url":"https://github.com/mills32/CUTE_DEMO","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mills32/CUTE_DEMO","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mills32%2FCUTE_DEMO","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mills32%2FCUTE_DEMO/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mills32%2FCUTE_DEMO/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mills32%2FCUTE_DEMO/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mills32","download_url":"https://codeload.github.com/mills32/CUTE_DEMO/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mills32%2FCUTE_DEMO/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285035891,"owners_count":27103933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-18T02:00:05.759Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-11-13T15:00:34.724Z","updated_at":"2025-11-18T09:01:47.264Z","avatar_url":"https://github.com/mills32.png","language":"C","readme":"CUTE DEMO\n---------\n\nUPDATE JUN 2020: \n-Now updated to GBDK 2020 (by Zal0).\n\n-Replaced Homer and Lisa with alien versions by me (Not so cute).\n\n-Added a lot of scanline palette changes (so much cute).\n\n-Added more cuteness to the chips scene and the transition window.\n\n-The boat is now a \"good ship lollipop\"\n\n\nWith GBDK 2020, c code is faster and smaller, so I could add the extra functions without trouble. \n\n\nSTORY\n-----\n\nHi everyone, I was updating my shitty \"second reality\" demo for DMG and CGB, but I just got bored of it, so I started \nthis one. This demo contains some of the code I was doing for second reality, for example the roto-zoom scene.\n\nSo this is \"my\" cute demo for the game boy color (Sorry DMG). I say \"My\" because I use some graphics and code created \nwith help from a lot of people, so I hope everybody is in the credits :).\n\nAs my programming skills are not the best, and my math skills are way worst than the average human, (lowering my IQ \nscore to 90), this demo is made just to be, or try to be, cute and colourful, and there are not a lot of clever \ntricks or code. \n\n\nTHE CODE\n--------\n\nUsing ASM was incredibly difficult for me, so I used the horrible, buggy, slow GBDK... Not so bad anymore in 2020!!, and I could add asm code inside c functions, (which is, in my opinion, the best way to do complex things on the game boy, because you get the best of both worlds... Thanks to the people in gbdev forums).\n\nThe CGB has an awesome feature called DMA transfer, which is used a LOT in this demo,(thanks again to to the people in gbdev).\nThis function transfers data to the video ram so fast, you can make little videos simulating everything, from a rotating \nobject, a 3D road or a parallax effect. \n\nDMA transfer needs data to be aligned to 16 bit, but GBDK don't usually align data, so I had to tell the compiler to \nlink the graphics data first, this way it always aligns the graphics, and then it stores the functions and everything \nelse without disturbing the alignment :).\n\nCustom ASM functions used:\n\n\t-DMA transfer: animates bkg tiles (rotating 2D objects, 3d tower and fake parallax). \n\t-Change palette every scan line: for static backgrounds.\n\t-Displaying high colour images: the cute tortoise.\n\t-Carillon music player: a binary block (no source available), called from whatever bank it is stored.\n\t-Wait for STAT = 1 and STAT = 2: it was impossible to make the GBDK functions to do this properly.\n\t\nThe rest of the code is just c.\n\nAs I said before, they didn't install a math chip into my CPU when I was built, so math related stuff is the result of \na LOT of boring hours (I mean, entire DAYS), trying to fit small things, and solving incredibly stupid mistakes I make...\n\n\t-Animal Sounds Toy: The cow goes \"Moooo\"...  \n\t-Peter: Ohh I now remember. \n\nDon't be mad if a lot of strange ways of doing things are present, and the source is a bit unreadable. \n\nI think I fixed all bugs, except for the last \"L\" sprite in the word \"DENTAL\" (Lisa scene), which suffers from the \n10 sprite per scanline limit, and I didn't know how to solve it without destroying the word.  \n\n\nTHE FINAL ROM\n-------------\n\nIf you want to modify and compile the demo, now I cleaned it up and you can using gbdk 2020 by Zal0!.\n\nWhen exporting graphics with gbtd and gbmb, you must change the defined arrays in .h files to \"const\", and copy all created files to graphics/src.\n\nRoto_Map_Anim array was Generated With GBA utils. because gbmb did not support such a big map.\n\nAlso note there are some gfx that can't be generated straight forward from the .gbm and .gbr files, for example, the window\nand parts of the final scene map, have to be set on top of the sprites manually, because GBMB does not export the 0x8_ properties.\n\nI didn't plan the size, and just by chance it ended up being a 16 bank ROM (256 Kb).\nGBDK bank management caused a lot of issues, most of the time, it would jump to random places if you try to wait too long \nwhile the game boy is reading code from banks 2 and beyond, so this made me change my code and use a lot of bank switching.\n\nAbout RAM, It looks like the game boy has plenty of ram :). Most variables are located at the beginning, and there are \nsome in the middle of WRA0, resulting in less than 1% of usage. \n\n\n\nRESOURCES\n---------\nMany graphics were drawn by me and a friend, I also used Blender to render animations for the DMA function. \n\n\t-Remember brain... if an animation takes 16 frames to make a prefect loop, go back to frame 1 after drawing frame 15, \n\t-Ok. \n\t-Or was it frame 0? \n\t-ERROR\n\nThis demo also uses graphics taken from the internet, some Simpson images (Not anymore), and also the more or less decent \nconversion of the music \"Atomic Twist\" by Jean-Jacques Perrey \u0026 Dana Countryman.\nI didn't find the credits for everything, so if you created the fat cute rocket or the cute tortoise, tell me :).\n\nThe 3D tower scene was inspired by the youtube channel \"Game_Hut\" where they explain how a 3D fake tower was made for \"Mickey mania\" https://www.youtube.com/watch?v=gRzKAe9UtoU\u0026t=37s.\n\nCUTE DEMO was made just for learning purposes and FUN, no comercial use can be done from this.\nAt the end of CUTE DEMO you'll see a cute credits scene, containing all credits.\n\nHope you like it\n\nMills\n\t\n","funding_links":[],"categories":["Homebrews","自制啤酒"],"sub_categories":["Demos","民众"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmills32%2FCUTE_DEMO","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmills32%2FCUTE_DEMO","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmills32%2FCUTE_DEMO/lists"}