Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(2 edits)

Hey! I really liked the gameplay and how fluid/animated the 3D was made there. Managed to beat Challenge mode with 69 deaths xD. Also I've been trying to do a 3D game in LOVE lately, and found out through your project about Anim9 and .iqm models, but I can't simply get a model to animate, by reading your source I think that I need a shader for that, do you know about any tutorial that helps with this?

(+1)

Thanks! The shader code for animations is inside shader.glsl in the shaders folder (It's also in shadow.glsl, which is the shader used for every thing so its a bit messy). It's been a while since I looked at the code but if you managed to get an iqm model loaded and know how to start an animation it should work if you just pass all the variables you see that are needed in the shader. Go to libs > g3d > model.lua to see how I do it.

(2 edits)

Oh thanks for the reply! I think I managed to pass the variables but no success yet... Should I also update the camera shader or they are just for lights? Because there're no light sources in my project yet, since I'm going for a very retro vibe, and I saw that your camera is totally different from the g3d, idk if that may be the difference, since I'm using the default g3d one.
Gonna try some more times here, but thanks again, this has been pretty tough

[EDIT] nvm, managed to get it working!