How to create a map/Level with opponents etc
baddog
Member Posts: 10
hi everyone
in GameCreator I can put some actors to the scene. So it is possible to create a small level. But when I want to create a huge level bigger than camera view, then I would like to have something like a "Leveleditor" to snap wallpieces to each other, put monsters to specific points and so on.
How do you do this with GameSalad?#
(and I want to have maybe some levels as an inapp-buy or free additional updates)
in GameCreator I can put some actors to the scene. So it is possible to create a small level. But when I want to create a huge level bigger than camera view, then I would like to have something like a "Leveleditor" to snap wallpieces to each other, put monsters to specific points and so on.
How do you do this with GameSalad?#
(and I want to have maybe some levels as an inapp-buy or free additional updates)
Comments
You can increase the size of the scene so that it is bigger than the camera view and then set the camera to follow your main character or whatever it is by using the control camera behaviour on the actor of your main character.
I meant, if you make your labyrinth-level using copys of one square putting next to each other, it is hard to position these squares. They overlap or have some distance.
It would be easier to have a tool to put the squares / monsters/ switches etc exactly next to each other.
I'm pondering about coding a little level-editor for myself, making it possoble to easy positioning several blocks together to a whole map with different layers using a "snap-to" feature and alpha color. It should be possible to export that as png file. I did this some years ago for a little windowsgame, i think i can convert it to mac.
Is there a need for that? And do you know how big the pngs may be tegarding to performance issues on iphone?
Btw how do you tell gamesalad what is the transparent color of a sprite and can you do savegames?
floor ( self.position.x / 50 + 0.5 ) * 50
This will snap the objects x co-ordinates to the nearest 50