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

2013/2/17

getIntersectingObject

4
5
6
7
8
DJ_KASKO DJ_KASKO

2016/4/24

#
ok i will do that but please checck the assignment then fix it then post and we can go over it and you can teach me what to do.
danpost danpost

2016/4/24

#
Yes. Your images have excess transparencies -- and exactly where they are not wanted. So, here is what I need you to do. First, find your 'images' folder within your Trump-Man scenario folder and make a copy of the folder (including its contents). The copy can be in the Trump-Man folder along with the original 'images' folder. This copy is to ensure we can revert back to those images if anything goes wrong during the following processes. Now, on the site, go to my Image Transparency Adder/Trimmer scenario page and click the big green 'Open in Greenfoot' button (to upper-right of scenario window). Use the 'Save' option when prompted. You will need to go to your Downloads folder; so, if prompted, select the 'Open folder' option; if not prompted, find your Downloads folder. In the Downloads folder, select the Image Transparency Adder/Trimmer file and start a cut/paste command (or press Ctrl-X). Now proceed to your 'greenfoot/scenarios' folder and paste it there (or press Ctrl-V). Within your greenfoot application, open the file (from menubar "Scenarios>Open...", select the file and click on the 'Open' button). At this point, you can run the scenario and make use of it as is; however, it would be better to make it a stand-along executable jar file. You would do this by clicking the 'Share' button at the upper right of the greenfoot frame and going to the Application tab, fill in any information required and click the 'Export' button. Now you will have an executable jar file that you can run outside of greenfoot. Now, you can close and (eventually) delete the scenario folder that was created from the gfar file and delete the gfar file also. Go to your scenarios folder and run (double click on) the application just created. Press the 'Run' button, followed by the 'Load' button in the project. Find your 'images' folder of the 'Trump-Man' scenario folder and open it to select the 'Player1.png' file. You should only have to now 'Save' the file back to where it came from (the excess transparency is automatically removed after loading). Do the same with the player2 image (load and then save). Now open your project and try it out.
DJ_KASKO DJ_KASKO

2016/4/24

#
OK this is going to take a while
danpost danpost

2016/4/24

#
DJ_KASKO wrote...
OK this is going to take a while
Looks like you will have to do the same with the 'chingchong3.png' image file as well.
DJ_KASKO DJ_KASKO

2016/4/24

#
i have may picture in the thing you made but it has white around it and it is also very large and so isthe fist becuase i dont actualy have the pictures so i did that now what do i do
DJ_KASKO DJ_KASKO

2016/4/24

#
it says save failed every time i try to save it
danpost danpost

2016/4/24

#
DJ_KASKO wrote...
i have may picture in the thing you made but it has white around it and it is also very large and so isthe fist becuase i dont actualy have the pictures so i did that now what do i do
Do not worry about that picture (that is a KimJongUn picture which you are not using). You need to work with the 'chingchong3.png' image.
DJ_KASKO DJ_KASKO

2016/4/24

#
ok
danpost danpost

2016/4/24

#
DJ_KASKO wrote...
it says save failed every time i try to save it
Do you have write privileges on that system (or at the location you are trying to save to file to?
DJ_KASKO DJ_KASKO

2016/4/24

#
I did what you said but it just has a white background around it and i dont now what to do this is so hard
DJ_KASKO DJ_KASKO

2016/4/24

#
step by step pleazse help me do this
danpost danpost

2016/4/24

#
You might try saving the file under a new name with the intention of setting the image of the class to that image afterwards.
DJ_KASKO DJ_KASKO

2016/4/24

#
i have to go now but ill be on maybe tommorow sorry but this is so f*cking hard
DJ_KASKO DJ_KASKO

2016/4/24

#
i dont know what that means
danpost danpost

2016/4/24

#
DJ_KASKO wrote...
I did what you said but it just has a white background around it and i dont now what to do this is so hard
None of the images used in your scenario have white around them. However, if you want to remove the white, make sure the color box (top-right corner) shows that color (white) and click on the 'Make transparent' button. The three images that need modified are 'chingchong3.png', 'Player1.png' and 'Player2.png'. None of the others matter.
There are more replies on the next page.
4
5
6
7
8