(no title)
closedl00p | 2 years ago
Quick reactions from trying it out: One of my questions about this is the same as my question about "low-code" tools-- how they enable novices to debug errors or edge cases in the generated code.
Example: I played the tower defense style game example you linked in the comments for a few minutes, and found a bug (or perhaps a gameplay edge case I'd want to treat differently: a second bullet gets fired in the direction of an enemy that just died, wasting a shot). I cloned the project and poked around in the code to try to fix that, though without knowing the language and generated code that wasn't trivial.
Next, I thought-- I'll use the chat interface to explain this bug / edge case and ask for a suggestion. I was impressed, the conceptual explanation of how you might fix this seemed reasonable! However, the suggested generated code seemed incomplete and was full of "// ... rest of the code ..." comments, and when I clicked "Apply suggestions" that seemed to overwrite the existing program, so the application no longer runs (chunks of the program are just "// ... rest of the code..." lines). And I didn't see an obvious way to undo or get back to the previous code.
Anyway, that's feedback on my initial experience, I could see this being useful to generate the skeleton of a program or as an interface to get how-to suggestions that I'd then more carefully implement/integrate myself.
John-Rosebud|2 years ago
As of right now you still need to be familiar with the code that it gives you. But personally even when I work on a game I resolve bugs by chatting with the AI about it. We're also trying to surface any kind of actual errors that happen so you can feed it back to the AI. So far I haven't seen a bug I can't fix in this way, but then I've been coding for 20+ years.
As for the "//...rest of the code" stuff, yeah it's my white whale. We're just limited by the context size. We have a bunch of things coming up to separate the code into multiple files and various tricks to squeeze more of the context size. It's a constant battle.
Another thing we're toying with is automatic debugging that lets it go back and forth on bugs until it actually works.
Honeydough|2 years ago
Having a debugging assistant that is that good, in my opinion, alone makes Rosebud a better option than most 2D game development environments for most people.
The issues with the incomplete code get in the way, but the team has already identified them, so they shouldn't be a problem for too much longer.
whywhywouldyou|2 years ago
Leeway11805|2 years ago
lishali88|2 years ago