u/kodifies
In this archive from Jun 2016 to Nov 2026
- 68
- posts
- 69
- comments
- 7
- media
- 640
- score
M68kNode gdExtension coming soon...
https://www.youtube.com/watch?v=n6Sq_jykgvc had to share this, just got picoClib's std in working with my keyboard "device" - startrek.c compiled to an emulated 68k system and running,,,,, Just M68kNode, can run headless so you can make your own system for it, or just have a very simple bare metal a...
M68kNode gdExtension coming soon...

Mos6502.gdextension

Mos6502.gdextension

learning gdextension
oh I gotta say, once you get your head around a few things, messing with gdextensions is fun! Fantastic you can fairly easily make something a brand new full citizen within the Godot IDE https://www.youtube.com/watch?v=HXmWTnBmr38
mos6502.gdextension
I decided over the weekend to have a crack at making an extension, for want of anything better I wrapped https://github.com/redcode/6502 into a Mos6502 node, while I was at it I added a shader to provide a 40x20 column display from the 6502 ram (800 bytes at 0x0400 but it could be anywhere) - the "d...
Map out you levels with a dot graph (howto)

Import hints for (dynamic) rigid bodies
using -convcol you can create a convex poly mesh suitable for a rigid body, however it imports as a child of a static body... I ended up copy pasting out (separately) the visual mesh and the conv poly mesh from a temporary scene so I could move my player away from multiple collision shape (which lon...
calculating collision energy (damage)
so in my tests I'm flying my ship at static geometry. I figured that in the players integrate forces, I could total up the contact impulse magnitudes and use that as an indication of how much damage I should apply to the players ship This mostly works great, however, randomly I don't seem to get any...
RaylibOdeMech 1.0 is out !
you can see it in action here https://www.youtube.com/watch?v=siKUKe6ocRA you can experiment with the code here https://github.com/chriscamacho/RayLibOdeMech I would suggest copying one of the examples (in the same directory) and modifying that to learn how to use the framework, after having a good...
interesting gotcha with global / default scene
now long time GDScripters will probably go "well duh" to this one, but it wasn't obvious to me and I thought I'd post to help out others that might also fall into the same trap My project has a "global" games master script that has a state engine and depending on state changes will hide and show dif...
Resources - am I doing this right?
I'm primarily a C coder and previously have use Godot for rapid prototypes (I'll be using it a lot more in future me thinks!), one prototype in particular I've decided to take further, but unfortunately I had a bunch of const arrays for properties of particular entities (instanced from a "template"...
Why is the git plugin not baked in ?
having basically been working with a prototype that was just using git locally (I'd been using git manually with Godot closed - just for the history/roll-back) my project developed into something a bit more so I decided it was overdue time I added it to the git server on my VPS I was surprised that...
Any idea for generic (none graphics!) combat effects
In my game the player gains various tokens which can have different effects my idea is to keep this fairly generic in that each token when created gets effects added to it when its instanced to apply an effect you would call the effects function apply(source:Entity, target:Entity) this would then me...
4.6 proves steady incremental improvement for Godot
I think I first got into Godot mid 3.0 series, and I'm far from using it day to day, but I do periodic bursts as I get ideas and want to prototype them, while not an "expert" I'm far from a novice, and I have decades of C coding experience. Each time I have an idea to prototype I grab the latest ver...
multi resolutions - just don't get it
well I've messed around read the doc here https://docs.godotengine.org/en/stable/tutorials/rendering/multiple_resolutions.html about it but I'm just not getting anywhere, doesn't seem like I can support 1920x1080 let alone 4k, I don't want to scale up a small window I want to be able to have a base...
can't find out how to make 3d animation local and unique....
Can't change loop mode on animation instanced from an imported scene. To change this animation's loop mode, navigate to the scene's Advanced Import settings and select the animation. You can then change the loop mode from the inspector menu. where even are these settings ???!!!
get angle of HingeJoint3D ?
I'm wanting to make a PID controller such that an angle can be set and the hinge will move to that target angle, however I can't see a way to get the current angle of the hinge, what am I missing ??
Gdextension and interdependent classes
I'm writing an extension that needs a numbers of classes (most based off Object or Node3d classes) I'm having problems with methods that need to use another of the extensions where it comes to binding, I tried a forward ref to the class without including the other class and just straight including,...
auto populate OptionButton from Enum
I hope someone finds this useful... https://bedroomcoders.co.uk/posts/271
on_body_entered and linear_velocity an ?obvious? gottcha
I was using on_body_entered to detect collisions as you do, and decided I wanted to have the damaged based on how hard you hit various hazards so I just used get_linear_velocity().length() and got on with other stuff, for quite some time it seemed to work just fine Then I noticed just occasionally a...
make a graph of your levels
tip, create a graph of your projects scenes
how do I track down what is causing some engine errors ?
I wasn't seeing these errors, made a few now reusable scenes that I scattered around different levels, and I now see when loading the project Godot Engine v4.4.rc1.official (c) 2007-present Juan Linietsky, Ariel Manzur & Godot Contributors. --- Debug adapter server started on port 6006 --- --- GDScr...
Scenes as components - the importance of local to scene.
You probably won't need to have used Godot for very long before you notice that if you duplicate a Node with a child of (for example) a mesh instance, then edit the Albedo of the mesh instance, that both nodes change colour..... https://bedroomcoders.co.uk/posts/269
best practice for reusable scene with unique elements
I *have* to be holding this wrong... I made this scene with a laser beam with an editable property to size the length of the beam, this changes the beam length and position (the beams visual), and reflects this new length in the shader (effects scale) it also does a bunch of other stuff too, so I wa...
what effect should I use for my tractor beam
I have a tractor beam that’s a 6dof joint (it has a maximum length but can get shorter and stuff its connected to can swing around) Currently I have a cylinder that each process is sized and rotated to link the ship and target, when the tractor beam is active I'm trying to think of some effect I can...
3d navigation and singularities
I'm rotating the view *locally* and so as to avoid induced roll, I'm lerp-ing back to a notional "commanded" roll (which and be changed via roll control) however if I look straight up or down, the control goes wild here's the code I'm using transform.basis = transform.basis.rotated(transform.basis.x...
translations (sanity check)
If I want something in the same orientation, but "in front" of another object then I'm using this code func process(delta: float) -> void: box.basis = basis var t:Vector3 = basis * Vector3(0,0,-4) box.global_position = t But is there a "better" more engine friendly way to do this? to be clear althou...
Godot, Global Enums and behaviours
Here are some useful and powerful techniques to keep you organised and (in the long run) make things much easier for yourself... https://bedroomcoders.co.uk/posts/266
Move backwards/forward (not zoom) in IDE
I almost always end up using the mouse wheel to move my view point in the IDE move backwards and forwards, however this is actually changing the zoom, not moving the view point Is there any way to reassign the mouse wheel to move instead ? How do you move in / out, without zooming ?
notes on player movement in a 3d environment
posted this on r/godot but stuff there tends to get swamped ! https://bedroomcoders.co.uk/posts/265
Suggestions for implementing a 3d player
I tend to use my blog mainly as an aide mémoire however the fact feedback indicates it has helped others is all the better, with this in mind here is some guidance that should help with a few issues that might be encountered moving a character around a 3d environment. https://bedroomcoders.co.uk/pos...
ray intersection with Bézier curve
I'm extruding a CSGPolgon3D along a Path3D to provide a tube following a Bézier curve, how can I make a collision shape for this so I can intersect a ray with it?
Missing gridmap editor key bindins
Looking here https://docs.godotengine.org/en/stable/tutorials/3d/using_gridmaps.html I only see a few keys mentioned not all of them And no mention here https://docs.godotengine.org/en/stable/tutorials/editor/default_key_mapping.html Does anyone have a full run down on what all the keys do as I keep...