Game
Void Commanders




4 years ago

I have been doing a bit of art for my troops, and who decided to make Quaternion math so complicated lol.

I'm adding in more troops like a shield and a suicide bomber.

I'm trying adding an article about it today

back to SOAD and going bald coding lmao.


I've made a few minor changes to my game to get things to work. I changed how the bullet moves, it used to get force added from the troop. that made it very difficult to make spread and I didn't need to go through that when all I had to do was make the bullet add force to itself, so it can go into direction. the code looks a bit like this

public void Forced(int force)

{

Rigidbody2D rb = GetComponent<Rigidbody2D>();

rb.AddForce(gameObject.transform.up * force, ForceMode2D.Impulse);

}

force is a variable given by the troop itself.

now I have to find a formula to find out how long to bullet has to be alive before I delete it to math out range. I could just wing it, throw in random values, but that's a bit tricky because the distance would depend on the force added. sounds like a lot of work I really don't want to do.

on a side note, I bought my first cd, System Of A Down, Toxicity. That's kind of all I've been listening to. I need to buy more CDs so I can listen to them while I program, lol.

I'm a tiny bit worried for the troops I am trying to add, because I need to do WAY more work, then I also plan on adding a few particle systems because right now, when a troop dies, they just VANISH . it would be nice to add just a bit more of an effect. at the same time I'm worried, my laptop is a bit old. only has a few GB of ram (just 3 or 4 Y.Y ), so my PC might just vaporize on the spot .

I wish I could just procrastinate with this all day but I should get back to programming. if your reading this, then I guess you found this mildly interesting so thank you for this. if you can, follow my game, maybe me if you really want to.

I have a twitch, if you want to watch my annual stream lol...

https://www.twitch.tv/the_iicrazykingg

thank you again!

β™‘ iiCrazyKingg



0 comments

Loading...

Next up

SHIELD

yeah, I added a slow *ss shield that you can point wherever.

it has HeaLtH though,

I might need to remove some, but when you have 100 gunships pointed at it, they go pretty quick.

I removed the ability to add MOTHASHIP to groups

more in the article

Unity crashed, last save was a few hours ago... this is a bit of a scenario isn't it? at least scripts don't get lost, I just have to add the scripts again (phew)

side note: I WAS adding a little friend, shoots FAST, aims like the guys in Star Wars though

Did you know that today is #InternationalJazzDay? 🎷😎

No? 😯 Well, we couldn't pass up this date!

And what better to celebrate this day than #Pecaminosa #OST? 🎷

Let us know what you think about it and have a great weekend!

Been working lately on lots of 'behind-the-scenes' boring stuff that no one really cares about, so here’s a guy playing the sax for some reason.

#screenshotsaturday

Heya there! I really wanted to show you all a little gameplay preview of the first boss fight i'm currently working on i hope you like it ^^

I-Buki

Mio-Da!

Ibuki Mioda!

If you have more of an acquired taste, the restaurants in Niravasi have you covered! Maybe skip the salad bar, though.

Szayel Aporro Granz - Bleach

I mostly build 3D First Person Shooter game mechanics in Unity, and in this I'm just showing C4 mechanics I made for a little side project I am working on! :)

it happens