tag:blogger.com,1999:blog-157375592024-03-05T02:26:17.619-08:00Stoiko's gamedev blogStoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.comBlogger71125tag:blogger.com,1999:blog-15737559.post-48218105122241584242023-11-23T03:31:00.000-08:002023-11-23T03:31:34.645-08:00<p> </p><p>People ask me what I think about the "rise" of A(G)I. Look at your every day job as a coder. It is literally the digital analog of crap shoveling and has been for many, many years now. Still no AI in sight there -- no AI code generation, no magical AI bug detection and fixing, not even proper AI assisted automated testing. So I guess the AI revolution is coming, but just not for us -- the engineers that presumably drive it...</p>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com0tag:blogger.com,1999:blog-15737559.post-55607141351488393102021-04-03T05:10:00.002-07:002021-04-03T07:21:52.630-07:00Ingame console with embedded graphics<p>I implemented an <a href="https://zloedi.github.io/qonche/index.html" target="_blank">in-game debug console</a>,
but I was obsessing over the idea that images and even GUI elements
should be naturally embedded in the console "log" and scroll with it.
I found a trivial way to implement it by adding a callback to every character in the "log" buffer. Turns out this "hybrid" approach to UI is really neat. Try the live demo here: <a href="https://zloedi.github.io/qonche_gui">https://zloedi.github.io/qonche_gui</a></p><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFGPbnUUHwW-zqEUO2JTOxrWXAq-JcaAJPa1sYuW6QErfdXYT-qziqPc_b3SMV9h3yE78ivBDfJR4YnaMNObYeJ4WowY9-MnemlS8xqgvFhwVH7lcrf5vi-DkqdWVhFKGoTcxw/s758/console_clean.gif" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="758" data-original-width="552" height="707" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFGPbnUUHwW-zqEUO2JTOxrWXAq-JcaAJPa1sYuW6QErfdXYT-qziqPc_b3SMV9h3yE78ivBDfJR4YnaMNObYeJ4WowY9-MnemlS8xqgvFhwVH7lcrf5vi-DkqdWVhFKGoTcxw/w515-h707/console_clean.gif" width="515" /></a></div>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com0tag:blogger.com,1999:blog-15737559.post-59949703079734490402021-03-20T09:40:00.004-07:002021-03-26T08:33:45.575-07:00Compiling a MinGW application without the C standard library (and minimizing it's size)<p> I often wondered if I could build an app without using the C runtime at all. It turns out it is pretty easy to achieve with MinGW. SDL2 doesn't depend on the C standard library too, so you could build tiny useful executables (only 9K in this case) using only SDL. Just ignore the SDL in the example below if you only need the Windows part:<br /></p><p> </p>
<script src="https://gist.github.com/zloedi/2a9aab53ab05dc5728b01d2998d82f9e.js"></script>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com0tag:blogger.com,1999:blog-15737559.post-74761376494728198692011-04-06T13:27:00.000-07:002011-04-06T13:27:15.117-07:00Some splines<iframe title="YouTube video player" width="400" height="300" src="http://www.youtube.com/embed/H6onmh2eiCU" frameborder="0" allowfullscreen></iframe><br />
<br />
<iframe title="YouTube video player" width="400" height="300" src="http://www.youtube.com/embed/jMIDCeumrWo" frameborder="0" allowfullscreen></iframe><br />
<br />
<iframe title="YouTube video player" width="400" height="300" src="http://www.youtube.com/embed/5Dwh3PNgWv0" frameborder="0" allowfullscreen></iframe><br />
<br />
<iframe title="YouTube video player" width="400" height="300" src="http://www.youtube.com/embed/yEGYey42SJg" frameborder="0" allowfullscreen></iframe>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com1tag:blogger.com,1999:blog-15737559.post-6149471438098970002010-10-25T00:13:00.000-07:002010-10-25T00:13:25.634-07:00Final planet<div style="text-align: left;">Some people tell me that it looks like a stone pad :) What do you think?</div><div style="text-align: left;"><br />
</div><div style="text-align: center;"><a href="http://picasaweb.google.com/lh/photo/a-hnFn3QEHhH-1GL44F90A?feat=embedwebsite"><img height="256" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3w1SnU74wgHMeDS5jiFu_QzHDv7BGnPrF0WvI2ckY_uUeDz0Rz8Nh1f6mV7ih4kNbK536JUEGhjmnmF4kzm_QB_DhwEvMr0vgKR5NjkpZAOTtuKtTFasaeh9MtmYbZ26TqBsy/s800/planet.png" width="256" /></a></div>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com3tag:blogger.com,1999:blog-15737559.post-60144842049328692602010-10-23T13:48:00.000-07:002010-10-23T13:57:43.575-07:00Planet(oid) WIP<div style="text-align: center;"><a href="http://picasaweb.google.com/lh/photo/SSlKLj45sedJEUzIjE6CWw?feat=embedwebsite"><img height="335" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl5ltCVyJT0GNIViFbG32eJqcyB-cppE4xEPOCvEpZ17yi6gRrwqfzI054Ik-Vgs2VybXjD6m6x6M5X5crBAhuOHpclj5KeUaCKGco3VpXFnKUeJiARhGpMQgzuuNN0kjzV1af/s400/planet_concept.png" width="400" /></a></div><br />
<div style="text-align: center;"><a href="http://picasaweb.google.com/lh/photo/r7J6P8DbU4ekOZQyXH137w?feat=embedwebsite"><img height="133" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhICyAA-vUzAmbs6GspcMC3C0S1VIQHmtj_KSQ4MNDAaHUEIEteW2ugdNHLn-RGUBCs2UTvwae1MCukmZpicmYbriXE9Nzx8as5LwYkPv04mPiWWPhOMF_6v31zBP9ShQxQ1LG5/s400/planet.png" width="400" /></a></div>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com1tag:blogger.com,1999:blog-15737559.post-63834201659486694252010-10-10T07:40:00.000-07:002010-10-10T07:40:35.509-07:00Per pixel hit test masks<div style="text-align: center;"><object height="325" width="400"><param name="movie" value="http://www.youtube.com/v/s-w-4zfsJ1A?fs=1&hl=en_US&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/s-w-4zfsJ1A?fs=1&hl=en_US&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="400" height="325"></embed></object></div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsxt4u2BEnC8v_cUh2jiHsKakcdE8MxUMYC-4Bx404sb46teJ9k9DYy40lWueEFe8N6RFhhqB1Tppz91aYw0KYYi0NQZP7ZauBlRaT17Oyge0QzpREzkLXnUsbQldmbkmM6DEQ/s1600/screen000000.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsxt4u2BEnC8v_cUh2jiHsKakcdE8MxUMYC-4Bx404sb46teJ9k9DYy40lWueEFe8N6RFhhqB1Tppz91aYw0KYYi0NQZP7ZauBlRaT17Oyge0QzpREzkLXnUsbQldmbkmM6DEQ/s400/screen000000.png" width="400" /></a></div>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com0tag:blogger.com,1999:blog-15737559.post-13133272098494480422010-10-03T13:55:00.000-07:002010-10-03T14:28:16.205-07:00Color pickerAdded a color picker control. IMGUI is the way to go. Moved to <a href="http://geany.org/">Geany</a>.<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX-t6CsEuLKYO8Gep8SvpRTDCa2xWste954E0VlWylvCmShnLCk3GJbG4IGuuOH0-9L_HbnHqXlw79msE-S5k4G_dsJAh-n-Pwu4TKJ3q9HcgglHDZk0EJxSoeGHr-0F6Dqc10/s1600/screen000034.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX-t6CsEuLKYO8Gep8SvpRTDCa2xWste954E0VlWylvCmShnLCk3GJbG4IGuuOH0-9L_HbnHqXlw79msE-S5k4G_dsJAh-n-Pwu4TKJ3q9HcgglHDZk0EJxSoeGHr-0F6Dqc10/s400/screen000034.png" width="400" /></a></div><br />
<object width="400" height="325"><param name="movie" value="http://www.youtube.com/v/7SNUqHN8ik8?fs=1&hl=en_US&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/7SNUqHN8ik8?fs=1&hl=en_US&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="400" height="325"></embed></object>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com0tag:blogger.com,1999:blog-15737559.post-45030455079659393332010-10-02T13:57:00.000-07:002010-10-02T13:57:14.491-07:00Colorization<table style="width: auto;"><tbody>
<tr><td><a href="http://picasaweb.google.com/lh/photo/OMmIh_wo6WBp66JZnh7xjw?feat=embedwebsite"><img height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPfS5ktQhcKiG2cN6HyUSuo9JxF0hZWEFKh3h8bBfc6lKpb6VrkdBVqeDWoNs2GRxDjfozCFvFlfUOzmAPJaH1cpZTQ3Cr6hrTlI3Mh-ID9dHcH7C0ifEHbtB-MMzTXb_1fyih/s400/screen000022.png" width="400" /></a></td></tr>
<tr><td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/stoiko.todorov/Martyr?feat=embedwebsite">martyr</a></td></tr>
</tbody></table>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com0tag:blogger.com,1999:blog-15737559.post-3232129189286099842010-10-01T14:51:00.000-07:002010-10-01T14:51:42.227-07:00Video of a tiny demoUse ffmpeg to screencast in ubuntu. Here is a command to capture lossless mkv:<br />
<span class="Apple-style-span" style="font-family: monospace;">ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1024x768 -i :0.0+4,400 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 output.mkv</span><br />
<br />
<object width="400" height="300"><param name="movie" value="http://www.youtube.com/v/Hv5Ho-5Jssk?fs=1&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Hv5Ho-5Jssk?fs=1&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="400" height="300"></embed></object>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com0tag:blogger.com,1999:blog-15737559.post-69535663809386999862010-09-15T12:17:00.001-07:002010-09-15T13:05:14.280-07:00Final with weapons and engines. And some thoughts on creating 2d/3d assets.<div><div style="text-align: left; ">Its amazing how easy it is to create 2d assets opposing to the 3d stuff. The steps from the "concept" to the thing you see on screen in 2d are really trivial compared to the 3d. Here's how i do it.</div><div style="text-align: left; "><br /></div><div style="text-align: left; ">1. Do a nice sketch with a pen on paper</div><div style="text-align: left; ">2. Cleanup the sketch a bit by copy it on the window :)</div><div style="text-align: left; ">3. Shoot it with a webcam/camera</div><div style="text-align: left; ">4. Trace it by hand in inkscape</div><div style="text-align: left; ">5. Cleanup the traced splines and actually generate the final vector graphic.</div><div style="text-align: left; ">6. Export to raster</div><div style="text-align: left; ">7. Do diffuse</div><div style="text-align: left; ">8. Do cel shading</div><div style="text-align: left; ">9. Do Decals like text marks etc.</div><div style="text-align: left; ">Here are some funny "concepts" :):</div></div><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI7UWDy7zdw5lyB14Ph1zmy9rFRjK9WauwTrVR1Nb1biE2DWpACrCuzIvaLYCecDUYmhvKkVKWrJUU7noC4gmsTK4rA3T1QPmm5TMC9GY6xBQE05RvD2zhuKM88Tvb2PUMriRD/s400/img_9466.jpg" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5517226032005006338" /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXjGzHcr2KuLaaLo0GUfZgoqiM0yl6ZgiLGlrl0xso8HZ9K4r7JiLUcw6Ik0diPrgs72dnky-gun287gvvhbL692NbJ-bEvUTgdDiBOVxYCBlHtN1zDNGRzIn_ar7b8wdjJJas/s1600/2010-09-12-204303.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 272px; height: 272px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXjGzHcr2KuLaaLo0GUfZgoqiM0yl6ZgiLGlrl0xso8HZ9K4r7JiLUcw6Ik0diPrgs72dnky-gun287gvvhbL692NbJ-bEvUTgdDiBOVxYCBlHtN1zDNGRzIn_ar7b8wdjJJas/s400/2010-09-12-204303.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5517226545064391890" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjU_nyZ6E5jGVNQwVa6efnmU9Xlkm41NP8wwshaXq76KqU1toUHpKoTtCOUlhz1TYSiLxHk8kST9C-cksmm1wGPkJkcJ9kw-iBesW3d7sk29xwBHL_EiKqlUXKuiJVxEdvwPJd_/s1600/2010-09-12-132000.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 272px; height: 272px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjU_nyZ6E5jGVNQwVa6efnmU9Xlkm41NP8wwshaXq76KqU1toUHpKoTtCOUlhz1TYSiLxHk8kST9C-cksmm1wGPkJkcJ9kw-iBesW3d7sk29xwBHL_EiKqlUXKuiJVxEdvwPJd_/s400/2010-09-12-132000.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5517226430580724114" /></a>The final result:<br /><div><br /></div><div><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgS3ChaZQ0L6ZedLDDYzUYs-mX2oE6LZaZZavgjUU3u_I8ICfyb_mDLDyGPDJhyphenhyphennmgZBPnkBZjbNiuD6DDrVN5YgK7hE8sFm8MPgB2kD-ZOZCBI7apAkXt4vDq-RF_e96ShT5ER/s400/ship.png" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 256px; height: 256px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5517222340686581922" /><div>Entirely done with a pen, paper and a mouse. Kudos to the people behind the <a href="http://inkscape.org/">amazing Inkscape program</a>.</div></div>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com2tag:blogger.com,1999:blog-15737559.post-84753934278548200482010-08-29T08:35:00.000-07:002010-08-29T11:47:32.980-07:00?Better? Shipall similarities to certain male reproductive organs are unintentional :)<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4DBy_WH5vdtQpbFpcLeDR31I24ETfJjsQSaJf9Hhjeoxhb4tqgmAwE8mMJdbs5oTjFrXzxVvEfQVhjQIFd4jonZV89lCpv0rgm4h8Vx0IyE14_jv8_qDLYijwEersZ6JQ2MoF/s400/military_ship.png" style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 400px;" alt="" id="BLOGGER_PHOTO_ID_5510862031409206978" border="0" />Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com1tag:blogger.com,1999:blog-15737559.post-9304444031687022152010-07-25T08:49:00.000-07:002010-07-25T11:40:19.065-07:00A ship with engines and weapons<div style="text-align: left;">A ship with engines and weapons</div><div><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAECbII2QA0zkPH1bLHwPdtQh0nP3C1EmSFcbRUh3S6e6i8XnusCtvooX_gmfyMc3IEbznwf37jt5MGv8LBWW0rL84uiUG7-SL4B_ww31KYDI8UEus5lgX8t9SLLcCFKbhW5XL/s320/ship.png" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 200px; height: 200px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5497871983036437778" /><div style="text-align: center;"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDmogQFJHzjvDmV5DNr9SEnB0pRbj4YotX4LfHNtUC2RzMIbLgNu1hWiJqAttfR-4Bj7HwbzQz3u2RVBI9GT_cE5RVnSZTNkkmOJU2kAbGLm7Iq2tnS9tKakdjapbUzYcmjNuo/s400/ship.png" style="text-align: left;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; cursor: pointer; width: 147px; height: 400px; " border="0" alt="" id="BLOGGER_PHOTO_ID_5497914865849043538" /></div><div style="text-align: center;"><br /></div></div>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com0tag:blogger.com,1999:blog-15737559.post-39289449570311000162010-07-21T10:30:00.000-07:002010-07-21T10:32:33.996-07:00A ship<div style="text-align: left;">A ship</div><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkZBG3hn_t5VTEnBakOLoQVKsiyQnrQlBducSPH3VdruLwEvDvAuI_cEWNItA9IrZHZKmmNE6YbMiv0n1h1ia-g7a8XOeWxrv7bqGYM1lLvI4b9b1JYm3LjWXCKuVfmVkmEvW-/s320/ship.png" style="text-align: left;display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; cursor: pointer; width: 256px; height: 256px; " border="0" alt="" id="BLOGGER_PHOTO_ID_5496413490896524290" />Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com0tag:blogger.com,1999:blog-15737559.post-70999571822271178622009-09-08T05:36:00.001-07:002009-09-08T05:37:27.366-07:00WE ARE MOVING!we are moving here: <a href="http://neomartyr.blogspot.com/">http://neomartyr.blogspot.com/</a>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com0tag:blogger.com,1999:blog-15737559.post-30883192326223364612009-04-13T08:56:00.000-07:002009-04-13T09:01:13.549-07:00More GIMP funSpread the GIMP love:<br /><div style="text-align: left;"><a href="http://picasaweb.google.com/lh/photo/pg2ggEmrTfNzfhiifi2OPQ?feat=embedwebsite"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzwTj73wkZGfgyRx8mZ7f5fmmHaogZZZl0J_eflCec271cv6hJKAd8DmTQhoI2SSqdn4JYy5L8rA04Dl_06mbNojPnUWb03xv-zpFJ2fVV_lR637D1ncxVFadc0GwA8L6H3uT2/s400/op_bug.png" /></a><br /></div><div style="text-align: left;"><a href="http://picasaweb.google.com/lh/photo/zUgMG8CWcwiTRrEQJk2vdA?feat=embedwebsite"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlP7qVwSkI5TfZpUUCQt770rsvQz6fmRQZkn1tRs4AKf7yn2M_t8b7onjt1hGPXSOPusoHPTWD_qIZic-eeP9rc-yI9hoKGKFCwA9cD61W6CdX3SkgT6X5GpTxAMNCOHnqkOv0/s400/op_bug_no_lights.png" /></a></div>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com4tag:blogger.com,1999:blog-15737559.post-5298244546334169662009-03-21T08:25:00.000-07:002009-03-21T16:22:51.827-07:00Toying around with Gimp and my tablet<br /><a href="http://picasaweb.google.com/lh/photo/2e4B06wKtVCoGY6q11uw5A?feat=embedwebsite"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl6ThDneDh5hzOOK2MyRfZU0Llmiz7MhpaGOI-BcTiBCZCVa4ZdXaeC0b7EsFXEdsI9e8GLWPEkgGLVur4wWIK3tP3SPBw1wRI7RAgfw1Dr8rC6QFJ2sbY-u5j0gLb_aSGRwPo/s400/op_design02.png" /></a><br /><a href="http://picasaweb.google.com/lh/photo/0jTV-sMsV9LhBMREg-cAFQ?feat=embedwebsite"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXDZ8qXVQpNM_qSloCWhfJEjjEuwRqc0UggAZjgFVyY8dUWgoMKiRlAonDtzqC7bFfwpiul28GlKilKz3-xbso7J620zOrl2fQUB2OZcwPS2aPAu_0OxrM3HlPwfH7ASj07GbO/s400/op_design02.png" /></a>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com0tag:blogger.com,1999:blog-15737559.post-43278463085752132902009-02-08T06:17:00.000-08:002009-02-08T06:27:26.820-08:00Some inkscape/gimp experienceI have drawn this image using a pencil. Then I took a picture using a cheap webcam. I have imported the shot in <a href="http://www.inkscape.org/"><span style="font-weight: bold;">Inkscape</span></a> and traced it with splines:<br /><table style="width: auto;"><tbody><tr><td><a href="http://picasaweb.google.com/lh/photo/8kNplSTAp0ExG7jhHuDNIA?feat=embedwebsite"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdamiUrrCZLDM2KTv2qMfb3An7SD7f4fD1Tzuq-tMmUEnx6yOjvnTKZTuHlR2WQW1Q4PbB7Zhz54NeBzh8xhkE6oLjRDShFay6hPZxz1XKTxaYwyM4tJSmLsa1VsyTiOOHb2wl/s400/Screenshot-ship_kernel.svg%20-%20Inkscape-1.png" /></a></td></tr><tr><td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/stoiko.todorov/Martyr?feat=embedwebsite">martyr</a></td></tr></tbody></table>Then I have stored the vector image as .svg file and reopened it in <a href="http://www.gimp.org/"><span style="font-weight: bold;">Gimp</span></a>:<br /><table style="width: auto;"><tbody><tr><td><a href="http://picasaweb.google.com/lh/photo/D4NJn2ohdTQg0wVpDstSEw?feat=embedwebsite"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNOYKuMpc1PLSKtd4B5M4cg5Aix5L02UzNZ9hOxEuLaMFZ2dzrE_w4uSkiF8kykIqk1CRMH8gQ3githC_WUFy5LTj1DOxnFKc09XgVPQgVmRDsB0pJwBgsHzL9sG3pGF2ylda0/s400/Screenshot.png" /></a></td></tr><tr><td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/stoiko.todorov/Martyr?feat=embedwebsite">martyr</a></td></tr></tbody></table>Stroke the path with line 1 pixel tick, added some blur and masked the silhouette with modulating black and white mask:<br /><table style="width: auto;"><tbody><tr><td><a href="http://picasaweb.google.com/lh/photo/cHyn1O-phxKHQjWF_7Tgtg?feat=embedwebsite"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglXagvN_WbLb09bFmRP0wM5EgVC-c4-mqjxsB-V2F_QktMWZPDtgoqZasQ_5TRcnwSY7_dGm5Cf4d5wwojKXQIhNTl-VGH8lE1Kxodorujv-R2GUQGprrTHtNiNy2JyYlqVvE0/s400/Screenshot-1.png" /></a></td></tr><tr><td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/stoiko.todorov/Martyr?feat=embedwebsite">martyr</a></td></tr></tbody></table>Final:<br /><table style="width: auto;"><tbody><tr><td><a href="http://picasaweb.google.com/lh/photo/Uz_6283dzDZb83sYc2Ds9A?feat=embedwebsite"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEim03xKng_ZrObg4ZKTd1s9Z_uPjtvgFZ_SO15CZLk19Z0t3y1d5Qi2wCrdPwE6lOnkkyKd1jy0Q5P2L_lgFdJb5TdHLrZq_pX9C8IgDKw0HTv8l2QrHOPOF2y7vfsnJvKhaaf_/s400/Screenshot-2.png" /></a></td></tr><tr><td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/stoiko.todorov/Martyr?feat=embedwebsite">martyr</a></td></tr></tbody></table>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com1tag:blogger.com,1999:blog-15737559.post-61629041047511489232009-02-01T05:28:00.000-08:002009-02-01T05:57:53.677-08:00Its official: martyr is deadWHAT WE WANTED IT TO BE:<br />The game is a tactical shooter in a 2.5d isometric view. The game objectives vary on different maps and could be some of the well known from the rts and fps genres "capture the flag", "free for all", "destroy all enemy structures" or some custom modes like "take control of point X and remain in control for N minutes". A game continues about 20 minutes. <br /><br />The maps are made of tiles and "brushes". Each tile is about 2 meters wide. A brush takes exactly one tile. There are only walls and passages but no bridges on top of the terrain and no high grounds a-la starcraft. The largest map is 256x256 tiles. The camera is with a fixed height and angle (less confusion for the players). All lighting and shadows in the game are dynamic.<br /><br />Every player has 1 PC and up to 2 NPCs under his control. NPC can only take simple orders like "guard me", "guard X", "build structure X", etc. There are many "ambient" NPCs runing on the map, occasionally engaging in fights not controlled by the players. The structures placed on the map by the players are "turrets", "radars" etc. The PC (atleast for one of the fractions) is a cyborg. His body parts (legs, torso, left arm, right arm, head) are replaced during the game with visually different ones. The player starts with a completely "humanoid" body and gradually mutates into a machine with visually distinctive silhouette information about the PC stats are easily visible. <br /><br />WHERE WE ARE:<br />Implemented are the structure of the world, the lighting, cel shaded animated models, static decors, a primitive editor, UI system, particle systems, a primitive art pipeline of exporters from blender to the game, a bit of network code and NO GAMEPLAY :). The demo runs on 32/64bit windows and linux. There is some minimal art assets done by me. <br /><br />Im no longer working on this project. I just dont have the time anymore. Thanks to everyone involved! Im still checking this blog and I'll continue to post here. Any questions posted here will be answered.<br /><br />The source code and the art is free for download atleast until assembla.com cuts me off of their service :).Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com6tag:blogger.com,1999:blog-15737559.post-34011825473223466322008-07-21T01:17:00.000-07:002008-07-21T01:21:12.549-07:00Roboarm updateI have decided to paint the AO this time, instead of bake it in blender. And im pleased with the result:<br /><a href="http://picasaweb.google.com/stoiko.todorov/Martyr/photo#5225369271749401282"><img src="http://lh4.ggpht.com/stoiko.todorov/SIQ9qt7dWsI/AAAAAAAAAa0/ZdEs-00VG_U/s400/shade.png" /></a><br /><br />I paint the steel and modulate it with the "AO":<br /><a href="http://picasaweb.google.com/stoiko.todorov/Martyr/photo#5225369274238497922"><img src="http://lh5.ggpht.com/stoiko.todorov/SIQ9q3M59II/AAAAAAAAAa8/iNYIsn-oaOo/s400/steel.png" /></a><br /><br />Some color:<br /><a href="http://picasaweb.google.com/stoiko.todorov/Martyr/photo#5225369267476798786"><img src="http://lh4.ggpht.com/stoiko.todorov/SIQ9qeAynUI/AAAAAAAAAak/g2ppU_fJYOQ/s400/final.png" /></a><br /><br />The finished piece:<br /><a href="http://picasaweb.google.com/stoiko.todorov/Martyr/photo#5225369269308201394"><img src="http://lh6.ggpht.com/stoiko.todorov/SIQ9qk1bmbI/AAAAAAAAAas/5eVTA1AJzLA/s400/final_final.png" /></a>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com5tag:blogger.com,1999:blog-15737559.post-43113070384750936602008-07-19T14:28:00.001-07:002008-07-19T14:28:45.784-07:00Roboarm WIP<a href="http://picasaweb.google.com/stoiko.todorov/Martyr/photo#5224839259187739346"><img src="http://lh4.ggpht.com/stoiko.todorov/SIJbn7RmetI/AAAAAAAAAaE/DMPtvq1JsF0/s400/roboarm_wip.png" /></a>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com2tag:blogger.com,1999:blog-15737559.post-66138970234431909612008-07-12T11:15:00.000-07:002008-07-12T11:16:33.928-07:00Martyr videoI have added some hack for demo recording. Here is a video of a demo.<br /><br /><object width="425" height="350"> <param name="movie" value="http://www.youtube.com/v/m2twOXNpnQs"> </param> <embed src="http://www.youtube.com/v/m2twOXNpnQs" type="application/x-shockwave-flash" width="425" height="350"> </embed> </object>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com0tag:blogger.com,1999:blog-15737559.post-44610667099411859562008-07-04T06:50:00.000-07:002008-07-04T06:52:00.695-07:00Windows Binary (04.07.2008)<a href="http://sietch.net/downloads/martyr_bin.zip">Latest windows binary here<br /></a>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com0tag:blogger.com,1999:blog-15737559.post-69424885517710311592008-07-02T13:39:00.001-07:002008-07-02T13:43:30.390-07:00Tile decalsI have added support for decal texture over the tiles. bumped up the FOV a bit:<br /><br /><a href="http://picasaweb.google.com/stoiko.todorov/Martyr/photo#5218518086565900850"><img src="http://lh3.ggpht.com/stoiko.todorov/SGvmjQO2MjI/AAAAAAAAAZA/-faCf7463Vg/s400/tile_decals.png" /></a>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com0tag:blogger.com,1999:blog-15737559.post-57372695077258288862008-06-24T03:13:00.000-07:002008-06-24T03:17:11.611-07:00Windows binary availableI have uploaded the latest windows binary <a href="http://sietch.net/downloads/martyr_bin.zip">here</a>Stoikohttp://www.blogger.com/profile/03604994382986120186noreply@blogger.com2