my type was called crystal but my texture was GreenCrystal so its fixed now
juls07
2
Posts
1
Topics
2
Following
A member registered May 17, 2020 · View creator page →
Recent community posts
Hi, i was following the platformer tutorial to get a fell of what the development process is like and when i got to the collectiables
section and i put the
var inGameRoomStart = function (room) {
room.crystals = 0;
room.crystalsTotal = ct.types.list['GreenCrystal'].length;
};
in the scripts section but it errors and when i remove the .length
it works but the text says undefined
which makes sense any help is appreciated