Well, I've finally gotten back to working on my RPG; I'm hoping to push some limits, but I'm bound to run into problems and now I have a question on HUD backgrounds.
For reasons that shall remain unknown (but could easily be figured out by looking at some in-game screenshots), I wish to place a .png HUD background behind the world. The .png is as large as the screen (544x448) and it's tiled using the following code.
new /HUD/background(client,ex,yi) //assume that New() adds it to client.screen correctly
The code is working, but whenever the screen moves, the player and screen both move slowly (it works fine when the background is dissabled. My question is, is this "lag" unavoidable when using large backgrounds like this, or am I doing something wrong; is there a better way of achieving the same effect?
Mar 20 2004, 10:29 am