Scrolling Game Development Kit Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Scrolling Game Development Kit Forum
»
SGDK Version 2
»
Help, Errors, FAQ
»
Rendering More of a Map
« previous
next »
Print
Pages: [
1
]
Author
Topic: Rendering More of a Map (Read 3642 times)
v6v
Clever
Fanatic
Posts: 500
Has renamed his project to Galaxy!
Rendering More of a Map
«
on:
2012-04-11, 03:50:04 PM »
I need to render more tiles of the map than what's in the "filled" display.
Is there a way to render about 10 more tiles past what the display normally renders?
Logged
bluemonkmn
SGDK Author
Administrator
Fanatic
Posts: 2761
Re: Rendering More of a Map
«
Reply #1 on:
2012-04-11, 07:51:08 PM »
MapBase.cs has a property called "CurrentView" that returns the rectangle to render and where to draw it in the window (it is used by LayerBase.Draw()). You could change the implementation of that to return a rectangle that is X-by-Y pixels larger.
Logged
Ben Marty
Scrolling Game Development Kit 2
Print
Pages: [
1
]
« previous
next »
Scrolling Game Development Kit Forum
»
SGDK Version 2
»
Help, Errors, FAQ
»
Rendering More of a Map