Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Micah DS

4
Posts
5
Followers
10
Following
A member registered Feb 05, 2017 · View creator page →

Creator of

Recent community posts

During Dragonite's stream, I commented that this is "the best looking candy sewage I've ever seen", and he said I should comment that here, so there you go.

I also played the game myself. It ran great on my old 4th gen intel cpu and gtx 1080. It's surprisingly fun as well.

I appreciate the response. Even though it wasn't useful in how I had hoped, it still helped me get a better understanding of shaders, so I'm a happy customer. Thank you.
:)

(2 edits)

It seems to be very well written and commented. Unfortunately, it lacks one critical thing: Matrix translation (position and rotation) support.

In explaining, anything that moves and/or rotates within the world will not be lit properly, meaning it's almost useless for a game because you will undoubtedly have moving entities that need to get lit, such as enemies, spinning item pickups, moving platforms, etc. That said, perhaps I'm doing my matrix translations wrong somehow?

To demonstrate the problem, I modified the floor in the original code to shift back and forth, like so:

-- CODE START --
//send the frozen models over to be drawn
var _mat_translate = matrix_build(sin(current_time/500)*50, sin(current_time/500)*50, 0, 0, 0, 0, 1, 1, 1);
matrix_set(matrix_world, _mat_translate);
vertex_submit(global.model_floor,pr_trianglelist,sprite_get_texture(tex_floor,0))
matrix_set(matrix_world, matrix_build_identity());
vertex_submit(global.model_walls,pr_trianglelist,sprite_get_texture(tex_wall,0))
shader_reset()
-- CODE END --
(Note: I'm assuming it's okay to post that snippet of code, since it really doesn't show anything related to the workings of the asset.)

When you run the project with the above code, the lights will shift along with the floor, rather than the desired result of them staying in place.
I assume the shader needs to get the translation information passed in somehow, but I'm having trouble figuring out exactly how to do that.


Again, a great asset and easily worth the price, but severely limited in its usability, due to this issue. As it stands, I cannot use it for what I purchased it for, unfortunately.

Glad you think so, thank you!