{"id":77,"date":"2014-05-01T23:14:12","date_gmt":"2014-05-01T23:14:12","guid":{"rendered":"https:\/\/blogs.scummvm.org\/uruk\/?p=77"},"modified":"2022-05-22T14:38:08","modified_gmt":"2022-05-22T14:38:08","slug":"splash-screen-with-a-little-music","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/uruk\/2014\/05\/01\/splash-screen-with-a-little-music\/","title":{"rendered":"Splash screen with a little music"},"content":{"rendered":"<p>Progress-progress-progress! \ud83d\ude42<\/p>\n<p>As the title describes, during the past week I was able to display the splash screen at the beginning of the game (right before the intro), and play some MIDI formatted music. Let&#8217;s see the result of it:<\/p>\n<div class=\"separator\"><img decoding=\"async\" src=\"https:\/\/blogs.scummvm.org\/uruk\/wp-content\/uploads\/sites\/48\/2022\/05\/sfinx_splash.jpg\" \/><\/div>\n<p>Cool, isn&#8217;t it? \ud83d\ude42 (I know you can&#8217;t hear the music, but please imagine some eight-bit beeping playing for the full experience. :D)<br \/>\nThe key of my fast progress is that as we augured with Strangerke before, I was able to use most of the\u00a0<a href=\"https:\/\/github.com\/urukgit\/scummvm\/commit\/ec71f936280496d349310ea0091dbe26b90ae540\" target=\"_blank\" rel=\"noopener\">graphic<\/a>\u00a0and the\u00a0<a href=\"https:\/\/github.com\/urukgit\/scummvm\/commit\/8e3bbbea7c97ac222a7f061b68fe161b455bf0f8\" target=\"_blank\" rel=\"noopener\">sound<\/a>\u00a0code from CGE1 in my engine. In truth, it only needed a little bit of hammering here and there, and the biggest differences were the different file names of the music files and that Sfinx uses a screen resolution of 320&#215;240 instead of Soltys&#8217; 320&#215;200. I also included the WAV player in my engine, but it&#8217;s testing will wait until I implement &#8220;Snail&#8221; (the script parser), because it&#8217;s only used there. But, if everything goes as planned, there won&#8217;t be much more difference than the different file names again.<br \/>\nI&#8217;d explain the working of the sounds and the graphics here, but since it&#8217;s working for now, I didn&#8217;t really spend much time with understanding what&#8217;s under the hood yet. I am convinced that there&#8217;ll be difficulties with the further implementation, and sooner or later I&#8217;ll have to fully understand and modify these parts of the engine too, so I leave the explanation for that time. For now, my aim is to copy as much as I can from CGE1, get as much as possible of CGE2 working, and then modify and polish the resulting code.<\/p>\n<p>See you later! I hope I&#8217;ll be able to show you the intro animation or some scenes from the actual game next time! \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Progress-progress-progress! \ud83d\ude42 As the title describes, during the past week I was able to display the splash screen at the beginning of the game (right before the intro), and play some MIDI formatted music. Let&#8217;s see the result of it: Cool, isn&#8217;t it? \ud83d\ude42 (I know you can&#8217;t hear the music, but please imagine some [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-77","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/uruk\/wp-json\/wp\/v2\/posts\/77","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/uruk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/uruk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/uruk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/uruk\/wp-json\/wp\/v2\/comments?post=77"}],"version-history":[{"count":1,"href":"https:\/\/blogs.scummvm.org\/uruk\/wp-json\/wp\/v2\/posts\/77\/revisions"}],"predecessor-version":[{"id":79,"href":"https:\/\/blogs.scummvm.org\/uruk\/wp-json\/wp\/v2\/posts\/77\/revisions\/79"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/uruk\/wp-json\/wp\/v2\/media?parent=77"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/uruk\/wp-json\/wp\/v2\/categories?post=77"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/uruk\/wp-json\/wp\/v2\/tags?post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}