{"id":113,"date":"2013-09-03T11:55:24","date_gmt":"2013-09-03T16:55:24","guid":{"rendered":"http:\/\/eastfist.com\/qt_tutorials\/?p=113"},"modified":"2017-08-26T03:28:08","modified_gmt":"2017-08-26T09:28:08","slug":"qt-2d-game-prototype-demos-sdxm","status":"publish","type":"post","link":"https:\/\/eastfist.com\/qt_tutorials\/qt-2d-game-prototype-demos-sdxm\/","title":{"rendered":"Qt 2D Game Prototype Demos SDXM"},"content":{"rendered":"<p>Here are some functioning pure Qt 2D game prototypes I&#8217;ve created as a foundation for my <a href=\"http:\/\/sdxm.eastfist.com\">2D game engine SDXM<\/a>.<!--more--><\/p>\n<p><iframe loading=\"lazy\" title=\"Qt Particle Demo\" width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/TxfkyQBneig?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>This is an experimental demo of Qt basic particle effect. How seamless it looks depends on your CPU. It isn&#8217;t optimized code. I&#8217;m not anticipating using it for real-time playback, but users might find it useful for generating pre-rendered sprite frames. I&#8217;ll look into it some more.<\/p>\n<hr \/>\n<p><iframe loading=\"lazy\" title=\"SDXM Qt 2D Game Engine Demo Image Distortion + 3000 sprites + Image Scrolling + More!\" width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/AHdhg3Nw88w?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>In this demo, Qt can pump out 3,000+ sprites (and I&#8217;m sure it can do way more) when you optimize the draw loop. It also demonstrates simple layer parallax and image distortions swirl+pixelate+water.<\/p>\n<hr \/>\n<p><iframe loading=\"lazy\" title=\"Qt 2D Game F-Zero Mode 7 Real 3D Demo + No OpenGL + No DirectX + QTransform\" width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/KuTBzhBqU4Y?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>In this demo, using pure Qt and QTransform, I demonstrate a F-Zero-like implementation that displays a 2D map as 3D.<\/p>\n<p>Unlike my previous demo-test, this one has functioning 3D rotation.<\/p>\n<p>The downside is that QTransform is not optimized and maps every pixel from 2D to 3D, which is really slow. And you&#8217;ll pretty much confined to a maximum resolution of 640&#215;480 no matter how many processor cores you have. Again, this is just a prototype and I can look into actual bit manipulation, but 3D isn&#8217;t my priority right now.<\/p>\n<hr \/>\n<p><iframe loading=\"lazy\" title=\"Qt c++ 2D game engine SDXM Saelee Deus Ex Machine 3D demo No OpenGL\" width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/Tpo-LhBdOVg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>This is my earlier 3D plane test. It only demonstrates 3D translation using QTransform. But notice, too, that I can draw and animate a 2D sprite on top of the 3D with no problem.<\/p>\n<hr \/>\n<p><iframe loading=\"lazy\" title=\"Qt 2D game engine SDXM Windows Demo\" width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/tA0qaemb4YQ?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>My first Qt implemented 2D engine demonstrating layer parallax and sprite animation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here are some functioning pure Qt 2D game prototypes I&#8217;ve created as a foundation for my 2D game engine SDXM.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,74],"tags":[67,20,71,70,58,72,3,73,69,68,19],"class_list":["post-113","post","type-post","status-publish","format-standard","hentry","category-qt-2","category-sdxm-2","tag-2d","tag-demo","tag-engine","tag-game","tag-howto","tag-prototype","tag-qt","tag-real","tag-sdxg","tag-sdxm","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/eastfist.com\/qt_tutorials\/wp-json\/wp\/v2\/posts\/113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eastfist.com\/qt_tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eastfist.com\/qt_tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eastfist.com\/qt_tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eastfist.com\/qt_tutorials\/wp-json\/wp\/v2\/comments?post=113"}],"version-history":[{"count":11,"href":"https:\/\/eastfist.com\/qt_tutorials\/wp-json\/wp\/v2\/posts\/113\/revisions"}],"predecessor-version":[{"id":326,"href":"https:\/\/eastfist.com\/qt_tutorials\/wp-json\/wp\/v2\/posts\/113\/revisions\/326"}],"wp:attachment":[{"href":"https:\/\/eastfist.com\/qt_tutorials\/wp-json\/wp\/v2\/media?parent=113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eastfist.com\/qt_tutorials\/wp-json\/wp\/v2\/categories?post=113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eastfist.com\/qt_tutorials\/wp-json\/wp\/v2\/tags?post=113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}