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

RcCookie's Comments

Back to RcCookie's profile

Actually, it is all hand-coded purely for Greenfoot (maybe VS Code as editor sometimes ;-) ). I would guess that you said this because I use a lot of packages?
I guess so. You could upload the source code for me to understand;-)
You can actually do that with the raycast. You can basically do anything that can be done with normal collisions
I have coded that before, I can upload it if you are interested
I think your AI could be more efficient by using raycasts instead of bumping into stuff
RcCookieRcCookie

2020/8/29

I was thinking of just generating some random paths and then placing the target on a certain position on there
RcCookieRcCookie

2020/8/29

I'll try to come up with a new idea
RcCookieRcCookie

2020/8/29

Having a pre-defined destination location is pretty complicated and does not work with my algorithm. By the way, the game runs quicker on the actual Greenfoot application
You could make it so that the game resets when you press a key