With this project my aim was to see how i could extend the "movement" of let say enemy entity's
acting as enemy or whatever you decide.
So if you have followed my past script engine series, there was this odd-ball mover ,
that was my base and you could read that the project and script engine required a small class
that acts as pipeline between the project and engine.
The script looks as follows (rly easy!):
![[Image: 9v1X4pi.png]](https://i.imgur.com/9v1X4pi.png)
The Up, Down, Left and Right can actually be defined as variables, so you could do
Anyway, with some tinkering with my skill, i managed to produce this idea:
![[Image: 2DUXivP.png]](https://i.imgur.com/2DUXivP.png)
The blue'ish ghost is the enemy entity that moves randomly driven by the script and also avoids walls and such.
Based on this im pretty sure i could produce a player interface that move's a pacman'ish entity arround the map.
I add the source for this build (still version 1.7.1)
ive made some fixes as well in the core engine with some flaws i noticed also the "Switch" syntax is in there but not rdy yet.
Source download: Link
Credits for the RoundRectangle Extension class:
Arun Reginald Zaheeruddin
I modified his version a little bit to my demands.
Tinker away my fellow coders, got qeustions feel free to ask.
(Remark for: Cornflower, if you start bothering me again with fps and p/invoke gdi, i dont care, alright?)
Greets - Barret 🎉
acting as enemy or whatever you decide.
So if you have followed my past script engine series, there was this odd-ball mover ,
that was my base and you could read that the project and script engine required a small class
that acts as pipeline between the project and engine.
The script looks as follows (rly easy!):
![[Image: 9v1X4pi.png]](https://i.imgur.com/9v1X4pi.png)
The Up, Down, Left and Right can actually be defined as variables, so you could do
Code
Go(Up);Anyway, with some tinkering with my skill, i managed to produce this idea:
![[Image: 2DUXivP.png]](https://i.imgur.com/2DUXivP.png)
The blue'ish ghost is the enemy entity that moves randomly driven by the script and also avoids walls and such.
Based on this im pretty sure i could produce a player interface that move's a pacman'ish entity arround the map.
I add the source for this build (still version 1.7.1)
ive made some fixes as well in the core engine with some flaws i noticed also the "Switch" syntax is in there but not rdy yet.
Source download: Link
Credits for the RoundRectangle Extension class:
Arun Reginald Zaheeruddin
I modified his version a little bit to my demands.
Tinker away my fellow coders, got qeustions feel free to ask.
(Remark for: Cornflower, if you start bothering me again with fps and p/invoke gdi, i dont care, alright?)
Greets - Barret 🎉


![[Image: jlscvfi.png]](https://i.imgur.com/jlscvfi.png)