Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411490 Posts in 69371 Topics- by 58428 Members - Latest Member: shelton786

April 24, 2024, 08:04:52 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityDevLogsAo
Pages: 1 ... 12 13 [14] 15 16 ... 41
Print
Author Topic: Ao  (Read 98077 times)
oahda
Level 10
*****



View Profile
« Reply #260 on: October 13, 2020, 11:53:25 AM »

Tiny unnumbered update in between to keep things going. Did a game jam last weekend so haven't had a lot of time.



Something small I've wanted to get in for a while is being able to visually place named "waypoints" in the editor that can be referenced from NPC scripts to have them navigate there, instead of using hard-coded positions like I'd been doing up until now.

Unfortunately looks like some scripting oversights are finally catching up with me so I think I need to fix those before I get any further. Sad

EDIT: Luckily this ^ wasn’t so bad after all and I think I’ve fixed it already! Back on track. Hand Thumbs Up Right
« Last Edit: October 14, 2020, 07:20:06 AM by Prinsessa » Logged

oahda
Level 10
*****



View Profile
« Reply #261 on: October 15, 2020, 02:07:26 PM »

23

Working the workflow

Darn it, I just want to make a game, so I've been blasting through some of the necessary editor fixes today. Cheesy

Permanent navmesh setup

Now there's a component I can put on stuff that marks it as a navmesh area that gets considered for navmesh generation and saved with the scene so I don't have to redo it every time I want to rebuild the navmesh like before.



In this example I added this circular thing to the town square and wanted to make that part of it non-navigable. Easy now!

Timeline switch

It's the little things. Since the shader hides stuff in the inactive timeline, stuff in the past was just always invisible in the editor up until now. Threw in a quick editor script with a toggle button! Hand Any Key



Hotloading to the rescue!

This isn't new functionality, but a nice example of the improved workflow thanks to getting the hotloading in place a while ago: after putting this structure in the game and seeing it in the context of the character I felt it was too tall, so I was able to just modify it in Blender and save over it and see the difference while the game was running. c:



Rebuilding the town

As you can see in these new GIF's I've also gotten rid of the old town blockout and have started moving things in from the new, proper one from Blender, with the cable cars and all that good stuff~

Logged

ProgramGamer
Administrator
Level 10
******


aka Mireille


View Profile
« Reply #262 on: October 15, 2020, 02:20:12 PM »

I've got to figure out how to do hot reloading stuff in C++, that looks sooooo useful lol

I'm also looking forward to seeing more of the town's nooks and crannies!
Logged

oahda
Level 10
*****



View Profile
« Reply #263 on: October 15, 2020, 02:46:01 PM »

Yay, I’m excited to see it in the game and run around in it too! Grin

Using efsw for the file watching, if you’re looking for a good lib. Tried simplefilewatcher first but the macOS implementation wasn't very good, and efsw is a fork of it that has fixed that, so it was an easy almost drop-in change to make. Smiley
Logged

oahda
Level 10
*****



View Profile
« Reply #264 on: October 17, 2020, 02:30:10 PM »

24

Snowflow

Enjoying making tiny updates more frequently!

Not much time today but I figured out a little workflow for making sure models have geometry that works with the snow shader.




There's something really satisfying about the shadow from that fence too. Cheesy

Blender setup

For one thing the mesh needs smooth shading. Then the edges between snow-covered and non-covered surfaces need to be bevelled.

I wanted to use the bevel modifier to do it non-destructively but wasn't getting the results I wanted until I found out online that I can set the bevel weight of the edges that I would select if I were to do it destructively, and then select weight as the modifier's limit method. Perfect!



Editor setup

Brought some of the snow settings I had in a debug window in the game itself earlier over into the editor as well. Was able to fine-tune it to look right on the fountain here:



Also I know I said the town blockout in Blender was intended as a 3D sketch and not as actual geometry to use in the game, but with some cleanup those models still make for good greyboxes for now~

Coffee

« Last Edit: October 18, 2020, 11:13:02 AM by Prinsessa » Logged

oahda
Level 10
*****



View Profile
« Reply #265 on: October 21, 2020, 10:38:04 AM »

25

Circling the square

Had an artsy idea so I went and tried it out: decorative cobblestone pattern!



I don't feel completely done, do want some more details in the outer ring, and I'm not sure what colours to use yet, but it does a lot to add to the look and feel I have in mind! Gomez

I want the rest of the square to have cobblestones too but in a simpler checkerboard pattern so that it blends in but keeps the attention on this ring.

Normal map

The sun/moon are weird in the GIF and the light spins wildly at some points. This was so that I could test and show off the lighting on the cobblestones, which is accomplished through a normal map. I modelled the pattern fully in 3D and then baked it into a texture that's put on a much simpler model.




