Platformer Slope Tiles
🕑 Added 2017-09-29 13:07:10 +0000 UTC It's here! Sorry there was no early release for you guys on this one, but I was lucky to even finish in time for today.I'll be sending a mass message shortly giving $5+ patrons free access to the final source code at https://shaunjs.itch.io/shauns-platformer
Everybody else can either get the code for free assuming they're willing to follow the tutorial, or they can pay $2+ to get immediate access.
Comments
I think what might have happened here is if you have too many tiles you'll draw them off the edge of the game window when you do the initial draw in order to calculate heights. You could probably fix this by drawing to surface but it might be more appropriate to just get it to work with multiple rows instead. Better still ofcourse would just be to reduce the number of tiles. Do you need 60 unique collision shapes?
Rouven -Kajuby- Dahlen
Hey, first thank you for your great work and second, sorry I comment on such an old topic ^^. But I have a big problem I could not fix or find any solution. I made a costum tileset-sprite with 60 tiles in one row. but in the game the collision checking does not work further than the 17th tile. At the 18th tile onward there is no more collision checking working. Any help or idea?
Open up your tileset (not sprite, tileset) and untick "disable source sprite export".
Raeldor
So I was following all the instructions on the video, and everything worked I left it yesterday at 28, but didn't draw the slopes yet. Today I'm continuing but I got a compile error I don't understand "Object: initgame Event: Create at line 6 : cannot use resource name "sCol" as it is not being exported" It only happens if I use the sprite on the tileset.