|
|
Tile by Tile ???? ( 2D )
#263875
05/02/09 19:55
05/02/09 19:55
|
Joined: Mar 2008
Posts: 2,247 Baden Württemberg, Germany
Espér
OP
Expert
|
OP
Expert
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
|
servus ( means hello ^^ ).. i created a Map Editor, based on tiles.. ( thanks to al helpers like flits )... But now i got a problem. The ground of the map ( everything is topview ) has this picture: Editor_Raster+1.tgaIn the Editor:  But when i scroll a bit to the right:  Any idea how to make that ground endless, but able to scroll with the map????
Last edited by Espér; 05/04/09 21:52.
|
|
|
Re: endless tile-raster / unendliches raster
[Re: Espér]
#263881
05/02/09 20:49
05/02/09 20:49
|
Joined: Jun 2006
Posts: 2,640 Earth
Germanunkol
Expert
|
Expert
Joined: Jun 2006
Posts: 2,640
Earth
|
move the ones that aren't visible right now on the left over to the right, to fill the empty space?
~"I never let school interfere with my education"~ -Mark Twain
|
|
|
Re: endless tile-raster / unendliches raster
[Re: Espér]
#264103
05/04/09 11:06
05/04/09 11:06
|
Joined: Jun 2006
Posts: 2,640 Earth
Germanunkol
Expert
|
Expert
Joined: Jun 2006
Posts: 2,640
Earth
|
Ah, sorry, my bad, I didn't notice that it was one big image. Here you go, I made an example using your image: http://files.filefront.com/InfiniteGridrar/;13707004;/fileinfo.html viewX and viewY hold the positions of the "view". You can scroll by pressing and holding the middle mouse button (mouse wheel) and then moving the mouse.
I hope this works and is easy to use together with your project... Is this what you were trying to do?
Last edited by Germanunkol; 05/04/09 11:07.
~"I never let school interfere with my education"~ -Mark Twain
|
|
|
Re: endless tile-raster / unendliches raster
[Re: Espér]
#264174
05/04/09 19:21
05/04/09 19:21
|
Joined: Jun 2006
Posts: 2,640 Earth
Germanunkol
Expert
|
Expert
Joined: Jun 2006
Posts: 2,640
Earth
|
Oh. I didn't know that you were using Entities for the level editor, it looked like a 2d-Editor to me. Well, you can't use this method with entities, unless you use view-entities instead, because Panels will always be drawn above the level(-entities) and I don't think there's a different way to use panels. Do you want to use sprites instead? If so, I'll give it a go tomorrow, I have to do some history-homwork now... It should be even simpler from what I can tell.
~"I never let school interfere with my education"~ -Mark Twain
|
|
|
|