Alternatively, join us on Discord.

Project Valhalla

Started by ben_g, January 28, 2016, 07:22:35 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DJ Omnimaga

It really depends of the game. Free games made by the Internet community rather than companies are usually much more demanding in terms of video card requirements, because they tend to be made by hardcore gamers and programmers who only own high-end PCs, while companies will focus on making sure that their games run on as many platforms as possible. Also, it depends of the game genre. RPGs tend to be less graphical-intensive, but there can be many 3D objects on the screen at once that can cause lag, and there are other game genres like sports games where the in-game map is very small.

ben_g

Well, this game is based on Unreal Engine, which is a common engine in AAA-games and thus very powerfull. Since I've already disabled multiple features and use materials and shaders that aren't even close to being as advanced as the example materials, my game is still quite a bit more lightweight than the latest AAA games (especially considering the demo runs at nearly maximal settings).

There is still a lot of room for optimizations though. Most of them are small (replacing the realistically rendered sky with a simple gradient would for example improve performance by probably about 2%), but I think I could gain a lot of extra performance by getting rid of UE's physically-based lighting. The lighting looks awesome on realistic scenes, but since I simplify it during post-processing anyway, a much simpler and much more lightweight calculation should do the trick, and doing the lighting in the actual lighting part instead of extracting and reapplying a simplified form of it should also get rid of those weird patterns that sometimes appear at the edges of shadows, since they are caused by inaccuracies during the extracting pass.
The huge downside of this is that it requires modifying the engine, since the lighting calculations aren't opened to the user.

I've looked into making a demo with lower settings, but I couldn't find any documentation on how to do that, so I guess I'd have to create some kind of settings menu to get it to work, or maybe I'll try a script that measures the framerate during the intro/main menu and gradually lowers the settings if it doesn't meet a certain framerate.

My PC and laptop both are only mid-range though, so don't worry, you won't need 4 GTX Titan's in SLI to be able to run the final version :P

Dudeman313

Does this qualify as a signature? 
The answer is "Sure."


DJ Omnimaga

I'm glad to hear. Also I saw the Youtube video showcasing the title + intro and I liked how it zoomed on the world from the sea.

Dudeman313

So, what are you working on now, locations and puzzles, or enemies and graphics?
Does this qualify as a signature? 
The answer is "Sure."


ben_g

Quote from: Dudeman313 on April 02, 2016, 09:03:44 pm
So, what are you working on now, locations and puzzles, or enemies and graphics?

I apparently didn't see this post. I've been mainly working on graphics lately, and I'm planning to start working on locations soon, along with the puzzles that will be put in them.

Thanks to the new Unreal Engine update that released a few days ago, I've also finally gotten shadows to work. This means that feature-wise, my altered lighting system has finally been completed, and I'm quite happy with how it looks now.


I've also replicated the scene in an older version, so you can see the difference:

This old version still had shadows, but for some reason they are almost invisible here. The old version also had a blue lamp in the same position as the new version, but this is almost invisible too.
The wall material has not been updated, the difference in appearance is purely caused by the new lighting.

Now let's hope that I can also improve the gameplay that much :)

DJ Omnimaga

Hm I like that lightning effect on the wall behind those guys.  :D

Dudeman313

Does this qualify as a signature? 
The answer is "Sure."


p2

I'm curious have you already mach progress on the fighting engine? :)
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

ben_g

I already redid respawning:


Apart from that, I've been adding additional internal functionality to the player class to make it ready for the new combat system, but it's not at all functional yet. Big parts of the old code can be reused though, so it shouldn't take that long to have a working version.

p2

You seem to be pretty bad at this game :trollface:

are the trees solid or can you pass through them? The forest seems to be pretty hard to cross otherwise ^^
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

Jokeriske

Quote from: p2 on October 17, 2016, 08:57:48 am
You seem to be pretty bad at this game :trollface:

are the trees solid or can you pass through them? The forest seems to be pretty hard to cross otherwise ^^


The trees are solid. But it is possible to pass through the woods on parts where you need to. Otherwise it will be a barrier. :)

DJ Omnimaga

I will check the video at home tonight :). I am curious about the changes. :3=

p4nix

I really like the progress and effort you put into this.
Just a question: are the trees supposed to stay at that size? To be honest, they look a bit small to me...

p2

now that you mention it, they indeed look a little bit small ^^
but somehow the smaller trees fit in the image I think, it still looks really nice this way ^^
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

Powered by EzPortal