Hello lovely community, I have two questions.
1:
I'm planning to write a simple 2D, top-down game wich rather small tiles. If I have many objects and want to deal with collisions I could use a quadtree for example, but how do I go about drawing those many objects? Till now I just iterated through all the objects with two for-loops and img.draw(), but that eats more performance than necessary doesn't it?
I will be using Slick2D and remember that I read somewhere on here that I should use img.start() and img.stop() or something like that but I can't find it for the life of me..
2:
I'd like to have multiplayer in this game. I looked through the "Networking & Multiplayer" section on the forum but couldn't really find anything that would help me to get started. I read the UDP vs. TCP article that raeking posted but obviously that didn't really help me getting started, all I know now is that I should use UDP

Now I have following in mind because I really enjoy it's simplicity. In Terraria one player simply opens a server by pressing "Host multiplayer game" and other players can join by pressing "Join multiplayer game" in their client and entering the hosts IP and a port. Nice and easy. Now I guess that's more of a LAN thing since we had to use
Hamachi to get it to work, but I dont really mind that.
Please keep in mind that I know virtually nothing about networking yet, I was always a little afraid of it because it seems rather difficult. I think Slick2D doesn't have any networking features so will I need to use any additional libraries, or can I work with basic Java?
As always I really appreciate your help. JGO's community is simply amazing... especially compared to a community like DotA 2's or HoN's (Play it and you'll know what I mean

)
Thank you Riven for making this possible
