Starting Mario Editor project
This commit is contained in:
+1
-1
@@ -71,8 +71,8 @@ void loadMap(std::shared_ptr<SDLPP::Scene> &scene, std::shared_ptr<SDLPP::Rectan
|
||||
}
|
||||
if(mario != nullptr) {
|
||||
mario->setPos(mario_x * BLOCK_SIZE, 1 - (rows - mario_y) * BLOCK_SIZE);
|
||||
scene->moveZTop(mario);
|
||||
} else {
|
||||
//createMarioBlock
|
||||
}
|
||||
scene->moveZTop(mario);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user