Ambiera ForumDiscussions, Help and Support. |
|
[ 1 2 ] Page 1 of 2 |
|
|||||
|
So we all know coppercube lacks a code editor so I made one It got tons of features that I'm will tell right now Features: Syntax highlighting Code completion(support full api) Gpt4 code generator Javascript code validation And please tell me what features should I add next https://mohamadhanijanaty85.itch... |
||||
|
Its a very good start. What i would like to see is FONT settings (text too small for me right now) Editor rect wont resize if i make it full screen-would be nice to have full screen editor. |
||||
|
Sven pls I need ur healthbar ccb |
||||
|
Monks wrote: Sven pls I need ur healthbar ccb Its lost somewhere, i can make new if i have time. But there are also better healthbars avaiable ,made by other developers. |
||||
|
Oh pls then I'm expecting it, I've tried the other healthbars but for a reason they don't work but I have hopes dat urs will work, really high hopes |
||||
|
@Monks, found an old health bar example shared by @Sven quite a while ago, maybe this is what you are looking for: https://www.dropbox.com/scl/fi/h... (thanks @Sven) |
||||
|
Tnks hadoken |
||||
|
Open AI key? |
||||
|
Version 1.1 released with new features Features: Ability to edit font size Dark mode Thanks for everyone who gives ideas. Also new ideas are welcome |
||||
|
When it asks me Open Ai key what does it want me to do? |
||||
|
guest wrote: When it asks me Open Ai key what does it want me to do? Your openai api key A few days ago openai released gpt4 api to public. https://openai.com/blog/openai-api Remember to use gpt4 because it's only model that produces coppercube working code |
||||
|
wrote: Its a very good start. What i would like to see is FONT settings (text too small for me right now) Editor rect wont resize if i make it full screen-would be nice to have full screen editor. Added. Thank you sven for your feedback |
||||
|
Very interesting - how about code types in different colors to stand out better: *** generic javascript as one color (blue?) : new vector3d .add .substract function Math.random Math.round Math.floor Math.ceil Math.abs Math.min Math.max Math.sin Math.cos Math.tan this. && &&& || *** CopperCube API as another color (green?) ccbReadFileContent relative (percent) ccbGetCopperCubeVariable ccbGetSceneNodeFromName ccbGetSceneNodeProperty ccbSetSceneNodeProperty ccbSetCopperCubeVariable ccbCloneSceneNode ccbGetActiveCamera ccbSetActiveCamera ccbGetChildSceneNode ccbGetRootSceneNode ccbGetSceneNodeChildCount ccbGetSceneNodeMaterialCount ccbGetSceneNodeMaterialProperty ccbSetSceneNodeMaterialProperty ccbRemoveSceneNode ccbSetSceneNodeParent ccbSetSceneNodePositionWithoutCollision ccbRegisterKeyDownEvent ccbRegisterKeyUpEvent ccbRegisterMouseDownEvent ccbRegisterMouseUpEvent ccbRegisterOnFrameEvent ccbUnregisterOnFrameEvent ccbDrawColoredRectangle ccbDrawTextureRectangle ccbDrawTextureRectangleWithAlpha ccbGet3DPosFrom2DPos ccbGet2DPosFrom3DPos ccbGetCollisionPointOfWorldWithLine ccbDoesLineCollideWithBoundingBoxOfSceneNode ccbEndProgram ccbLoadTexture ccbGetMousePosX ccbGetMousePosY ccbGetScreenWidth ccbGetScreenHeight ccbSetCloseOnEscapePressed ccbSetCursorVisible ccbSwitchToScene ccbPlaySound ccbStopSound ccbWriteFileContent ccbFileExist ccbFileDelete ccbGetPlatform ccbInvokeAction ccbGetCurrentNode ccbCleanMemory ccbSwitchToFullscreen ccbDoHTTPRequest ccbCancelHTTPRequest ccbCreateMaterial ccbSetShaderConstant ccbSetPhysicsVelocity ccbUpdatePhysicsGeometry ccbAICommand ccbSteamSetAchievement ccbSteamResetAchievements ccbSaveScreenshot ccbSaveTexture ccbSwitchToCCBFile system ccbGetSceneNodeMeshBufferCount ccbRemoveMeshBuffer ccbAddMeshBuffer ccbGetMeshBufferVertexCount ccbGetMeshBufferIndexCount ccbAddMeshBufferIndex ccbGetMeshBufferIndexValue ccbSetMeshBufferIndexValue ccbAddMeshBufferVertex ccbGetMeshBufferVertexPosition ccbSetMeshBufferVertexPosition ccbGetMeshBufferVertexTextureCoord ccbSetMeshBufferVertexTextureCoord ccbGetMeshBufferVertexNormal ccbSetMeshBufferVertexNormal ccbGetMeshBufferVertexColor ccbSetMeshBufferVertexColor ccbUpdateSceneNodeBoundingBox *** Operators and Delimtors as another color { } ; ( ) , + - [ ] * / = < > ** Comments as another color (grey?) /* and */ // ** Text input between quotes as another color (pink?) " " ' ' ** Numbers as another color (orange?) Would stand out better leaveing only whats left as the default color |
||||
|
Robbo wrote: Very interesting - how about code types in different colors to stand out better: *** generic javascript as one color (blue?) : new vector3d .add .substract function Math.random Math.round Math.floor Math.ceil Math.abs Math.min Math.max Math.sin Math.cos Math.tan this. && &&& || *** CopperCube API as another color (green?) ccbReadFileContent relative (percent) ccbGetCopperCubeVariable ccbGetSceneNodeFromName ccbGetSceneNodeProperty ccbSetSceneNodeProperty ccbSetCopperCubeVariable ccbCloneSceneNode ccbGetActiveCamera ccbSetActiveCamera ccbGetChildSceneNode ccbGetRootSceneNode ccbGetSceneNodeChildCount ccbGetSceneNodeMaterialCount ccbGetSceneNodeMaterialProperty ccbSetSceneNodeMaterialProperty ccbRemoveSceneNode ccbSetSceneNodeParent ccbSetSceneNodePositionWithoutCollision ccbRegisterKeyDownEvent ccbRegisterKeyUpEvent ccbRegisterMouseDownEvent ccbRegisterMouseUpEvent ccbRegisterOnFrameEvent ccbUnregisterOnFrameEvent ccbDrawColoredRectangle ccbDrawTextureRectangle ccbDrawTextureRectangleWithAlpha ccbGet3DPosFrom2DPos ccbGet2DPosFrom3DPos ccbGetCollisionPointOfWorldWithLine ccbDoesLineCollideWithBoundingBoxOfSceneNode ccbEndProgram ccbLoadTexture ccbGetMousePosX ccbGetMousePosY ccbGetScreenWidth ccbGetScreenHeight ccbSetCloseOnEscapePressed ccbSetCursorVisible ccbSwitchToScene ccbPlaySound ccbStopSound ccbWriteFileContent ccbFileExist ccbFileDelete ccbGetPlatform ccbInvokeAction ccbGetCurrentNode ccbCleanMemory ccbSwitchToFullscreen ccbDoHTTPRequest ccbCancelHTTPRequest ccbCreateMaterial ccbSetShaderConstant ccbSetPhysicsVelocity ccbUpdatePhysicsGeometry ccbAICommand ccbSteamSetAchievement ccbSteamResetAchievements ccbSaveScreenshot ccbSaveTexture ccbSwitchToCCBFile system ccbGetSceneNodeMeshBufferCount ccbRemoveMeshBuffer ccbAddMeshBuffer ccbGetMeshBufferVertexCount ccbGetMeshBufferIndexCount ccbAddMeshBufferIndex ccbGetMeshBufferIndexValue ccbSetMeshBufferIndexValue ccbAddMeshBufferVertex ccbGetMeshBufferVertexPosition ccbSetMeshBufferVertexPosition ccbGetMeshBufferVertexTextureCoord ccbSetMeshBufferVertexTextureCoord ccbGetMeshBufferVertexNormal ccbSetMeshBufferVertexNormal ccbGetMeshBufferVertexColor ccbSetMeshBufferVertexColor ccbUpdateSceneNodeBoundingBox *** Operators and Delimtors as another color { } ; ( ) , + - [ ] * / = < > ** Comments as another color (grey?) /* and */ // ** Text input between quotes as another color (pink?) " " ' ' ** Numbers as another color (orange?) Would stand out better leaveing only whats left as the default color Thanks for the feedback robbo I added these features you can download updated version on its. |
||||
|
Much better cheers - fast update also :) How about the ability to change the default text color (ie for Dark mode to lighter color like white ) plus have the ability to turn on/off bold fonts to stand out even more ? The red box highlight for opening and closing {} brackets is nice but can it be even more highlighted like a yellow box so its even more obvious as this part is super important ? The CC API code is not highlighted. The blue looks good and stands out well and the pink is pretty good also. Numbers don't stand out by themselves. The green for comments is fine but better to be bold font instead (or just have the bold to all font as on/off tickbox). I would change the text inputs (" " , ' ') to maybe red instead of grey (stands out better). On full screen can we get full screen viewing ? The syntax checker says 'vector3d' is invalid, its ok for CC actually. Any chance to get code completion ? (ie start to write ccb and a list shows up of all commands starting with that entry) |
[ 1 2 ] Page 1 of 2 |
|