Mario editor: more terrain, can place Mario

This commit is contained in:
2021-05-07 23:17:05 +02:00
parent 85807ca962
commit c849895c72
8 changed files with 253 additions and 39 deletions
+1
View File
@@ -194,6 +194,7 @@ int main() {
auto scene = std::make_shared< SDLPP::Scene >( renderer );
auto bg = std::make_shared< SDLPP::RectangleRender >(
0, 0, 10, 10, renderer, MARIO_OVERWORLD_COLORKEY, true );
bg->setPermanent();
bg->setStatic();
bg->setId( 1 );
scene->addObject( bg );