# Galaga Clone thingy

**URL:** <https://forum.babylonjs.com/t/galaga-clone-thingy/39410>\
**Category:** Demos and projects\
**Created:** [March 28, 2023, 12:42pm UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410 "2023-03-28T12:42:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [March 28, 2023, 12:42pm UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/1 "2023-03-28T12:42:07Z")

</div>

[Babalaga - Link To Play](http://pryme8.com/Babalaga/)

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/2/e/2e5f83a0946311a7f9157e9823e64c9414420768.jpeg)

> **[GitHub - Pryme8/Babalaga: A BJS Galaga clone thingy](https://github.com/Pryme8/Babalaga)**
>
> A BJS Galaga clone thingy. Contribute to Pryme8/Babalaga development by creating an account on GitHub.

Just a quick little project that I did over Friday/Saturday last week.

All the graphics are actually 3d voxel sprites that where ripped from this sheet so its pretty fun.  
[![](https://www.spriters-resource.com/resources/sheets/24/26482.png) ](https://www.spriters-resource.com/resources/sheets/24/26482.png)

Pretty fun, not fully complete but it is “playable” as is.

Has some things the original Galaga did not have like being able to stack more then 2 ships together.

Arrows for Movement, Space to fire.

Post your high score!

---

<div class="post-metadata">

**Author:** ![mawa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mawa/32/12384_2.png) [@mawa](https://forum.babylonjs.com/u/mawa)\
**Post date:** [March 28, 2023, 12:58pm UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/2 "2023-03-28T12:58:03Z")

</div>

Told you, ya can make a game of it, didn’t I? 😁 Now, you just need to add a ‘game over’ text and find a slot to insert that $1 coin that will help you make your retirement in some caribbean island 🤑 🤣 🏖

 ![level6](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/7/d/7d7c5f72e3afebf0002c0709aa981dffe2a840a4.jpeg)

---

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [March 28, 2023, 12:58pm UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/3 "2023-03-28T12:58:42Z")

</div>

Needs more refinement still, but haha yeah the ground work is there!

\<3 love the encouragement lol.

Feel free to fork the repo and make something amazing!

I was kinda a goober and hopped between functional and object oriented though so I hope that does nto confuse things.

Everything Object is generally structural stuff, while I kept all the functionality of the objects surprisingly enough _functional_. XD

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 28, 2023, 3:31pm UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/4 "2023-03-28T15:31:16Z")

</div>

GG @Pryme8 !!! @Deltakosh can already thank you for my productivity drop today 🙂

---

<div class="post-metadata">

**Author:** ![CodingCrusader](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/codingcrusader/32/29857_2.png) [@CodingCrusader](https://forum.babylonjs.com/u/CodingCrusader)\
**Post date:** [March 28, 2023, 4:49pm UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/5 "2023-03-28T16:49:46Z")

</div>

@Pryme8

I had already expressed my enthusiasm for the first preview of the game, but you raised the whole pyramid and put a few more columns underneath… 😃 … there is still room for improvement.

The only thing missing is the typical sound of the game, and I find myself back in 1981.

If I had a software company, I would just steal you and tie you to the computer in my workshop with a gold chain, and we would produce old games and new games non-stop!

---

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [March 28, 2023, 5:55pm UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/6 "2023-03-28T17:55:02Z")

</div>

> **[Babalaga/public/assets/Audio at master · Pryme8/Babalaga](https://github.com/Pryme8/Babalaga/tree/master/public/assets/Audio)**
>
> master/public/assets/Audio

I already did the music, just need to do the sfx now and link them into the observables.

---

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [March 29, 2023, 5:03pm UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/7 "2023-03-29T17:03:20Z")

</div>

Ok, Updated with some fixes.

- Implemented/Created some more sounds, not all yet.
- Fixed some small logic bugs
- Re-Enabled Enemy bullets
- Added Difficulty Scalar
- Added More Helper functions dealing with conditional interactions reactivity for WaitForThen/DoThisThen stuff.

---

<div class="post-metadata">

**Author:** ![CodingCrusader](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/codingcrusader/32/29857_2.png) [@CodingCrusader](https://forum.babylonjs.com/u/CodingCrusader)\
**Post date:** [March 30, 2023, 8:00am UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/8 "2023-03-30T08:00:03Z")

</div>

I feel like I’m 16 right now, playing a computer game for the first time with my eyes shining!

My high score today:

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/8/0/8024f13269b8810d44685e7a77ced367d812bdc5.jpeg)

Winning or losing doesn’t matter, the main thing is that I play! 😃

---

<div class="post-metadata">

**Author:** ![mawa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mawa/32/12384_2.png) [@mawa](https://forum.babylonjs.com/u/mawa)\
**Post date:** [March 30, 2023, 8:15am UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/9 "2023-03-30T08:15:06Z")

</div>

Simply amazing. Would really deserve a featuring once it’s done.

---

<div class="post-metadata">

**Author:** ![jerome](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jerome/32/22_2.png) [@jerome](https://forum.babylonjs.com/u/jerome)\
**Post date:** [March 30, 2023, 1:14pm UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/10 "2023-03-30T13:14:05Z")

</div>

Flying back to the 80’s arcades 😍

---

<div class="post-metadata">

**Author:** ![shaderbytes](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/shaderbytes/32/174_2.png) [@shaderbytes](https://forum.babylonjs.com/u/shaderbytes)\
**Post date:** [March 30, 2023, 5:03pm UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/11 "2023-03-30T17:03:55Z")

</div>

nice one , thanks had afew games. My brother bought me a mini galaga the other day , so game play is quite recent in my head : yours is way to difficult haha 😉

I know you mentioned its not complete but thought to mention these …

basically they dont shoot at you in the first rounds and even once they do its one or two shots.  
then when flying down the never all start flying horizontally along the bottom edge … how must you dodge that ?

They basically do a loop at the bottom … so they fly down , then once out of screen they actually do a loop coming back into screen from the bottom , then going out again.

my high score was 3001 on yours , 40-50k on the mini arcade

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/d/a/daf2972e95810c98250d7d2d291b603b969e92a3.jpeg)

---

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [March 30, 2023, 6:53pm UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/12 "2023-03-30T18:53:37Z")

</div>

Thanks for the feedback! I still need to refine the point system quite a bit and the enemy fight patterns. I will try to look at it again here soon and add the more diverse enemy logic.

Still need to add a few sounds and screens yet too.

I think I’ll do those last parts then worry about the last enemies.

After that anything else will be new content. I think I’ll keep this “traditional” version. But will also add a “hyper” mode that will have more nutty stuff in it and modernize the idea a bit.

---

<div class="post-metadata">

**Author:** ![mawa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mawa/32/12384_2.png) [@mawa](https://forum.babylonjs.com/u/mawa)\
**Post date:** [March 31, 2023, 11:25am UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/14 "2023-03-31T11:25:22Z")

</div>

> [@shaderbytes](#):
>
> my high score was 3001 on yours , 40-50k

Agreed. It has become a lot more challenging now that the fancy aliens are also shooting at me. I guess I preferred the earlier version - made me feel less of a noob player 🤣 Just joking of course, but may be they shoot a bit too much (as compared to the original). Although I must admit my memories of the original are only partial (and probably also ‘distorted’ after all these years 🧓 😁

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [March 31, 2023, 11:59am UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/15 "2023-03-31T11:59:58Z")

</div>

This is AWESOME! I love the music, it’s super catchy 😛 But I’m terrible at the game 🤣

---

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [March 31, 2023, 4:57pm UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/16 "2023-03-31T16:57:21Z")

</div>

Haha I will be balancing it eventually, was always taught just stick numbers in and move on. Refine the experience later.

---

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [April 3, 2023, 4:59pm UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/18 "2023-04-03T16:59:48Z")

</div>

I wanted to see how robust this 3D Voxel Sprite system thingy is that I made so I shifted focus for a day or two and did this:

[![](https://img.youtube.com/vi/jE_UZu59TLg/maxresdefault.jpg "Merio Dudes Prototype") ](https://www.youtube.com/watch?v=jE_UZu59TLg)

Merio Dudes.

Holy crap there are a lot of things that went into NES Mario Bros that I had no clue about till I started trying to recreate it.

There are a lot of subtle systems going, like dealing with the blocks and enemies/objects reactions to you hitting them.

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [April 3, 2023, 5:01pm UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/19 "2023-04-03T17:01:42Z")

</div>

aside of the gravity being not strong enough it is awesome !!!

How weird is it that I can hear the audio even if there is none ???

---

<div class="post-metadata">

**Author:** ![Pryme8](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pryme8/32/7212_2.png) [@Pryme8](https://forum.babylonjs.com/u/Pryme8)\
**Post date:** [April 3, 2023, 5:02pm UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/20 "2023-04-03T17:02:35Z")

</div>

Dark Audio Magics

---

<div class="post-metadata">

**Author:** ![FoxDeploy](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/foxdeploy/32/36364_2.png) [@FoxDeploy](https://forum.babylonjs.com/u/FoxDeploy)\
**Post date:** [December 6, 2023, 3:46am UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/21 "2023-12-06T03:46:57Z")

</div>

This is absolutely AMAZING! Would you mind breaking this into smaller nuggets? Like how do you even make a title screen? That Insert Coin screen looks amazing.

Also, how did you achieve that parallax scrolling for the stars?

---

<div class="post-metadata">

**Author:** ![truimagz](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/truimagz/32/36100_2.png) [@truimagz](https://forum.babylonjs.com/u/truimagz)\
**Post date:** [December 6, 2023, 2:07pm UTC](https://forum.babylonjs.com/t/galaga-clone-thingy/39410/22 "2023-12-06T14:07:25Z")

</div>

Great job, I think it was easier to build these types of mechanics/games in those older systems than it is today with modern ones as they basically forced you to make them the way they were done, and the system catered to it.

Maybe I’m off my rocker, but great job on all this stuff, I’ve also been wanting to re-make old nes games like Kid Icarus.

[Next page](https://forum.babylonjs.com/t/galaga-clone-thingy/39410.md?page=2)
