10
2023
Using OpenAI API with WebRequest from Unity
Simple example for calling openAI completions API, with simple webrequest (and JSON data). Repository:https://github.com/unitycoder/UnityOpenAIGPT3 Making of video:
9
2023
[LudumDare52] Theme: Harvest
Small bot programming game, sadly has only 2 commands to use in this initial version.. ldjam entry:https://ldjam.com/events/ludum-dare/52/harvest-bot Making Of video:https://www.youtube.com/watch?v=1B7P3mS4_i4 Ideas for future (if want to extend this later..)– More features (sensor to direction, shoot, enemies, destroyable objects )– Play against other bots in same […]
12
2022
Painting with Compute Shader
Finally tested compute shaders for drawing into render texture:
27
2022
Draw Pseudo Hilbert Curve
Followed this tutorial: The Coding Trainhttps://www.youtube.com/watch?v=dSK-MW-zuAc my source code:https://gist.github.com/unitycoder/f4ea8071a5d6ccceef210550bc5f0cf3
4
2022
Unity Stable Diffusion plugin
..for fetching images from InvokeAI web service (locally), inside unity (editorwindow). You can generate images, seamless textures or use initial image to “improve” your programmer art! Note currently only support version InvokeAI 1.14.1 Project:https://github.com/unitycoder/UnityInvokeAI Making of videos:Full struggle recorded in videos, https://www.youtube.com/watch?v=MKME8r9T-Ns&list=PLi5GhVWoWyw6O4OShX9MqFaYIIVtBYLUB
1
2022
Testing Connected Component Labeling
Tried to do https://en.wikipedia.org/wiki/Connected-component_labelingbut it didn’t work as i didnt add floodfill or recursive neighbor checking.. Video:https://www.youtube.com/watch?v=JNJhdNYm8pc Script from the video:https://gist.github.com/unitycoder/518188714ab8a29a0c6ca312e71fc0a3
12
2022
(news) Nano Tech for Unity
Most exiting plugin for unity, they have crowdfunding running (i’ve already backed, so should you!) “A fast rendering system for highly detailed meshes, made for Unity. Supports HDRP / URP / Built-in” https://www.indiegogo.com/projects/the-unity-improver-nano-tech/x/1801544
25
2022
(Sources) Fog Of War – effect
Finally uploaded this old fog of war test project from https://unitycoder.com/blog/2014/10/16/2d-fog-of-war-unity/ Its raycast + vertex color based effect. (not really optimized, as it linecasts each vertex right now..) Sources:https://github.com/unitycoder/FogOfWar Cleaning up the project and upgrading from 4.x:
5
2022
LudumDare#50: Delay the inevitable
Small game (in the jam-category as the sound fx’s are taken from freesound)https://ldjam.com/events/ludum-dare/50/wobbly-plankster Includes global hiscore list! Recorded few clips while working on it,https://www.youtube.com/watch?v=b-oNFXkMX04 (part 1/5)
2
2022
Customize UnityHub colors
It seems to be common request to have light color theme as an option for the new unity 3.0 hub.. so, while unity is working on that(?), you can edit and customize the hub yourself! Steps (New 06.03.2022, see comments for info that can edit […]
Recent posts
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)
- UnityHub: Add support for custom project title (instead of folder name) or use ProductName
- Testing Unity MUSE AI