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

2021/1/26

Scenario not working in web site

1
2
3
danpost danpost

2021/1/26

#
Roshan123 wrote...
Or else i will share it on this time any other day if u don't mind(i m always free at this time but for few days its not possible)???
I was wondering why you don't just do it now while I'm here.
So can u post ur free time..plz
I might be able to manage 19 h 45 m from now.
Roshan123 Roshan123

2021/1/27

#
danpost wrote...
I was wondering why you don't just do it now while I'm here.
Sorry i went to bed.....at that time i was talking with u in mobile and not in desktop.
Roshan123 Roshan123

2021/1/28

#
I did it accordingly Now if u downloaded it then say anything asap
danpost danpost

2021/1/28

#
Got it.
danpost danpost

2021/1/28

#
Change null in line 17 of ScoreBoard class to: new Color(0, 0, 0, 0)
Roshan123 Roshan123

2021/1/28

#
Wait i m typing
danpost danpost

2021/1/28

#
Do same at line 47 in B class.
Roshan123 Roshan123

2021/1/28

#
danpost wrote...
Change null in line 17 of ScoreBoard class to: new Color(0, 0, 0, 0)
I think its not the problem in scoreboard Btext, Rtext, RedText and BlueText r the problem After adding the above classes, the scenario was not working in website I m sure enough that scoreboard is not the problem
Roshan123 Roshan123

2021/1/28

#
danpost wrote...
Do same at line 47 in B class.
Ok
danpost danpost

2021/1/28

#
And again at line 35 in Tank class.
danpost danpost

2021/1/28

#
Roshan123 wrote...
Btext, Rtext, RedText and BlueText r the problem After adding the above classes, the scenario was not working in website
Well, I do not see anything in any of those classes that could possibly be an issue. To be sure, they are by no means anywhere near being optimally coded, but they should have no issues in website.
danpost danpost

2021/1/28

#
Replace all 7 instances of null in Counter class, as well.
danpost danpost

2021/1/28

#
In line 25 of Tank2 class, change (null) to (Actor.class) (first instance in the line). Same in line 28 of EnemyTank class. And line 172 in Tank class.
Roshan123 Roshan123

2021/1/29

#
Still not working
Roshan123 Roshan123

2021/1/29

#
If u want then u can upload the scenario to see what's going on but don't publish the source code
There are more replies on the next page.
1
2
3