+42
On 13 Nov 2016, at 20:33, stepharo <stepharo@free.fr> wrote:
+1
Le 13/11/16 à 14:28, Ben Coman a écrit :
Really cool! Great to hear your success. Looking forward to the next instalment. cheers- ben
On Sun, Nov 13, 2016 at 4:44 AM, Dimitris Chloupis <kilon.alios@gmail.com> wrote:
Annnddddd.... I DID IT !!!
I accomplished connecting Pharo with Unreal so I can script it with Pharo. It works from inside the editor and for the game as standalone. True live coding :)
I am amazed how fast it is, but then I guess it should be expected with shared memory. You can watch a short demo here
https://www.youtube.com/watch?v=6fsUKW8-bBE&feature=youtu.be
When I first created the loop, nothing happened.
So naturally I expected that my CPPBridge was not working, my loop is basically going from 1 to 150 (z axis), 10 times. After inserting a delay of just 10 milliseconds I could see movement.
So apparently without the delay Pharo , Unreal and CPPBridge are so fast that do 10 times movement of 1 to 150 in under one frame !!!!! So now I will have to slow down thing to make them work as I want !!! LOL!!!! I expected to be fast but nowhere that fast.
Not that I am complaining.
But this is just the first step, now I will slowly and steadily start to wrap Unreal Engine 4.13 API for Pharo.
Its a dream to use Pharo professionally :)