I'm still trying to get used to how Gosu works, and the API. I'm using the captin ruby example (
https://github.com/jlnr/gosu/blob/master/examples/CptnRuby.rb) for a little game. I'm trying to implement levels. So when you collect all the gems it kicks you into level 2 by loading a new map with a new file. The second map loads fine, with all the gems in the correct spots, but the character's collision detection is off. He walks through walls, and gets stuck in mid air areas. If I load the second level first, then everything works fine. I've even tried creating a loading screen inbetween the levels incase there was a file read issue, but I get the same result. Is there something I should be looking for in particular? Has anyone else came across this? Maybe the logic in how the Map#solid? works needs to change. The second level isn't any larger than the first level. Same width, and maybe 1 extra row.
Any direction would be awesome.
Thanks,
~Jeremy