A ako to je s prednaskami, na ktore sa oplati chodit ? (ZSwI, LS, PG, DSProg)
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Zobrazi� pr�spevky MenuQuote from: Domino_666 on 19.12.2011, 05:17:02Vdaka za odpoved
@Mitwoc:
-na koniec mapy, na miesto, kam už nechceš aby sa dalo ísť umiestni collision, toto ešte ja nemám implementované, ale chcem to spraviť tak, že tam dám značku collision, parametre "block" "true" a potom to nejako budem riešiť cez intersecty, ale ešte neviem presne
K vykreslovaniu v strede okna: použi na to jednu z variánt metódy render:
// render(int x, int y, int sx, int sy, int width, int height)
map.render(100,100,0,0,10,10);
// Which would render the section of the map in tiles from 0,0 to 10,10 at the screen position 100,100. This can be be very useful for performance when scroll round large tile maps.