123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|539|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> ball physics?

Tue, 19 Dec 2023, 03:28
spinal

ball physics?


Been trying to get chatgpt to convert this https://codepen.io/ztyler/pen/LergVR to blitz3d...



it looks like valid code, but im getting an expected end function...

-=-=-
Check out my excellent homepage!
Tue, 19 Dec 2023, 04:14
Jayenkai
Just checking first off. You know there's two lots of code, there, right?

-=-=-
''Load, Next List!''
Tue, 19 Dec 2023, 04:48
Jayenkai
Gosh.. That code's not going to work at all.
It's very bad.
I don't think Blitz3D even does Methods, does it?! (It's been a long while since I used B3D properly!)

I presume that whichever chatbot you asked simply doesn't know B3D very well.

Tried to get Bing to do it, and Bing refused due to potential copyright issues (!!!)
Bard gave it a go, but very clearly doesn't know B3D very well either, using "Sub" instead of functions, and Sync() instead of Flip, and so on.

Just going to have to go through and DIY the thing, I'm afraid!!!

Either that, or go function by function, and get the chatbot to double-check everything as it goes. Spitball ideas with it, and let it know it can't do methods and such, as you work your way through the code.

-=-=-
''Load, Next List!''
Tue, 19 Dec 2023, 06:19
Pakz
I have some b3d snooker balls code stored somewhere. This came from the blitz forums back then. Everything from there was archived afaik on several forums and on github.

I can look for my version and post it here?