Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Correction for 04/World.lua

A topic by abowman created Feb 06, 2020 Views: 473 Replies: 2
Viewing posts 1 to 3

0x72:

Line 32 in 04/World.lua is:   

    if o ~= item and checkCollision(item, o) then

but the variable in the for loop is "other" so the line should be:

    if other ~= item and checkCollision(item, other) then

The file runs if I make that change.


Regards,

Andrew

Developer

This is correct! I've updated the code. Thanks Andrew!

Thanks for that, I was wondering what the issue was!