Showing posts with label game. Show all posts
Showing posts with label game. Show all posts

Tuesday, January 9, 2024

Prototype - Slingchess

A prototype done a while ago, semi abandoned for now, but I still entertain the idea of doing it one day!

The idea is simple: Slingshot + Chess = Slingchess! The idea came from brainstorming about a Physics-based chess game

Each turn you can move a piece of your choice, I came up with this idea that each piece have differents movement "patterns" inspired by the actual rules of chess

Weight, speed, friction and such varies between pieces, the goal is to evoke the feeling or the idea of a chess piece.  Ex: Pawn has a small radius, but can go fast, but will stop fast too (high friction)...because..I dont know it feels like a pawn 😁


In the video you can also see that each piece has health points and even an attack value, very different from chess! The goal is that you can play more with the physics.

Finding the balance between the strategy of chess, and the fun/chaos of physics is very fun!

 

here is a another video: 

 



a few more details on Twitter : https://twitter.com/AlexStrook/status/1744761230194045014

 

 




 

Friday, July 21, 2023

Lofi 3d pixel art explorations

 Various gif of different unrelated project, for some reason I'm really digging this style recently!

It feels pixel art, but I would not call it pixel art: My process is usually the same


  • lower down resolution of the game in unity (create a new RT, apply to camera, reduce its resolution and set to point, and then display it on a canvas as a fullscreen raw image, or on an unlit texture material + a different camera. You can also use a post process shader like this one "Pixelate", which is what I used for that first gif, it gives a smoother feeling) 
  • Make the art, but always looks at the final render (game view) while working , because the scaling is not consistent, its a lot of tweaking to get it looking right!
  • I keep changing the resolution while I work, trying higher/lower rez, still trying to find the one I like
  • I really enjoy square 1:1 formats






All of this was made in Unity, because I just like working in it!

Monday, April 10, 2023

F.A.S.T.

Something ive been playing around in unity!

The whole thing started about making something that feels really FAST


Im slowly turning this into a game I think, but I won't be big, probably a small itch io web game or something




Sunday, September 1, 2019

Clouds shader breakdown


 UPDATE: download the project here : https://github.com/AlexStrook/UnlitClouds


 

This is a small breakdown of  the clouds shader I did based on the one from the game "SKY" from thatgamecompany (read more about it THERE)

 The thing that contribute the most to this effect is the mesh itself, and the baked lighting.
I used Houdini + 3ds max to generate that (more info THERE), I'll focus only on the Shader part here, and I used Amplify Shader editor for this

The Shader :





First step of the shader is just to plug the vertex color in emission, to display the previously baked lighting. I use a power with (0.454545) to adjust with 3ds max vertex color (because of all the sRGB/linear/Gamma nonsense)


This effect rely on having a lot of triangles to get a smooth displacement, and Tesselation is great for that if you can afford it. Just check "tesselation" in amplify, and use the distance based mode



Adjusting the Distance value and tesselation factor  to fine tune the performance. For this effect having a very close distance works quite well


Now for the fun part, I add a Noise Generator. It's a handy node that will generate a 3D noise base on a world position. Using 3d noise is the most heavy, you can use simplex too. I'm pretty sure this whole effect could be reproduced with a noise texture and creative UVs.  I added a noise, and in the "Size" input, I add a world position multiplied with a float (this will control the tiling of the noise).
Also a remap from -1/1  to 0/1, to avoid negative values
For noise I'm plugin this in the Debug input of the shader.


Here is what changing the float that control the tiling looks like !


