Hacker News new | ask | show | jobs
by nathants 1106 days ago
i use gpt4 daily.

it’s not very good at writing code, but can write code in small well defined chunks.

i’m working on a game with blender, cpp, physx, and wickedengine.

it writes a lot of python for blender with prompts like:

blender. python. apply transforms to every object unless X.

these tend to work, if scoped small enough, and any exceptions or failures are put as followup prompts.

writing python for blender is more annoying than hard, so this is great.

the other type of prompt i use a lot is like this:

blender. did X. expected Y. got Z. why?

i use prompts like these a lot, for cpp, physx, and wickedengine. often i ask for code, but not to copy it verbatim, but because i’m thinking in code.

these types of prompts usually output a list of possibilities. almost always the list contains what i’m looking for. usually it’s the first item.

a gamedev prompt might be:

wickedengine. code. how to rotate normal 90 degrees right on y in world?