handmade.network » Forums » Work-in-Progress » (Eternal) Screenshot Saturday -- Post images/gifs/videos of your game or other project!
MandleBro
Jack Mott
98 posts
1 project

Web Developer by day, game hobbyist by night. Fond of C and F#

#11449 (Eternal) Screenshot Saturday -- Post images/gifs/videos of your game or other project!
4 months ago Edited by Jack Mott on March 25, 2017, 8:03 p.m.

You can do some SIMD with system.numerics.vectors but it is pretty limited. No ceiling, no floor, no convert, no shifting. So you can't speed up perlin/simplex noise any (at least I haven't managed to find a way). Good news - ceiling, floor, and convert are coming! Which would make it possible to do perlin/simplex noise directly in C# a lot faster. Shift left and shift right they are working on but there are some issues with making that happen, so it might not happen.

So yeah I 'm just calling C++

You can see my setup here:
https://github.com/jackmott/prpgcs

FastNoise is the C++ Code

Noise.cs in the C# project is what calls it.
You need to get chunks at a time as calling to C++ from C# has some cost. I'm grabbing 64x64 blocks of noise at a time at the moment, which seems to work fine.I haven't benchmarked an optimum scheme yet.


latest screenshot! working on the UI for talking to npcs:

Floresy
Tom
21 posts

None

#11787 (Eternal) Screenshot Saturday -- Post images/gifs/videos of your game or other project!
2 months, 3 weeks ago

I have a framework for game development and general creative coding i've been putting together. I'm not sure what exactly the future plans for it are, but i'd like to share it here anyway.
These screenshots and gifs are from two projects i've made using that framework.
This is a digital companion game

And this is a little graphics-toy, doesn't do much, just looks cool

( credit where it's due: inspired heavily by Sam Chivers )

Digital companion game gif
Tetrahedron game in motion

0xdedededede.....