Instead of the using a simple world position, multiplying it with a Vector3 ("NoiseScaleA") allows you to scale the noise non uniformly, very handy ! (it's like scaling your mesh, but you only scaling the input position if that makes sense). I stretched the noise along the Z axis as an example here



Time to add some movement. Pretty straightforward, before I plug my Scaled world position in the noise, i add a vector3 multiplied by time. This allows to control the direction the noise is travelling.


Changing the direction of the noise (This works well because it's a 3d noise, this would be hard to replicate with a 2D noise)


I now plug this in the Local Vertex offset, and multiply with two thing :
A 0-1 ranged float, to fine tune the intensity and a Vector3 (0,1,0), to force my noise to only displace along the world Y axis. You can use the normal of the mesh too if needed, it's justed looked better like this


Adjusting the new paramter, Speed, Size, Strength


For this effect, I decided to duplicate the noise 3 times. Copy all paramter, and add them all together. It reminded me of an old project I did (Cartoon Pyroclastic noise). The idea is simple : For each noise you apply, lower the intensity by half, double the tiling, double the speed. This this idea, then tweak everything !


The relationship between the value of each noise is important, here I tweak only the strength. I find it easy adjust all noise separately (turning all strength but current noise one, to 0), and then adjust the strengths.


 Closer view of how the noise are merged together



For the fading edge a simple setup with Transparent material, and a Depth fade.




This part is more a hack, but it add a lot of details. Basically I add a black and white texture of cloud, using triplanar mapping. To get the triplanar mapping animated I use the modified world position from noise C (See image 01), and I multiply everything with the Noise A to "erase" the texture here and there (See image 02)

Img 01. World pos from Noise C

Img 02. Noise A 
I used Register/Get local variable, to avoid spaghetti connection, it's an amazing feature from amplify editor.


this is how the clouds texture looks like.




You can see the difference the cloud texture make, it's pretty neat !


Thanks for reading, if you have any comments/question, post them here or, on twitter where I'm more active :)



NOTES :



  • This is all baked and static, but I'm sure you could make this a lit shader. You might want to reconstruct the normals from the displacement, you can use those node to do it :

  • I intended to, but didn't have time to add flowmap to this effect. Flowmap would help define the direction of the tiling cloud texture And/Or the noise scrolling
  • Here is another technique i saw a while ago that very interesting LINK TO VIDEO (around 10 min). They made clouds in Battlefield one by carefully positioning billboard. it looks great but i guess they had to do some crazy magic behind the scene to make the overwdraw viable...also idk if you can go through them ! 
  • The way they did the clouds in Sky was using raymarching, mike lester from ThatGameCompany who worked on the game : LINK TO TWEET


Friday, April 27, 2018

Latest Houdini+ unity project

Here is one of the project I'm working on, (on and off at various time...)

The goal is to make a small interactive experience, with a gameplay centered around finding hidden locations in a map by using a flow to find it.

This "flow" will actually be a flowmap generated with houdini, and I'm trying to develop a system stable enough to be able to create a gameplay around this.

Being an amateur programmer, everything is CPU right now, but I guess at some point I will have to learn about multi threading to optimize it (maybe compute shader or crazy stuff like this ?)....Anyway, it works for now, and the performances are quite good.

This is a continuation of the two first gif of this post

here are a bunch of gifs from this experimenting stage (I'm also posting the failed one :p)



first test, having trouble to getting my system to sample the flowmap in 3d

starting to work ! using multiple raycast in random directions per frame to find the nearest surface, and sampling that flowmap


Geometry used to generated the flowmap, using VEX space colonizaton for now, but that will change for sure

Latest progress, everything is starting to work nicely
Next step is to test the system on a big complex scene, and also making the system more stable, I already have a lot of idea for this, but i will only optimized and refactor when needed !! Finding the art direction of the project is also in progress


Tuesday, October 18, 2016

Houdini terrain tests



playing with vex and vops in houdini, staying in sops for now (that sentence doesnt make ANY sense out of the context)

Tuesday, May 27, 2014

Watch dogs Portfolio

Hey all !

Since the game is finally out, I'm able to post the work I've done on Watch_Dogs

You can find more work here :


Click the banner for more pictures










Thursday, October 17, 2013

Thursday, October 3, 2013

unity Rock wip#02

First tileable texture...but i'm not really happy with it (not the quality i'm going for with this pack) that's why i'll redo another one from scratch but stiil, i thought it would be nice to post it








Second Rock (video to come)




Monday, September 17, 2012

random update


(old) random thingy





game made for LD48  #24, stills some bugs but at least it's something "finished"



Pinned

The Spirit and the Mouse - Animation & rig related footage dump

 Just felt like posting a bunch of developpment gif and video from The Spirit and the Mouse. I Love recording footage, so I have a LOT! This...