@Acheive260 Studios
Hello,
It can be a long road to get good at programming or to come to that "ah-ha, I get it" moment. In general, it's all sequential: one thing happens after the other.
Just talking about the sprite, for example:
You have to plan from the very beginning. Are you going to use transparency? Are you going to animate the sprite? How big is the screen and how big will the sprite be? etc. and etc.
Keeping it simple, we'll just say the sprite is 128x128 pixels - not too small, not too big. We'll say we want transparency - any black pixels will be see trough. To make sure our blacks are truly black, we should save the file in a lossless format. Jpeg - NO GOOD. BMP or PNG probably a safe bet. If the file is antialiased, then you are likely to have jaggies on the edges that are not pure black.
Once your image is saved, you have to load it into DarkBASIC. You do that with the LOAD IMAGE command.
load image "myimage.bmp",1
The ",1" at the end tells DBC that you are loading the file into image number 1. We'll need that for reference to the sprite.
Once the image is loaded, you can turn it into a sprite. Use the SPRITE command. The basic code might look like:
load image "myimage.bmp",1
rem clear the screen so we know that what we see next is the sprite
cls
rem now place sprite 1 at location 200,200 using image 1
SPRITE 1,200,200,1
That's the bare bones.
Enjoy your day.