Mega Drive SGDK Megalaga

Learn how to make a space shooter for the Sega Mega Drive using SGDK! I highly recommend working through the Megapong Tutorial first, as that explains a lot of the basics of MD coding.

Megalaga BONUS - Powerup


One of the coolest things in shmups are the powerups. It’s fun to grab them to see what effects you get, and they can make you feel extremely powerful. So let’s put one in!

This content is a Thank You for my patrons on Patreon.

Please enter the password you received to view this content.

fqJjmJqRDeBMO4LAmuPYRO2Cak5OV79iSgVmG/nfGxwbhgG49TMRCupht7JMRU751dHuG2fykB2C4T7Bv2bDRVlDwi/WunM6sdojNYeplhujQWlC1ZZkX57118tUOIfRuS4bGpPJd4sQ96iyr/VTa+b/7aGVX9vU8WTolktrmPGy1vF9lRHZKFgJOEm//agTBHoicQsPs1K54YRbKVWB+Uja4ONdlxflZV6oTUBpxxN6liRicUHIX63LLVKtuBjgfbtlblOXA8l65V6/19Y1YkNqB6OouZpJAy9ybTcNCHvrkhsQW86ZG3tckBvMRocIdGYZEgZ1E8dtsCGVdm7fz36H6l6nTi0LySsvXtbrMwIhfdSsSpOxdOp9aEqQhQXJssiKJ9k79S5jS32/zX/ZU00vtmqK/egsZVK46IdEYiDSFfBR4ZO4d1A8oFRMM7YJvWF1B6/xj8YRm+zKum6VjsBHRaNLYM0ca2Iy3gUM0tEu8UH9NQmImm3rO+U156wjK5B9LR0sYMc1hgF6bjdFeE2iOI7Ftk0ViNats9OXuVzMRyheVwC37Qh0Uk95VIZ503z7VkYYMDaWc6L6UqO0ZYNu+MeAJzEc4DdzblqVFtAKr+14o4nFvLCwdIWOaeeXkhqssQ4oXa05vX7/rDkbQpPctOFm9Q1aP9AM6f1tZqmp5OuznFFrX31x51bhU3Gtg4OVv2hpcfzaC4CEaL8EtgOcBKPKuJf59VquYxKfDB8H9XoADHYS0BTVuGppDSc5Cx6VKEnw+cGxF815WmYCPbMs8nulvGMDjuEPbgY/icqb0jkJAYBx534rns5Iguhg9Ozoxh/Mjg8+DGq39h/XWrclVX9r6xgi+F1rM4wI4iDNGlaSc4vbdcJ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82gPLAnCsqVF2wovx6on6ln9Zc30QjZdUQM+8quSvkZQ9z4Z3FmxbKu6MEDprebZXF8xrv3Ck+JnPZth2wnq83yHgEkMVLbsIscUFMzA3zuE5rhSyzYsY+eyIjV7K8P3/KXzTapzI0jbkAqSD4yNef2YusWRiaG9Kb9kwjNwIefRzSktGEeEGC/1zeJqsiHkH71rV1GMMTCvCInTCjqrTz7f0KcRUC6c8Wl2Yg3B3uz4sYk+sre7DzR/66OibrA8i3bV16r63grWW+0UJnODqRwkvRAtOc7i98agd7hxHhfg9X1cAU6km2kd3r5XqcGLTy5Kzyy+QpXZg8zXTP/T20sy/J7XvbMcStDk1/p2LYpPQqPKxYwzTA+0NgcPCizzCd95Nc9y4auLqL1Aaqo11oaW7OyZSZ0xIIzJufhhuRgMuh7Mfnypqjk5K6lGY/XuTzxOinWDfhF/OhafNUIAp9eXb9+uY/m4HWgLIxRTeEdrcw/gFToX1hBr0o3gGquooyiO7icdp5PCFO312CUX7fd4DscFQOh2SDa+E5t0h1l0IslBFNGvZ9l+ZzrY6CaYHz634qktc0kEG75+Ojpa1vesJBYvqJMse31MsQ+Zz0dknKRgKmt9l2Y/sDyUMMs+dXeX8ML9oLRSd4iHTyD++lId75xsfhFDLUUrL25naZ2+uYPNgPEAUtKJVv3HCuDhzgB/TGaSNulXfjR4PNsfrA=

images/fullpower.gif

And that wraps up the Megalaga tutorial. Thank you for reading, thank you very much for the support and be excellent to each other!

If you have any questions, comments or criticism, post them in the comments below or reach out to me on Twitter @ohsat_games! Special thanks to Stephane Dallongeville for creating SGDK and everyone in the SGDK Discord for their help and keeping the dream alive!

Download the source code

All patrons on Patreon get the complete source code for this tutorial, as well as other perks such as early access! Become a Patron!
Just Want to Buy Me a Coffee?

Check out the rest of this tutorial series!

  • Megalaga 1 - Space
  • Megalaga 2 - Entities
  • Megalaga 3 - Enemies
  • Megalaga 4 - Enemy Movement and Input
  • Megalaga 5 - Bullets
  • Megalaga 6 - Collision and HUD
  • Megalaga 7 - Enemy Bullets
  • Megalaga 8 - Spam Protection
  • Megalaga 9 - Sound
  • Megalaga BONUS - Powerup
  • Get Words in Your Inbox!

    Be oldschool and sign up for my newsletter to occasionally get updates and ramblings! Just enter your email address, prove you're not part of Skynet and you're good to go!



    I will not send you spam or sell/give your email address to someone else.  You can of course unsubscribe at any time. By clicking the subscribe button above, you confirm that you have read and agreed to our privacy policy.

    By using the Disqus service you confirm that you have read and agreed to the privacy policy.

    comments powered by Disqus

    Streets of Rage 2 Design Docs

    Original Streets of Rage 2 design docs translated into English!
    Ramblings Translation Mega Drive

    Make a Space Shooter for the Mega Drive!

    February 24, 2020
    Mega Drive Ramblings

    Patreon Revamps

    January 28, 2020
    Mega Drive Ramblings Patreon