Learn Programming

95 readers
1 users here now

founded 2 years ago
MODERATORS
1
 
 

Say, for example, that I have a GUI library whose API solely offers functionality for drawing text boxes, buttons, labels, etc. No fancy layout utilities.

For a simple use case, one might just hard-code the size and coordinates of a certain button, or even a small bunch of them, but once the layout starts to clutter, it's a better choice to give some organization. When there is no visual GUI editor, you either make one, or code your own layout API. Either option is obviously very time consuming, and the latter doesn't tend to be very flexible.

Is there any way/standard for "programmatically" giving a layout to a gui? For example in web, I've seen how people use html, css and json to specify certain behaviors, styles and that. How could that be applied here? In my case, I'm using the raygui lib (which isn't really standalone since its meant to be a gui utility for games)

2
 
 

cross-posted from: https://lemm.ee/post/64874515

Game Development Tutorials

Intro to Game Development

  1. Lukky - Making a Game from Start to Finish (Tutorial)
  2. Brackeys - How to make a Video Game - Godot Beginner Tutorial
  3. Brackeys - How to program in Godot - GDScript Tutorial

Basic Game Development

  1. LegionGame - Juiced Up First Person Character Controller Tutorial - Godot 3D FPS
  2. Lukky - Godot 4.0 Third Person Controller Tutorial (2023)
  3. Quilled - Import Animations in Godot 4 with Animation Retargeting
  4. LegionGame - Design 3D Game Levels From Scratch - Godot 4 Tutorial

Advanced Game Development

  1. Chap C. Creates - The First Skill GODOT Beginners Should Learn - State Machine Game Showcase
  2. The Shaggy Dev - Starter state machines in Godot 4
  3. The Shaggy Dev - Advanced state machine techniques in Godot 4

Basic Game Development (continued)

  1. LegionGames - 3D Enemies With Pathfinding and Animations - Godot 4 FPS Tutorial
  2. LegionGames - Complete 3D Shooting Mechanics - Godot 4 FPS Tutorial
  3. LegionGames - Hitscan Guns, Weapon Switching and Crosshairs - 3D Godot 4 FPS Tutorial
  4. LegionGames - Fully Destructible 3D Environments - Godot 4 FPS Tutorial
  5. Coco Code - Godot UI QUICKSTART (Ex-Unity friendly guide)
  6. DevWom - How to Create a INVENTORY in Godot 4 (step by step)

Game Feel

  1. Game Maker's Toolkits - What Makes a Good Combat System?
  2. Extra Credits - Open World Design - How to Build Open World Games
  3. Razbuten - How Small Open-World Games Feel Big
  4. Game Maker's Toolkit - What Makes Good AI?
  5. Game Maker's Toolkit - How to Keep Players Engaged (Without Being Evil)
  6. Game Maker's Toolkit - Secrets of Game Feel and Juice
  7. Game Maker's Toolkit - The mistake every new game developer makes (Developing 2)