Search found 30 matches

by FirepathAgain
February 11th, 2022, 11:08 pm
Forum: Everything
Topic: Sand Simulator / 2D Fun
Replies: 19
Views: 19456

Re: Sand Simulator / 2D Fun

No I have fields of particles, say 50x50 particles. Those fields make up blocks in say 8x8 fields or something. The fields encapsulate the logic and an array that makes up the 50x50. Originally I think this was an array of pointers to particles but I changed that to just be directly particles in the...
by FirepathAgain
February 8th, 2022, 9:31 pm
Forum: Everything
Topic: Sand Simulator / 2D Fun
Replies: 19
Views: 19456

Re: Sand Simulator / 2D Fun

Lighting from the projectiles is one of my next favourite TODOs. I need to clean up how I'm passing in lighting info. ATM it's a hack job with just one light to get it working / test and build the pixel shader. No collision yet except the particle simulation. Which means the particles also don't int...
by FirepathAgain
February 8th, 2022, 9:18 pm
Forum: Everything
Topic: Fun with templates
Replies: 7
Views: 10036

Re: Fun with templates

I tried indenting the conditional things but VS just wrecks it all at some point afterwards anyway reformatting it how it likes so I leave it how you see it lol.
by FirepathAgain
February 5th, 2022, 2:01 am
Forum: Everything
Topic: Unreal videos
Replies: 1
Views: 3106

Unreal videos

Not sure if you'll see this chili as I know you have life going on and I can understand your passion is not there at the moment for the C++ and directX tutorials. I liked the two unreal engine videos you did man. You're great to watch, you got a great personality. I'd like to see more on unreal engi...
by FirepathAgain
February 5th, 2022, 1:55 am
Forum: Everything
Topic: Fun with templates
Replies: 7
Views: 10036

Re: Fun with templates

Man I'll have to look into your template stuff more. I thought the conditional thing was complicated but there is more going on in your stuff than I have done or know about and I've only seen it a couple of times.
by FirepathAgain
February 5th, 2022, 1:52 am
Forum: Everything
Topic: Fun with templates
Replies: 7
Views: 10036

Re: Fun with templates

I did a crazy thing with conditional templates to make some random ranges of different types without duplicating the code for them. So I have random ranges for floats and ints, in uniform, normal, and log normal distribution types all boxed up in a single template. It was a fun exercise but I don't ...
by FirepathAgain
February 5th, 2022, 1:42 am
Forum: Everything
Topic: Sand Simulator / 2D Fun
Replies: 19
Views: 19456

Re: Sand Simulator / 2D Fun

Alright I did a vid (without world changes) on the weapon-ship separation and the polymorphic asset goodness, which I guess you don't get any of the polymorphism stuff in the video lol but w/evs. I played with chili's framework a lot, in two different periods in the last few years. This thing I'm do...
by FirepathAgain
February 5th, 2022, 1:13 am
Forum: Everything
Topic: Sand Simulator / 2D Fun
Replies: 19
Views: 19456

Re: Sand Simulator / 2D Fun

Yeh that's what I meant for Z value - just a sort order to draw back to front. But that is kinda being done on a system of layers lol. I'm already dealing with layers, but only in a simple way. Originally I had intended to make a side-scroller with different layers where the foreground moved faster ...
by FirepathAgain
February 2nd, 2022, 4:51 am
Forum: Everything
Topic: Sand Simulator / 2D Fun
Replies: 19
Views: 19456

Re: Sand Simulator / 2D Fun

I'm thinking I'll probably give the world to each asset. That way they can plonk new assets on the list as they need to create them. I also need a media repository so I can reference the canvases instead of loading the file each time I create an asset (mainly projectiles this is a problem with). I t...
by FirepathAgain
February 2nd, 2022, 4:42 am
Forum: Everything
Topic: For loop not working
Replies: 10
Views: 4663

Re: For loop not working

I'm glad I could help. I don't help as much as I should / would like.