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

2021/3/3

how can I write a java script from a java script?

Who_TheGreen Who_TheGreen

2021/3/3

#
Hi, I wanted to ask if you know a solution for my problem. My plan was making a coding game with Greenfoot. You should be able to code inside of the game while it´s running. But then the code should be inserted into a specific place inside of a still unused java file, that should reset itself at the start of the game. After the file has been updated (or maybe the scene), it should be taken as the new java class file from a custom class that will do it´s work when the program is ready. This process should be repeatable for several times in one game. Does anyone have a clue how to do this? (Btw, I did not begin with the project yet, because it needs this as a base... but I haven´t found a solution yet.) (If you´ve got a solution in C#, it´s okay as well.) Thank you very much in advance!
You need to login to post a reply.