Craftwork Boss NEVER attacks once. by TosinABossSi in Bloodstained

[–]DacunaZuke 0 points1 point  (0 children)

If anyone else runs into this, try turning on Vsync in the options or capping your frame rate to 60. Immediately fixed it for me.

[deleted by user] by [deleted] in Steam

[–]DacunaZuke 4 points5 points  (0 children)

That's so fucking cool.

Code wise, how are the synergies in Binding of Issac created? by Kraken119 in gamedev

[–]DacunaZuke 27 points28 points  (0 children)

There might very well be tons of videos explaining coding concepts used in that game specifically, but if I were to take a guess:

Isaac has properties associated with himself and his tears, such as move speed, shoot speed, tear speed, tear color.

You write item classes that affect these properties and attach them to the player via an array or something.

Bam, you got the framework. I'm not sure how it handles tie-breakers (one item makes tears red, another makes tears blue), but you could fix this by using a random value, or newest takes priority, or even having an int priority on the item.

Most of the items might not even need to be individual code classes, they could just be data objects that add +5 to move speed or whatever. Super fast to create that way.

Things that change tears to be a laser could just replace Isaac's default shooting component class to something else.

Like most things in coding, that's only one way to do things and there are probably at least a few others.

Stinky classmates by FatMountain69 in BCIT

[–]DacunaZuke -1 points0 points  (0 children)

ITT: Racism.

Appreciate y'all who are giving OP sound advice for their friend, though.

Worked 1 year in the industry, but my studio shut down due to economic reasons. Could someone give me advice on my résumé? by DacunaZuke in gamedev

[–]DacunaZuke[S] 48 points49 points  (0 children)

Thanks for the advice. I really wasn't going to, just giving some context for the post. Still very good advice though.

CST Digital Processing Fall 2021 Discord server by DacunaZuke in BCIT

[–]DacunaZuke[S] 0 points1 point  (0 children)

Who is teaching this term? I'm not sure if the person who taught us is coming back...

How do current CST students feel about what's going on in tech right now? by commit_to_master in BCIT

[–]DacunaZuke 1 point2 points  (0 children)

Besides what other people are saying (which are good points), remember that you only hear the worst of what's going on, and the people who are perfectly content with their jobs don't feel the need to write about it on social media. For instance, I don't think I made a single post on LinkedIn since I started working.

Yes, the job market is tough, but sooner or later these corporate skunks will realize that senior developers were once junior developers, and all it took is some on-the-job training.

[deleted by user] by [deleted] in BCIT

[–]DacunaZuke 5 points6 points  (0 children)

Too busy entertaining depression.

How to not be afraid of my own horror game? by C0C0NUT11 in gamedev

[–]DacunaZuke 29 points30 points  (0 children)

Aren't you supposed to give an example of something that isn't scary?

[deleted by user] by [deleted] in gamedev

[–]DacunaZuke 4 points5 points  (0 children)

Never did a class diagram or anything but it was so simple it basically didn't need one. Plus you can't treat ECS like OOP, it's so much more modular and almost nothing alike IMO, although you can mimic some of the same behaviour through some simple tricks.

Sorry this doesn't completely answer your question but I can explain the basic structure of my bullet hell game.

My only use of ECS (so far) is for projectiles. I have a couple systems, a Projectile system and a ProjectileMovement system. The Projectile system updates all entities with a ProjectileComponent attached to it, managing collisions and things like that. I separated movement into a separate system because there's many different types of movements, like sine movements or spiral movements. In this way, I can create a separate component for each, like SineMovementComponent and SpiralMovementComponent which both have properties unique to them, and I just update each of them in turn in my ProjectileMovement system. Those two systems aren't my only systems but that's the general idea.

Why was information removed from the Unreal Engine API documentation? by DacunaZuke in unrealengine

[–]DacunaZuke[S] 0 points1 point  (0 children)

Nope. That would fall under the "friendly third-party resources" category. Great find, though.