Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

Hey there, I'm getting a crash on character creation in this version., right after I enter a name for my character.

Error

modules/tile.lua:294: Shader uniform 'mask' does not exist.

A common error is to define but not use the variable.

Traceback

[C]: in function 'send'

modules/tile.lua:294: in function 'applyMask'

modules/level.lua:271: in function 'calculateTiling'

modules/level.lua:114: in function 'construct'

modules/level.lua:138: in function 'generate'

modules/level.lua:1076: in function 'newLevel'

models/world.lua:230: in function 'enterLevel'

models/world.lua:192: in function 'initialize'

states/new_game.lua:100: in function 'initializeNormally'

states/new_game.lua:118: in function 'proceed'

states/new_game.lua:146: in function <states/new_game.lua:123>

states.lua:72: in function <states.lua:71>

tick.lua:41: in function <tick.lua:26>

[C]: in function 'xpcall'

Figured I'd give you a heads up!

(1 edit)

Thank you, I'll look into that. By the way, does this happen every time or only once?

It's happening every time.

That's really unusual. Seems like there shouldn't be any reason for this to happen.
Would you mind sharing some info about your device? I'm especially interested in what kind of GPU you have as this seems like an OpenGL problem.

(+1)

Sure thing! I'm on a laptop running Windows 8.1 64-bit, GPU is a AMD Radeon HD 6310. Not sure how much has changed between versions, or if it helps, but 0.0.1 ran without issues.

It seems to me that something about the shader doesn't agree with your hardware. I'm still puzzled as to what exactly and I'll try to find out. For now, I added a check to prevent the crash. When you have the time, please see if the version here works, and if it does, I'd like to see a couple of screenshots to verify that shader actually stops working.
https://drive.google.com/file/d/1Z469NIOvSiJrEuxH58Gt-ZTJUVhoAhVm/view?usp=shari...

(2 edits)

That seemed to fix it! Thanks for your help. Here's some screenshots I took. https://drive.google.com/drive/folders/1NlQdMYLTn5utO0aAJ9QiWvMq2Uz3Mbfh?usp=sha...

-Edit- Guess I might've spoken too soon,  now I'm getting a crash when I stop interacting with the alchemist table. 

Error

states.lua:63: attempt to concatenate local 'stateName' (a nil value)

Traceback

states.lua:63: in function 'add'

states.lua:80: in function <states.lua:78>

states.lua:72: in function <states.lua:71>

tick.lua:41: in function <tick.lua:26>

[C]: in function 'xpcall'

Damn. I'm so sorry, this is entirely unrelated and entirely my fault for giving you version that wasn't fully tested. Here, I've updated the file with the fix.

https://drive.google.com/file/d/1Z469NIOvSiJrEuxH58Gt-ZTJUVhoAhVm/view?usp=shari...

Also, shaders definitely look weird on your system, judging by the look of lights. I have no idea what causes that as it seems to be able to support all the required features. But I will look further into the issue.