{"id":875,"date":"2013-04-27T13:57:28","date_gmt":"2013-04-27T12:57:28","guid":{"rendered":"http:\/\/shadowcovenant.com\/blog\/2013\/04\/27\/still-not-sure-where-im-going\/"},"modified":"2013-04-27T13:57:28","modified_gmt":"2013-04-27T12:57:28","slug":"still-not-sure-where-im-going","status":"publish","type":"post","link":"http:\/\/shadowcovenant.com\/blog\/2013\/04\/27\/still-not-sure-where-im-going\/","title":{"rendered":"Still not sure where I&rsquo;m going&hellip;"},"content":{"rendered":"<p>Progress has been steady and on schedule so far:<\/p>\n<p><a href=\"http:\/\/shadowcovenant.com\/blog\/wp-content\/uploads\/2013\/04\/Schedule03.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"Schedule03\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"Schedule03\" src=\"http:\/\/shadowcovenant.com\/blog\/wp-content\/uploads\/2013\/04\/Schedule03_thumb.jpg\" width=\"219\" height=\"360\" \/><\/a><\/p>\n<p>Currently, there\u2019s particles, and they follow the mouse cursor (or any attractors I define, the code is general)\u2026 It took me some measure of tweaking the parameters until I got something similar to the behavior I wanted\u2026 Ended up by defining the force applied to the particles as \u201cforce=delta_v\/sqrt(dist)\u201d, instead of the classical gravity-like \u201cforce=delta_v\/sqr(dist)\u201d\u2026 The particles are more reactive this way\u2026 Also added a \u201cdrag coeficient\u201d to the particles, so they lose about 25% their energy each animation iteration\u2026 This will avoid them just shooting off screen in some fringe cases\u2026<\/p>\n<p><a href=\"http:\/\/shadowcovenant.com\/blog\/wp-content\/uploads\/2013\/04\/screen01.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"screen01\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"screen01\" src=\"http:\/\/shadowcovenant.com\/blog\/wp-content\/uploads\/2013\/04\/screen01_thumb.jpg\" width=\"487\" height=\"378\" \/><\/a><\/p>\n<p>I can setup the attractors to affect only some colors (currently it\u2019s just a RGB mask, but that might change).<\/p>\n<p>Although it\u2019s fun moving the particles around, I\u2019m not sure if this will make an actually fun game\u2026 But to test that, I need to add the \u201clevel\u201d, in a form of a maze of sorts\u2026 I expect I\u2019ll have some other attractors and moving walls on that, but everything\u2019s open at the moment\u2026<\/p>\n<p>I never thought how \u201cminimal\u201d is the complete opposite of what I usually think of in terms of game design (although I guess it\u2019s a good way to design things: start with something big and subtract until you\u2019re left with just some core mechanics, then you can add stuff back\u2026 I think it might avoid excessive padding in the game)\u2026<\/p>\n<div id=\"tweetbutton875\" class=\"tw_button\" style=\"\"><a href=\"http:\/\/twitter.com\/share?url=http%3A%2F%2Fshadowcovenant.com%2Fblog%2F2013%2F04%2F27%2Fstill-not-sure-where-im-going%2F&amp;text=Still%20not%20sure%20where%20I%26rsquo%3Bm%20going%26hellip%3B&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fshadowcovenant.com%2Fblog%2F2013%2F04%2F27%2Fstill-not-sure-where-im-going%2F\" class=\"twitter-share-button\"  style=\"width:55px;height:22px;background:transparent url('http:\/\/shadowcovenant.com\/blog\/wp-content\/plugins\/wp-tweet-button\/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;\">Tweet<\/a><\/div>","protected":false},"excerpt":{"rendered":"<p>Progress has been steady and on schedule so far: Currently, there\u2019s particles, and they follow the mouse cursor (or any attractors I define, the code is general)\u2026 It took me some measure of tweaking the parameters until I got something similar to the behavior I wanted\u2026 Ended up by defining the force applied to the [&hellip;]<\/p>\n<div id=\"tweetbutton875\" class=\"tw_button\" style=\"\"><a href=\"http:\/\/twitter.com\/share?url=http%3A%2F%2Fshadowcovenant.com%2Fblog%2F2013%2F04%2F27%2Fstill-not-sure-where-im-going%2F&amp;text=Still%20not%20sure%20where%20I%26rsquo%3Bm%20going%26hellip%3B&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fshadowcovenant.com%2Fblog%2F2013%2F04%2F27%2Fstill-not-sure-where-im-going%2F\" class=\"twitter-share-button\"  style=\"width:55px;height:22px;background:transparent url('http:\/\/shadowcovenant.com\/blog\/wp-content\/plugins\/wp-tweet-button\/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;\">Tweet<\/a><\/div>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,6,29],"tags":[],"class_list":["post-875","post","type-post","status-publish","format-standard","hentry","category-development","category-games","category-ludumdare"],"_links":{"self":[{"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/posts\/875","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/comments?post=875"}],"version-history":[{"count":0,"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/posts\/875\/revisions"}],"wp:attachment":[{"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/media?parent=875"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/categories?post=875"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/tags?post=875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}