Looks a little wonky right now, especially around the edges, because I haven't actually implemented normal maps properly into the engine yet, but I just threw a quick hack in to sort of see it in action. Cheesy Think my next task will be to fix that up.

Stills





« Last Edit: October 21, 2020, 10:45:05 AM by Prinsessa » Logged

ProgramGamer
Administrator
Level 10
******


aka Mireille


View Profile
« Reply #266 on: October 21, 2020, 12:10:02 PM »

That looks really cool!!!!
Logged

ChrisLSound
Level 1
*



View Profile WWW
« Reply #267 on: October 22, 2020, 07:26:06 AM »

Oh, that looks fantastic!
Logged

I make video/tabletop games and music!
oahda
Level 10
*****



View Profile
« Reply #268 on: October 22, 2020, 08:09:27 AM »

Thank you both so much! Kiss

Think I got the normal maps working for real now, looks correct if you compare to the direction of the shadow from the fence, right? Shocked



Here showing the normals in the editor while rotating things to see them changing:

Logged

Guntha
Level 0
***


View Profile WWW
« Reply #269 on: October 23, 2020, 02:01:35 PM »

Hey, this is The Independent Gaming Source, not The Solo-Made Triple-A Gaming Source. Too much quality going on here.
Logged

oahda
Level 10
*****



View Profile
« Reply #270 on: October 25, 2020, 01:36:27 PM »

My gosh, I don't even know what to say to that haha, thank you so much!! Embarrassed
Logged

oahda
Level 10
*****



View Profile
« Reply #271 on: October 25, 2020, 01:50:33 PM »

26

Watercolour

I think I might actually have it now??? Shocked

I got inspired to make the shader look like actual watercolour once and for all, and since the old methods I had tried didn't really work, this time I started over from scratch and also tried to search for some existing shaders other people had done to see how they did it. In particular this shader for Blender helped a lot.





Almost by accident by changing a number I also managed to make it look like the sort of line sketch that I want to have before the bubble gets filled in, so all in all this was super productive couple of days!



No GIF for now since I did it without considering 3D space first just to make it easier to work with, so it looks wonky in motion ATM, but I'm pretty sure the same trick that I used before will work fine this time too, so I'll add that back the next time I'm working on this. c:

Logged

Ishi
Pixelhead
Level 10
******


coffee&coding


View Profile WWW
« Reply #272 on: October 25, 2020, 03:02:03 PM »

Gorgeous! Kiss
Logged

JobLeonard
Level 10
*****



View Profile
« Reply #273 on: October 26, 2020, 01:50:06 AM »

Oh those moments when after long, frustrating struggles and hitting seemingly insurmountable walls it all clicks and you suddenly have a few days of extreme productivity... Make sure you ride that programmer's high for as long as you can before it all comes crashing down again!

Results look amazing, can't wait to see it in motion!

(you can share the wonky results too, you know we like to visually debug along, right?)
Logged
ProgramGamer
Administrator
Level 10
******


aka Mireille


View Profile
« Reply #274 on: October 26, 2020, 06:44:18 AM »

[...]
Almost by accident by changing a number I also managed to make it look like the sort of line sketch that I want to have before the bubble gets filled in, so all in all this was super productive couple of days!


[...]

Taaaaake ooooon meeeee
Take on me
Taaaaake meeeee ooooon
Take on me
I'll beeeee goooone
In a day or
Twooooooooo

</unoriginal joke> Tongue
Logged

JobLeonard
Level 10
*****



View Profile
« Reply #275 on: October 26, 2020, 07:11:54 AM »

Norway, Sweden, it's all Scandinavian to me  Tongue
Logged
oahda
Level 10
*****



View Profile
« Reply #276 on: October 26, 2020, 10:24:46 AM »

Hah, I didn't even think about that! I do live in Norway. And thanks!! Kiss I'll put some wonky results alongside proper results later then.
Logged

TwistingYarn
Level 0
**



View Profile
« Reply #277 on: October 26, 2020, 12:46:37 PM »

that watercolor effect is amazing. excited to see it in motion!
Logged

Twitter: @TwistingYarn
oahda
Level 10
*****



View Profile
« Reply #278 on: October 27, 2020, 01:38:01 AM »

Thank you!! I do hope it'll look good in motion too, taking a little break before I get back on that. Gomez
Logged

andos
Level 0
**


View Profile
« Reply #279 on: October 27, 2020, 04:08:21 AM »

That watercolor shader looks great! Is the wobbliness of the edges done in the shader, or is it a combination of the shader and modelling? Excited to see more as well!
Logged

Pages: 1 ... 12 13 [14] 15 16 ... 41
Print
Jump to:  

Theme orange-lt created by panic