Jump to content


Member Since 27 Mar 2007
Offline Last Active Mar 06 2016 01:58 PM

Posts I've Made

In Topic: The Pantserrific GMC Jam 19 Discussion Topic

08 July 2015 - 10:37 PM

Are those all occurrences of letter "I", as HayMan suggested? I'd rather have that cleared up so as to avoid confusion. ^^"

I doubt those are all the I:s since the fourth word is most likely 'contain' or 'include'.

In Topic: Request A Shader

31 May 2015 - 11:31 AM

Here you go.


It takes a sprite to blend.



A sprite to use as a color map. The red component is used to get the color.


And a sprite to use as index. The red value of the color map is used as x-value when sampling it.



It uses regular RGB blending. That could easily be changed to HSV. You can look up RGBtoHSV and HSVtoRGB code online.


The sprites have to have "Used as 3D texture" checked for it to work. That's because the shader assumes the texture coordinates for the sprite and the map are linked 1:1 and that the index texture's width is 1. This can be changed if you want to by passing along some values as uniforms.

In Topic: Multi textured heightmap terrain

28 May 2015 - 10:52 PM

See Texture Splatting.


Essentially you pass multiple textures to the pixel/fragment shader and then blend them together according to the blend map, which is a texture where each channel represents how much the corresponding texture should contribute to the final pixel value. This allows you to make smooth transitions between textures.

In Topic: The Potatotastic GMC Jam 18 Discussion Topic

18 May 2015 - 08:42 PM

Are you seriously taking virtual animal abuse seriously? So far your "animal abuse" critique has only been on games which do not actively promote animal abuse. You need to really get better at recognizing which games are "propaganda" and which are not.
The Payday games are all about performing criminal acts. You have a problem with those games, too?

I don't think that's quite the same thing. I don't think the Payday games ever try to present their main characters as the good guys, whereas the Mario games invariably present Mario as the good guy and his actions as justified. Personally, I find the Mario games abstracted enough that I don't even view it as violence, so it doesn't even begin to be a problem.

Also, games being "all about the narrative" is complete nonsense. Gameplay is the only unique form of entertainment that video games provide. Therefore, I see it as the most important and it is the primary reason why I play games. If I want a narrative, I read a book.

I don't think that's true at all. Gameplay exists outside of video games (see 'regular games', or CYOA books), and it's certainly not the one thing to separate software from other mediums (video games are not a medium, they're a small part of the medium of software). And books are not inherently about narrative, neither do they best represent all narratives.

I wouldn't feel comfortable saying software is all about something other than procedurality.

I prefer leaving only a single quote when quoting someone rather than the entire conversation. It gives enough context in most cases and if further context is needed, there's the little arrow to go to the post in question.

In Topic: The Potatotastic GMC Jam 18 Discussion Topic

13 May 2015 - 09:19 PM

There was supposed to be a sixth stage where you fought the general (who fired missiles at you from a large potato mech) but it got cut when the other levels took too long to make.
Also, I can't seem to get Notes aux Plusueurs Espions to work. There is a large grey blob in front of me and no ground texture. Any ideas anyone?

Haven't heard of that before, mostly just people not having the Visual C++ runtime installed. Make sure you have the latest graphics card drivers installed. Other than that, you can get log output by going into AppData/Roaming/GMCJAM18, opening settings.ini and setting Logging=true and Debug Context=true (under the Debug section). It'll save it as log.txt in that AppData folder.