Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Does it accept other programing languages besides java scripts? |
||||
|
it can accept any lang you makeup, but it can also accept a lang implanted with studio version... you make good games btw... let me know why you need this... also romero is king... i like lua myself... |
||||
|
i dont have studio version ;w; how do i execute a custom script that's not java then? also, i make good games??? romero?? i think you're confusing me with someone else lol |
||||
|
oops thought you were someone i helped a long time ago! ![]() https://files.catbox.moe/nkvlln.... try this out and let me know if this is what you meant. it shows you how to run lua from inside cc. |
||||
|
guest wrote: oops thought you were someone i helped a long time ago! ![]() https://files.catbox.moe/nkvlln.... try this out and let me know if this is what you meant. it shows you how to run lua from inside cc. i mean, it's not what i meant, BUT it's usefull but i want to execute, let's say, an python script. is there a way to do it? |
||||
|
i am sure you can use the same principles to execute some python. need to do it first to be sure. i will send you an example of it working if what i think can do it, does work... ![]() |
||||
|
here's a barebones python example: https://files.catbox.moe/cyz112.... this doesn't include the dll or Lib folder because i don't need the standard library to do what i do here. if you need that, you include those from the winpython, i guess. also you'd install the modules you use into that Lib folder with pip so look up how to do that on youtube or something. if you want a more complex example i can show you that too. say we use pil/pillow to dynamically create textures, for example. note: you don't use this to program your game bc you add overhead to your code, you use this to add functionality only. your game will run twice as hard if you do all code this way. use js for most of it, this in cases where it counts. let me know if it prints "Hello from Python!" on your end, and then you're set. cheers. |
||||
|
noice. thank yaa |
|