Jump to content

Journey into sight and sound


Alienhead
 Share

Recommended Posts

Since the game jams I want to to enter are still months away I figured I'd take some of the stuff I did for the Weekend at kekes project, mix it somewhat with the AVbot project  and see what happens.   This project features the environmental controls i made for Keke's, the foliage system I made for ftype, the battle controller from avbot and the towerdefense plugins I wrote for defendThis!.  My idea at the time was to make all these parts and pieces interchangable so I could drop the systems into any project and they should 'just' work.  Well that's precisely what I've done here and for the most part, it's coming together.  At least everything is communicating together, so I have a basic skeleton of a game - now to actually build something 'fun' around these systems and call it a game title. :)

This time around the bots are using actual pathfinding. 

This is only a test, nothing playable here yet.  If everything turns out the way I hope it to, I should have a playable open-world towerdefense game based off the fast paced gameplay of avbot..   we shall see ! :()

exper1.thumb.jpg.8fc263066b1ed34011e5be7d84e33faf.jpg  exper3.thumb.png.bc865e746b06eef45c625a3fd8286662.png

Credit to havenphillip for his awesome work on the dof.

 

  • Like 6

I'm only happy when I'm coding, I'm only coding when I'm happy.

Link to comment
Share on other sites

Okay, I think I got the color platelet worked out, the screens from yesterday were to bright and the second one two dark.  A fine balance between pastels, specular and bloom outlines make all the difference.

ex4.thumb.jpg.c9dfd21302118861ef88151093be4954.jpg  ex5.thumb.jpg.d67f35fd266a5f4a633cb4c91d8ec9d2.jpg

  • Like 5

I'm only happy when I'm coding, I'm only coding when I'm happy.

Link to comment
Share on other sites

I think this is basically the idea behind the component approach. I don't think components are ideal for programming, but once you understand that the user who is asking for these usually does not know how to program, and does not want to learn, then it starts to make sense. I think this is why a lot of indie games seem like they are able to support fairly advanced functionality, but then the author can't fix very simple issues. This is probably not ideal, but it is better than the alternative not being able to make anything at all.

  • Like 2

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

With Vulkan code, I can't just jump right into it and know what is going on. It takes me a while to poke through the code and figure out what it does, even though I wrote it. I have to do this every single time I go back in and change something. It's just too complicated to keep it all in my mind at once. I think this is probably how most people feel once code gets beyond a single component's contents.

  • Like 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Thought I'd share this technique I've used for sometime..   In my project I have a full 24-hour environment cycle. One easy way to achieve the shadowing is to attach 2 directional lights to an axis rod and slowly rotate the rod, turning on and off the appropriate light according the hour.

To further the effect I have setup a tweening routine that handles ClearScreenColor,  Main light color, main light specular and ambient color.  I then used a RGB chart featuring a dusk to dawn platelet to setup each hour's coloring.  Seamless tweening between hour changes is handled by a simple Lerp call. So going from 6am to 7am coloring platelet is seamless. 

The shadows are handled automatically pretty much. The directional lights attached to the axis rod do all the work. A slow rotation of the axis and the shadows stretch out in a real to life way. 

I had to modify a few of the drawing shaders, added a uniform Hue  to them so I could self-color the tree leaves and grass with more detail than normal ambient or directional lighting provided.

To further the experience I have the tween system setup to use real time, so the system OS time actually matches that of real life. But there is also a game mode setting that can be turned on that puts 15 mins of real time down to 1 min. 

You could also throw in fog and 2 different skyboxes and tween them into the scenario as well but in my case I'm using a heavy DOF effect which pretty much blends my horizon line automatically and using a skybox in this setup is irrelevant since it wouldn't show up anyways.

I still need to do some grass work, I'm not really happening with it's look, I'm designing some softer more wavier grass which I'll have in next week.

All in all I'm pleased with this aspect of the project. Time to move on to Ui system.

cy1.thumb.png.bacce69dcc72492ba260df9a73ca525e.png  cy2.thumb.png.0e03a7294acbfdb2b982355b35a99884.png

  • Like 1

I'm only happy when I'm coding, I'm only coding when I'm happy.

Link to comment
Share on other sites

This system works as expected, just one hitch - the transition between 5pm and 6pm is the change over hour, I have to turn off one light and on another and theres really no way to transition that. So out of the 24 hours, I have 1 second of jerky change over. I can live with that.

It's got a really good stylized look to it without having to use a toon shader. ( phew ) .  This is being ran and recorded off my older testing hardware as well. 

 

 

  • Like 1

I'm only happy when I'm coding, I'm only coding when I'm happy.

Link to comment
Share on other sites

A much different stylized look, I turned off bloom, dof and saturation  in the config, reworked the toon outline shader some to give a more  smooth, single outline to 90 degrees in front of camera.  

I've made all these shaders togglable in the gfx options menu.

diff.thumb.png.f262bb3a612d6849c10acde2cfb40217.png

Also completed water with hue shader settings and several of the gui templates i got finished. 

ui.thumb.jpg.2bb1fc6e8b334a312604d54f26bb9f16.jpg  wat.thumb.jpg.de4a029ee4c9e47b51f4e7e23e8636b6.jpg  house.thumb.jpg.97d1be8331c67cfd16325515f7dde72d.jpg

  • Like 3

I'm only happy when I'm coding, I'm only coding when I'm happy.

Link to comment
Share on other sites

I got npc's in the game now, they really only hand out the quests but I gave them some ai for wandering, and doing little side jobs. You'll have to keep them out of trouble with the goblins if they wander off 'too far'. Also cleaned up some of my game logic code and gained about 20% increase in fps.

npc.thumb.jpg.b0aff315c399df60843e017ad3eb6054.jpg

 

  • Like 3

I'm only happy when I'm coding, I'm only coding when I'm happy.

Link to comment
Share on other sites

What do you suppose is happening here?  Some of the most fun things to do in a 3d game is play with physics and break stuff..   So I thought what the heck, why not have my wizard fire crystal/glass orbs instead of fireballs...    Just as I figured, I've spent the entire morning playing around with this instead of furthering the project, and I haven't even got the breakage part yet.  lol.

glass.thumb.jpg.6517b5d9eab2710f155bd0d4b924a332.jpg

  • Like 1

I'm only happy when I'm coding, I'm only coding when I'm happy.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...