andrew_saraev Profile Banner
Andrew Saraev Profile
Andrew Saraev

@andrew_saraev

Followers
259
Following
7K
Media
60
Statuses
624

Game programming, graphics, design. Previously worked on #Pathologic2, @ManifoldGarden. Currently at @unity3d.

UK
Joined July 2011
Don't wanna be here? Send us removal request.
@ryanjfleury
Ryan Fleury
1 month
New post: "Multi-Core By Default" On multi-core programming, not as a special-case technique, but as a new dimension in all code.
39
72
620
@lita_llost
Olga Klochkova
1 month
Witnessed a gig so intense that I'm still under a spell from it โ€” from beautiful and fierce #LeraLynn herself! โค๏ธโ€๐Ÿ”ฅ The sound was rather fantastic, and that poetry and hypnotic voice really shined in this, unexpectedly substantial, and guitar-thick arrangement. What a treat!
0
1
1
@andrew_saraev
Andrew Saraev
11 months
Fun fact: Unity serializes bool properities in YAML as 0 or 1, so you can change the type to int, float or enum and the old content will just work. Makes it easy to extend the range of a property from e.g. โ€œhiddenโ€ and โ€œvisibleโ€ to also have a โ€œshadows onlyโ€ option. #unitytips
0
0
5
@lita_llost
Olga Klochkova
1 year
I just leave my blob of utter adoration of #LoreleiAndTheLaserEyes here: although it's focus-hungry, puzzlicious and coffee-propagating, all in all it's a wonderful game to share (if your fam is into existential horror kinks). It's also stylish in so-o satisfying way. ๐ŸŒนิ…(^โ€ฟ^ิ…)
0
1
3
@lita_llost
Olga Klochkova
2 years
Witnessed a truly stellar performance of Samuel Barnett (yes, he did say ACTUALLY) and Victoria Yeates (acting on goddess-like level) in @theRSC #SwanTheatre #BenAndImo. Couldn't recommend it enough! ๐Ÿ’ซ
1
3
14
@andrew_saraev
Andrew Saraev
2 years
Ever played a game where you are switching through menu windows and have to wait for an animated transition to end before you can take another step? I'm pretty sure they StartWindowTransition() instead of expressing their final intent to SwitchToWindow().
1
0
1
@andrew_saraev
Andrew Saraev
2 years
I find it necessary to always start from the final destination โ€” what players should see, what they should hear, what they should be able to do? โ€” at every point in time. And then walk back to the data that is required to decide exactly that. And then to the sources of that data.
1
0
1
@andrew_saraev
Andrew Saraev
2 years
Then, both system author and users get aware that there might be someone else requesting or releasing it. And a dead simple solution emerges by itself โ€” replace that global isPaused in the system with pauseRequestCount and consider the game paused whenever it's not 0.
1
0
0
@andrew_saraev
Andrew Saraev
2 years
The common answer to this is: โ€œPeople just shouldn't have access to anything global or dangerous.โ€ But this doesn't help to resolve actual tasks at hand. What often helps me to untangle this is a slight shift in wording: we RequestPause() and then we ReleasePauseRequest().
1
0
1
@andrew_saraev
Andrew Saraev
2 years
The reason usually boils down to a programmer solving their local problem as if they are alone in the project and their tiny component have authority over anything. Music is too loud during a dialog? SetMusicVolume(0.5) when we StartDialog()! What do you mean by user settings?
1
0
1
@andrew_saraev
Andrew Saraev
2 years
Let's say, we pause world simulation to start a cutscene, and we unpause it when it finishes. And we also allow players to open settings menu while in cutscene, to switch subtitles etc. But we usually unpause the simulation when we close menus... You guess what happens next.
1
0
2
@andrew_saraev
Andrew Saraev
2 years
Is it just me, or does the majority of bugs in games come from programmers thinking too much about events and actions instead of state and intent? I mean, yeah, we write procedures and compile to instructions, but I would be very careful with things like Pause() and Unpause().
1
0
6
@noio_games
thomas "noio" vandenberg
2 years
People don't talk about game architecture enough so! ๐Ÿ’ซ How do I ID things? ๐Ÿ’ซ Let's retrace how I reinvented the wheel! Latest when adding your first ๐Ÿ’พ Save Game ๐Ÿ’พ system, you will find you need to ID your object types, cuz you can't store a reference to a Prefab ๐Ÿงต
2
11
98
@timsoret
Tim Soret
2 years
The Last Night - Game Architecture (on Unity) by our Lead Programmer @GhatSmith ๐Ÿ’ซ VIDEO + SLIDES available on our fresh new blog! https://t.co/6u3ebNQYeS Preview in the thread ๐Ÿ‘‡
46
171
944
@andrew_saraev
Andrew Saraev
2 years
Amazing! It's interesting that it looks more like a paper printing technique than the 1-bit pixel display. I imagine the same principle would work great for texture-space hatching that keeps the line width constant-ish.
@runevision
Rune Skovbo Johansen โ†’๐Ÿฆ‹๐Ÿ˜
2 years
Another test of surface-stable fractal dithering, now with texture and normal mapping. I reduced the dot size a bit for this one; make sure to watch in full-screen. Video compression is also not kind to this effect.
1
0
7
@t3ssel8r
t3ssel8r
3 years
A video about some of the techniques I used to give some life to the movement of this character https://t.co/9ITLXUQHCm
38
922
9K
@h3r2tic
Tom Stochastic | Making Tiny Glade ๐Ÿฐ๐ŸŒฟ
4 years
A glimpse of revamped global illumination in my toy #rustlang #vulkan renderer `kajiya` ๐Ÿ‘€ Lots more ReSTIR, new meshless irradiance cache, much larger worlds ๐ŸŽ‰ Around 11ms/frame here on a Radeon 6800 XT at 1080p, pending some optimizations ๐Ÿ˜› Lighting: sun + emissive materials.
102
521
4K
@andrew_saraev
Andrew Saraev
4 years
Visiting Manchester for a day with @lita_llost we couldn't miss the opportunity to check out a familiar place... #lonesurvivor @jasperbyrne
1
3
17
@IcePickLodge
Ice-Pick Lodge | Pathologic 3
4 years
#KnowByHeart... will be released February 10, 2022. Be sure to add the game to your Steam wishlist. https://t.co/Ly5PgKnkAf
7
48
261
@andrew_saraev
Andrew Saraev
4 years
Not sure if I want to elevate all rails to allow that diagonal slope in the middle or just forbid it for such cases and keep rails closer to the ground.
0
0
4