insomniac_lemon, (edited )
insomniac_lemon avatar

Hey, I created something. It's like XPM but instead it's to define polygon vertices in the proper order. I have a text file (first line is number of verts, 0 is origin):

11
                
       1        
                
                
3             9 
                
     2   A      
                
       0        
    4     8     
                
       6        
                
                
                
5             7 

Code and result in attached screenshot.

I'm not sure how practical it is (rotation, collision, resized-window-friendly placement etc.) or if I'd be better off with something else (that allows vertex colors too? Godot4 would be ideal if the bindings were there, here's an animated eye I made with Godot4).

For the format though it might be better if I could have it in the code file (can I have a 16x16-or-bigger matrix?) rather than reading line-by-line. And either way it'd look better with a truly square font (see also Square is a TTF font intended for roguelike games).

@cacheson

  • All
  • Subscribed
  • Moderated
  • Favorites
  • nim@programming.dev
  • Durango
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • khanakhh
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • JUstTest
  • GTA5RPClips
  • cubers
  • ethstaker
  • normalnudes
  • tacticalgear
  • cisconetworking
  • tester
  • Leos
  • modclub
  • megavids
  • provamag3
  • anitta
  • lostlight
  • All magazines