Choose image size when creating an image
-
When creating a tile sheet (by going to tools --> image editor --> project --> new image --> tiled image), it allows me to choose the size of each tile.
However, when I go to create a single image, it doesn't! Whenever I try to make a new image the dimensions are 100 pixels by 100 pixels.
I'm trying to create a racetrack background that rotates while my car (seen from above) stays still in the centre of the screen. I have found that I CANNOT:
-
Make the background using a tile sheet (because tiles cannot be rotated),
-
Design the background using a tile sheet and then copy and paste each tile into a separate image file, then rotate and draw each image in a grid (because there seems to be a limit of about 5 images per program).
This leaves me with the option of creating a single, large image to be the background, and printing the whole of the image every time but only showing a fraction of it on the screen - which is what the demo 'Old Skool Racing' does.
In OSR, the image dimensions (the image is 'Untied Games/RaceTrack') is 1,200 pixels by 1,200 pixels. However, when I try to create my own image to use as a background, the image created is automatically 100 by 100 pixels (which is way too small to be my background!).
How do I choose the dimensions of the image when creating my own image? I need to create a sizeable image for my project to work!
-
-
Click on the blue arrows at the side of the image mate and then drag it out to the size you need?
-
@SteveZX81 Thank you!! On the tile editor that creates a new tile, so I got confused and thought it would add more tiles.... oops.
-
You don't need to draw the whole image - both drawImage and drawImageEx allow you to draw just the part of an image that you want. Tiled imges did not exist on release so instead you would draw all of your images to a single image and manually draw only the "tile" you needed.