HNHacker News
TopNewBestAskShowJobs

am-gm

79 karma · joined May 25, 2026

submissionscomments
am-gm··on Show HN: C# Game Engine with its own scripting language and IDE
Thanks! Exp is the prototype for something I'm not sure how it would look at the end. Originally, i thought of a standalone language that is not only for game dev, but generally for anything requiring scripting. But I'm pretty much open for ideas on how to shape its future
am-gm··on Show HN: C# Game Engine with its own scripting language and IDE
Also, if you want to use winforms for your painting app, you can have a look at the image editor of the IDE - https://github.com/ArcadeMakerSources/ArcadeMaker/blob/maste... It only has a few tools now, but i think it's a great base to start
am-gm··on Show HN: C# Game Engine with its own scripting language and IDE
Thanks
am-gm··on Show HN: C# Game Engine with its own scripting language and IDE
So I need to implement again the assembly manager in the IDE. which will allow you to add your own C# libraries (DLLs) and then the answer would be yes, but from within the engine's language, like this:

  C#:
  public void DoSomething(Exp.Instance? callingInst, Exp.IValue?[] args)
  {
     ...
  }

  Exp:
  doSomething("hello")
There is already a relection-based way to call C# functions from my language, i call it "extern classes":

  extern class File = "System.IO.File"
  println(File.readAllText(filePath))
it can also be used with non-static classes, and you can use new(...) expressions on them, and "is" tests and access properties and so on... it SHOULD feel like a normal Exp class. The only exception is that it does not fit to performance-critical contexts, because it uses the slow reflection APIs of C#. but it's already working, unlike the assembly manager feature that is not implemented yet but will allow fast invocations.
am-gm··on Show HN: C# Game Engine with its own scripting language and IDE
1. Not in the current state of the engine, but in the future - after implementing all the graphics functions that i plan to add - yes, absolutly.

2. Hmm no, first time i hear about it

am-gm··on Show HN: C# Game Engine with its own scripting language and IDE
This is really interesting. Thanks
am-gm··on Show HN: C# Game Engine with its own scripting language and IDE
Thanks. As you said, the IDE is built on winforms, so it's windows only. maybe it was a mistake to not to use a cross platform framework like avalonia, but i really like the winforms designer, and winforms is the only UI framework i ever used, except for MAUI which is not a good idea to build an IDE on.
am-gm··on Show HN: C# Game Engine with its own scripting language and IDE
I really don't want to use AI for my project. I love writting code by myself, and except for very few specific things, I didn't use it in this project. But for the language i actually didn't use ANY external sources, including google, tutorials, books. wanted to figure it out by myself. so maybe i'm kind of weird in this stuff
am-gm··on Show HN: C# Game Engine with its own scripting language and IDE
Thanks! so, at first i really used C# for scripting language, so it was like GameMaker-8 but C# instead of GML... but after almost year of development, i was bored. it wasn't exciting anymore, and when i asked myself what would make it exciting again, the answer was "my own language". i don't know why, but it's something i always wanted to build by myself. i had absolutly 0% idea on HOW, but after a break of more than a year, one day i just tried and unlike a few previous times, this time it started clicking, and this what bringed me back to the abandoned game engine
am-gm··on Show HN: C# Game Engine with its own scripting language and IDE
If I'll have an idea for such a "killer-feature", I'll do my best to implement it... :)
am-gm··on Show HN: C# Game Engine with its own scripting language and IDE
Wow, my post suddenly went viral! Just opened GitHub a few minutes ago, and saw +17 stars on my project from the last few hours... Anyway, i see a lot of people asking WHY making ky own engine or language. So the main answer is: for fun. it's clearly not going to be even close to a professional engine like godot/unity/modern gamemaker, but this is mine, and the others aren't :) But i wrote more about it here: https://www.reddit.com/r/csharp/comments/1tmcg6j/my_biggest_...
am-gm··on Show HN: Game Engine with its own IDE and scripting language
Thanks, i can't edit this anymore but for next time I'll remember that