Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Manic Miner Clone + source (my learning project)

Discussion in 'Made With Unity' started by OboShape, Jan 21, 2015.

  1. OboShape

    OboShape

    Joined:
    Feb 17, 2014
    Posts:
    836
    Not quite sure where to post this one.
    (if its in the wrong place, or there's a more generic thread in the forum, please let me know and ill move post accordingly)
    Just something I want to give back to community.

    loads of tutorials that were used to help me along the way, namely the player raycasting;
    The Deranged Hermit's Devlog and Sebastian Lague and his side scroller lessons and all the Learn Teams tutorials and live sessions.

    Its been my first learning project that I've completed during my first year using Unity.
    Thought i would share the web player to have a go.
    http://oboshape.byethost7.com/obo_miner.html

    and

    ive also packaged it up and added the link to the top of the players page for the source to rip it apart to see how it works in the hope that it may help someone else.
    (and how rough I've done it lol)
    ive stripped out the menu BG music from the package, due to my hosting file upload size restrictions.
    http://oboshape.byethost7.com/package/ManicMinerClone.unitypackage
     
    Last edited: Jan 22, 2015
    vakabaka, GarBenjamin and mgear like this.
  2. Train

    Train

    Joined:
    Apr 22, 2008
    Posts:
    344
    i like Retro games like this. Retro forever!
     
    GarBenjamin and OboShape like this.
  3. OboShape

    OboShape

    Joined:
    Feb 17, 2014
    Posts:
    836
    hehe cheers Train :)

    thought i would pick a classic that i grew up with on the speccy to try and redo, thought it might be easy-ish

    man, what a ride, lots to learn, but i thoroughly enjoyed the educational journey through it :)

    thats why ive put the package up to, cos there was loads of things that i had to try and figure out how to overcome. like one way platforms, platforms made with 2D box colliders, and overcoming ghost vertices (where player would get stuck transitioning)
     
    GarBenjamin likes this.
  4. raiden

    raiden

    Joined:
    Feb 8, 2009
    Posts:
    333
    Just wanted to say Thank You!

    -Raiden
     
    OboShape likes this.
  5. OboShape

    OboShape

    Joined:
    Feb 17, 2014
    Posts:
    836
    Cheers Raiden.

    Im happy if someone learns something from it or just plays it :)
     
  6. kurukshetran

    kurukshetran

    Joined:
    Jul 11, 2012
    Posts:
    2
    Thanks man...i am a beginner in unity, i can learn something new from this project..Please post more of things like this. Definitely beginners will learn a lot..Thanks.
     
    OboShape likes this.
  7. MajorParts

    MajorParts

    Joined:
    Sep 27, 2014
    Posts:
    88
    Being new to this myself, I've tried to think of old games I used to play. I've sort of finished a 1st person pacman (still not exactly how I want it, but pretty close). Manic Miner was one that came to mind to try, so I searched to see if anyone else tried and found this.
    Brilliant! I was expecting a modern take based on the gameplay.
    I like what you did with the miner willy graphic. Didn't you want to do similar with the other graphics?
     
  8. OboShape

    OboShape

    Joined:
    Feb 17, 2014
    Posts:
    836
    Sorry for not getting back earlier, i work away alot :( loved pacman to bits back in the day, be interested to see where your vision took you :)

    cheers, and glad you liked it :)

    personally, during this learning project i didn't want to spend much time drawing each frame of the animation (unfortunately it took just over a week to get all the animation frames drawn), so it was a straight copy. I was more concerned with how to learn how to get the animation playing and control it...

    the willy graphic *that didn't sound right lol* was taken from a port to the DS that i sliced up..

    im glad I done that project as i learned alot on how to pull things together and general game framework and I wanted to finish a game completely as opposed to just doing parts of it. a sort of personal milestone accomplishment in my eyes..

    as of the new 2D tools updated in unity 5, there are one way platforms included now as standard 2D objects. but I quite enjoyed trying to figure out how to do it with the tools I had available in 4.

    have to say the hardest part of that for me, was the jumping and how to get that as close to the original as i could and not just use the vanilla physics movement as the player would jump and then finish the parabola arc then just fall straight down, and including the sound pitch change based on jump sequence.

    all in all it was a great learning project for me, it may look a mess when you look at it now, and im sure if i went back i would change alot, but i guess thats what happens when you learn, adjust, relearn.....

    if you strip it apart, and there's anything you want to know, i would be more than glad to answer any questions on what my thinking was and how I chose to implement things.

    just shout :)

    DaZ
     
    Last edited: Jun 12, 2015
  9. MajorParts

    MajorParts

    Joined:
    Sep 27, 2014
    Posts:
    88
    3 hours to reply is nothing to be sorry about! :D

    One question...I opened the project in the editor and the one way platform stuff doesn't work. Might have something to do with "unknown layer"?

    My vision of pacman was the same as the original but 1st person :D Pretty much the whole thing is as per the original, except the ghost AI doesn't work the same way. I used Navmesh agents with destinations that are attached relative to the player. There are a few bugs, like getting caught outside the ghosthouse loses you more than 1 life sometimes and the audio cuts out or doesn't play sometimes, but it's more than playable...it is quite frustrating at times too :)
     
    Last edited: Jun 12, 2015
  10. joaovilhena

    joaovilhena

    Joined:
    May 27, 2016
    Posts:
    2
    Hi OboShape,

    I am a huge fan of Willy and loved your work.

    I have the same issue with the one way platform not working using your project, I saw it works perfect on the Web player.

    I was wondering if you known what it could be?

    Thank you
     
  11. OboShape

    OboShape

    Joined:
    Feb 17, 2014
    Posts:
    836
    ill get a look through it tomorrow, see if i can do a little tinkering to update to the new 2D toolset.
    Might take me a few days to get it tho as I havent delved into the effectors much.
     
  12. GarBenjamin

    GarBenjamin

    Joined:
    Dec 26, 2013
    Posts:
    7,441
    Awesome. Just checked it out. You did a great job on this.
     
    OboShape likes this.
  13. OboShape

    OboShape

    Joined:
    Feb 17, 2014
    Posts:
    836
    Cheers, thank you very much :)

    It was handy with this as I knew pretty well what I wanted to achieve for parts.
    So spending a week or so on each mechanic learning > making > testing > tweaking was fun.
    It was by no means elegant but, I got the outcome I wanted with the understanding I had at the time.
     
    GarBenjamin likes this.
  14. joaovilhena

    joaovilhena

    Joined:
    May 27, 2016
    Posts:
    2
    Thanks so much, I'm quite new to Unity, I did try understanding what was wrong, but my skills are not enough I guess...

    I am in the middle of a project that focuses on retro games (ZX Spectrum mainly), I'll be sure to share to the community if I produce something half as good as your Manic Miner :)

    Thanks again for your help, look forward to hear news.

    P.S. I'm using Unity 5.3.3f1 so I guess most newbies will have the same issue I did).
     
  15. chance1234

    chance1234

    Joined:
    Jun 7, 2016
    Posts:
    16
    thanks for posting this, I've just started on a small project to do a small manic miner style affair.