Hello
Sorry have some troubles last night so couldn't get on to answer.Thanks for answering SoggyP. It kinda makes some sense, I am sure its alot easier then Papa's linked example which is abit more then what I need atm, or can understand without studying it alot. I don't quite get arrays too well yet but am learning.I just need to dig in and start playing with them alot and the scrolling code and hopefully that will turn the light on alittle more for me. I am guessing in your example that the current top is the currently drawn top, then the " to current top " is the next top to be drawn and thus the first current top would be down screen 1 row? Same with the left also I take it? My game is going to be a Yscrolling game so I think the current left wouldn't be needed because the sides will be in a constant width and always in view/onscreen. If anyone remembers the arcade version of Ikari Warriors thats the kind of game I am trying to make.
If I wanted to make a tile of the bush I was drawing over the map with, and added it to my animImage so I could use it in my tiled map. How would I draw that bush on the map where I wanted it drawn? I have seen some examples of filling the map randomly with your different tiles, but how would you put that bush frame at a certain X,Y spot on your tiled map?
Sorry have some troubles last night so couldn't get on to answer.Thanks for answering SoggyP. It kinda makes some sense, I am sure its alot easier then Papa's linked example which is abit more then what I need atm, or can understand without studying it alot. I don't quite get arrays too well yet but am learning.I just need to dig in and start playing with them alot and the scrolling code and hopefully that will turn the light on alittle more for me. I am guessing in your example that the current top is the currently drawn top, then the " to current top " is the next top to be drawn and thus the first current top would be down screen 1 row? Same with the left also I take it? My game is going to be a Yscrolling game so I think the current left wouldn't be needed because the sides will be in a constant width and always in view/onscreen. If anyone remembers the arcade version of Ikari Warriors thats the kind of game I am trying to make.
If I wanted to make a tile of the bush I was drawing over the map with, and added it to my animImage so I could use it in my tiled map. How would I draw that bush on the map where I wanted it drawn? I have seen some examples of filling the map randomly with your different tiles, but how would you put that bush frame at a certain X,Y spot on your tiled map?