Ok I know I have been pretty much spamming all the forums asking for help lately and I am very sorry for that.
The problem is that my younger bros birthday is on may 7th and for the last 2 months I have been hell bent into making him a game (he had some health implications so I wanna cheer him up). If you want proof of what I did for the last 2 months I will gladly provide it. Anyways the problem is that I have hit a brick wall. My engine works, and all the mechanics are there. But I can not find a single tutorial anywhere that will teach me how to draw png(I already made a huge library of them) images to the screen without them lagging crazily.
Now I do not want to use pre build engines or anything like that. I want this to be my own work made by me from ground up, otherwise the present will not feel as good.
Anyways if someone could please redirect me or show me some kind of tutorial where I can draw images onto the screen efficiently I will be forever grateful to you.
Currently in the last 2 months I came up with these 4 skeletons on where everything is located
Skeleton 1
http://pastebin.com/RjRDfU9VSkeleton 2
http://pastebin.com/kpxGZA0zSkeleton 3
http://pastebin.com/V6Jy9470Skeleton 4
http://pastebin.com/6eWf0fzGI tried using g.drawImage but the game starts lagging, if I replace everyimage with fillRect it works super fast and smooth, so I know the issue is drawing.
Thanks to anyone who will help ^^