fog

  1. I

    GMS 2 Help with drawing fog particles around area that is getting smaller

    Hi and sorry for my bad English. I make this game where player collects food from bushes while area around exiting point is getting smaller. Kinda like those Battle Royal games. I have an object oFog, that has an ellipse collision mask that covers all of the room at the beginning of game. Then...
  2. Gasil

    GMS 2 gpu_set_fog draws over other object's Draw Gui event.

    I'm running this script everytime player enters a new room to enable 3D view. //Initialize z buffer. gpu_set_zwriteenable(true); gpu_set_ztestenable(true); gpu_set_alphatestenable(true); layer_force_draw_depth(true, 0); //Set fog gpu_set_fog(true, global.fogcol, 0, 900); //Set cullmode...
  3. Gamerev147

    GMS 2 Dynamic Fog

    I've been trying to make a dynamic fog type of effect. Everything I've seen so far is all using foreground noise images to simulate fog. I wanted to make a dynamic fog effect, where the fog looks like natural fog (random). I was also messing around with shaders and got one that looks okay...
  4. JeanSwamp

    Fog environment

    Hello there, Been digging now and then for possible ways to create environment mood to the levels. I think Dead Cells is a good example on this to pixel art games. What's a good approach to create fog into a 2d platformer in a way that can be used for different feelings, for example some...
  5. Khyrid

    Question - Code Surface fails on full screen

    I have a fog of war and shroud surface that have always worked wonderfully, until now. I just got Game Maker Studio 2 UWP and everything has been very difficult. This is where I'm stuck.... Problem 1 (Main Issue): When I run a test, it works fine, but when I compile Windows UWP/Local/VM/Windows...
  6. Jase217

    3D Using Shaders disables 3D Fog

    I'm hoping this is only a simple thing to fix, In my 3D game I use the default GPU Fog to obscure things in the distance, I also use a shader to tint sections of rooms in my game with a certain colour to make it lighter or darker. However if I use a shader on anything including just a normal...
  7. Posho

    3D [Solved] Display a Projection 100% Clearly Regardless of Fog/Light

    Hello, I've been fiddling with the 3D functions and I've stumbled into a doubt. For certain reasons, I need to make certain projections on my 3D space always visible, clear, fully-colored regardless of any fog or lighting settings already applied with the d3d functions, just like the title...
  8. FlamingYeti

    Legacy GM Any way to detect the corners of a room dynamically?

    Me again :P I'm hoping by slowly learning techniques from you guys, I'll become a better programmer, than just sitting trying to work out a half-arsed slightly ****ty way of doing something. The Concept I'm making a top-down game. The idea is there will be a fog-of-war style roof, allowing you...
  9. A

    Draw Fog - 2D or Draw Light at a dark map

    I want to do something like this : Source : Found this image on google images -- My game is also 2D. However, my screen size is 1024 x 768 but i limited the view on room to 640x480. And ir follows my main object ( the pacman). However, the pacman is not always in center of the screen. So...
  10. T

    Shaders 2D Fog Shader

    Hello, I have been playing with this for hours and still haven't gotten it to work in any meaningful way. I'm sure I have some fundamental misunderstanding of shaders, but not one that I've been able to pinpoint. Anyways, I found this on ShaderToy while looking for Fractal Brownian Motion fog...
Top