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

2020/12/1

Printing symbols

1
2
Roshan123 Roshan123

2020/12/1

#
Its not working (giving errors) getBackground().drawImage(new GreenfootImage(""+((char)8595), 20, Color.BLACK, new Color(0, 0, 0, 0)), 500, 500);
danpost danpost

2020/12/1

#
Roshan123 wrote...
Its not working (giving errors)
What errors?
Roshan123 Roshan123

2020/12/1

#
Its telling me to give semicolon after ((char)8595) Not only semicolon but also " , , ...etc(i think so. I m not sure that this erors were given or not but i think so that it was giving a lots or errors in that line only) Ex....getBackground().drawImage(new GreenfootImage(""+("(char)8595");, 20, Color.BLACK, new Color(0, 0, 0, 0)), 500, 500);
danpost danpost

2020/12/1

#
Roshan123 wrote...
Its telling me to give semicolon after ((char)8595) Not only semicolon but also " , , ...etc(i think so. I m not sure that this erors were given or not but i think so that it was giving a lots or errors in that line only)
The line, as you gave in initial post, i.e.:
Roshan123 wrote...
getBackground().drawImage(new GreenfootImage(""+((char)8595), 20, Color.BLACK, new Color(0, 0, 0, 0)), 500, 500);
should not error in any class extending World.
Roshan123 Roshan123

2020/12/1

#
I have used it in the world to tell the users to click the run button Input...
getBackground().drawImage(new GreenfootImage("Press the run button below "+((char)8595), 20, Color.BLACK, new Color(0, 0, 0, 0)), 500, 500);
Output which i want it to be drawn in the world Press the run button below ⬇️
danpost danpost

2020/12/1

#
Roshan123 wrote...
i want it to be drawn in the world Press the run button below ⬇️
"want" -- does that mean you still have not gotten it to work?
Roshan123 Roshan123

2020/12/1

#
should not error in any class extending World.
I am using the code in world constructor and not in any actor class I have tried it in world and it gives me logical errors
danpost danpost

2020/12/1

#
Roshan123 wrote...
I am using the code in world constructor and not in any actor class I have tried it in world and it gives me logical errors
Show complete constructor (copy/paste).
Roshan123 Roshan123

2020/12/1

#
Due to some reason u have to wait for atleast 2 days....plz
danpost danpost

2020/12/1

#
Roshan123 wrote...
Due to some reason u have to wait for atleast 2 days....plz
Okay. Exactly what does the error message say now? (a complete word for word, please)
Roshan123 Roshan123

2020/12/1

#
Okay. Exactly what does the error message say now? (a complete word for word, please)
Oh sorry i told u that i was a logical error Actually its a syntax error I might have written something like "Press the run button below "+((char)8595) + , 20 Its better to discuss after 1 or 2 day
Roshan123 Roshan123

2020/12/1

#
it was a syntax error Instead of writing something like ((char)8595) You wrote ((char) 8595 Its ur mistake. U taught me in a wrong way ☞ ̄ᴥ ̄☞
danpost danpost

2020/12/1

#
Roshan123 wrote...
You wrote ((char) 8595 Its ur mistake.
Where did I do that? I do not think you will find that anywhere by me.
Roshan123 Roshan123

2020/12/1

#
Where did I do that? I do not think you will find that anywhere by me.
This doesn't need any proof Everybody knows that YOU are the best Sometimes everybody treat with u as if u r the life saviour Did u really took it seriously??? If u took it seriously then I apologise for it....(-_-;)
Roshan123 Roshan123

2020/12/2

#
Is it working - Yes Is it printing all unicodes - Some Why some of the unicode is not printed???
There are more replies on the next page.
1
2