{"author_name":"KunoNoOni","cat":"LD #32","comments":[{"author_name":"","time":"April 20, 2015 6:53 pm","epoch":1429573980,"text":"For your collision issue, you probably had the objects on layers that were set to ignore collisions in the physics setting menu.","spam":"N"}],"epoch":1429572540,"likes":1,"metadata":{"p_key":"18120","p_author":"KunoNoOni","p_authorkey":"6464","p_urlkey":"53432","p_title":"The Power of Love, A Post-Mortem","p_cat":"LD #32","p_event":"LD32","p_time":"1429572540","p_likes":"1","p_comments":"1","p_status":"UPD5","us_key":"6464","us_name":"KunoNoOni","us_username":"\/author\/kunonooni\/","event_start":"1429228800","event_key":"27","event_name":"LD32"},"text":"<p>Well its that time again, time to sit back and reflect on this past Ludum Dare. Even without knowing I undertook Sol_HSA&#8217;s challenge of using a new language. Normally I used Actionscript 3 with the Flixel Framework, but this time I used Unity 5 with C#.  After LD31 I promised myself that I would switch from Flash to Unity. Talk about timing <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/> Anyways, let&#8217;s move on&#8230;<\/p>\n <p><strong>What Went Right<\/strong><br \/>\n Let&#8217;s start off with some good news shall we :).<\/p>\n <p>1. I finished my game using a new language! This is always a great thing no matter how good or bad the game is.<\/p>\n <p>2. I had a good idea of what I wanted to make. There were some bumps along the way but I&#8217;ll discuss those down below. This kind of theme really fits any genre and also lends itself to be interpreted in some really unusual and downright funny ways. Unconventional Weapon&#8230; could be anything! I chose love as my weapon and I have to say I really had fun making my game.<\/p>\n <p><strong>What Went Wrong<\/strong><br \/>\n Alright its time to get to the meat and potatoes of this Post-Mortem :).<\/p>\n <p><strong>The Original Art<\/strong><br \/>\n When the theme was announced my initial idea was to do a platform style game. Seeing how I wasn&#8217;t really limited in the size my art needed to be I started to draw my heroine, Lizzy Lovesalot. Believe me when I say I can not draw to save my life! She looked horrible and I really had no idea how I was going to animate her. That is when I scrapped the idea of a platform game and came up with the game that I submitted. Which is kind of funny as I started using Unity for its 2D features and I ended up making a 3D game lol.<\/p>\n <p><strong>The Inexperience Factor<\/strong><br \/>\n Having not used Unity for an LD before I was not prepared for what lay in store. I was not prepared for some of the issues I would have. So let&#8217;s talk about those issues and perhaps someone might be able to give me some advice or insight.<\/p>\n <p>1. My third person player controller wasn&#8217;t the greatest. I think it had something to do with the camera, you know, no rotating <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/> I know I need to work on a better third person controller. I know Unity comes with a first and a third person controller. I may look into those or just try to build one myself. Would give me more practice, which is something I really need right now. While I am disappointed in the controller, I thought it was neat how the player rotated. Perhaps that style of controller would have worked if everything was in front of the player. Something to look into I&#8217;d say.<\/p>\n <p>2. I pretty much understood how collisions and triggers worked, but for the life of me I could not figure out why the player character stopped colliding with the walls I made around the play area. I tried everything I could think out. The player always had a rigidbody component attached. The walls didn&#8217;t have one so I tried putting one on them. nope they fell from gravity, so I turned off there gravity. nope, I could still pass right through them. I removed the rigidbody and made them triggers then added a script which would push me in the opposite direction if I touched them. nope, that didn&#8217;t work either. Now that I think of it, the only thing I didn&#8217;t try was recreating them. Not sure how I missed that one. Should have been the first thing I tried. Derp! <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/><\/p>\n <p>3. The relationship between a prefab and its script. I was under the illusion that a prefab with a script was a self contained thing, which means if the prefab had a button that turned it on and off I could put out multiple ones and they would work independently. Umm, yeah no that is not how it works :). In hind sight what I should have done was have a List or Array of bools in an empty gameobject who&#8217;s job would be to keep track of which prefabs were on and which were off. You know what they say about hind sight <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/><\/p>\n <p>That is about it. It really came down my inexperience with Unity, which will get better with time and practice&#8230; lots and lots of practice <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/> I may have to add learning Blender in there too as I might just need some 3D models someday beyond the basic geometry Unity supplies.<\/p>\n <p>If you&#8217;d like to Play and Rate my game, you can find it <a href=\"http:\/\/ludumdare.com\/compo\/ludum-dare-32\/?action=preview&amp;uid=6464\">here<\/a>. The instructions from the game are posted for you to read as are some Notes and Tips. I know the controls are a little clunky but since there are no wall collisions you can move outside of the play area and practice controlling the player! See its not a bug, its a feature! Just remember the player will move forward in the direction the crosshair is facing. <\/p>\n <p>Using Unity was a great learning experience and I can&#8217;t wait for LD33!<\/p>","time":"April 20th, 2015 6:29 pm","title":"The Power of Love, A Post-Mortem"}