This site requires JavaScript, please enable it in your browser!
Greenfoot back
JetLennit
JetLennit wrote ...

2013/4/20

How to make an image larger

1
2
3
4
JetLennit JetLennit

2013/4/20

#
How do i make something like this but with normal graphics?
GreenGoo GreenGoo

2013/4/20

#
You could open it in Greenfoot and have a look at the code.
JetLennit JetLennit

2013/4/20

#
I made it... i just created the graphics with code
MatheMagician MatheMagician

2013/4/20

#
What are you trying to recreate? The 3-d effect on the road or on the blocks?
JetLennit JetLennit

2013/4/20

#
On the blocks, but i am trying to make them not be blocks, but in fact normal images
MatheMagician MatheMagician

2013/4/20

#
Are you trying to put an image on them?
JetLennit JetLennit

2013/4/20

#
Kind of, i am trying to make them an image, but if the background of the box is transparent, what i am trying to do exactly is make an actor that is like the squares but instead of the graphicsless squares i want an image that is transperent in the back.
Game/maniac Game/maniac

2013/4/20

#
When you set the image of an actor to an image with a transparent background the background will be transparent
Game/maniac Game/maniac

2013/4/20

#
Or do you want to create other shapes other than squares
Game/maniac Game/maniac

2013/4/20

#
Or do you want to manipulate the image
JetLennit JetLennit

2013/4/20

#
I want to set the image of those squares to a normal image instead of just colored squares
Game/maniac Game/maniac

2013/4/20

#
getImage().setImage("image name.extention"); The image has to be in the images file in your games file
JetLennit JetLennit

2013/4/20

#
but how do i have it make itself larger?
Game/maniac Game/maniac

2013/4/20

#
getImage().scale(getImage().getWidth()+amount, getImage().getHeight()+amount);
JetLennit JetLennit

2013/4/20

#
I have tried that but it isnt working... it is distorting the image
There are more replies on the next page.
1
2
3
4