Better HN
topnewbestaskshowjobs
Log inSign up

am-gm

79 karma · joined May 25, 2026 (6mo ago) · 20 submissions

Submissions

1.

Show HN: C# Game Engine with its own scripting language and IDE(github.com ↗)

12 points · by am-gm · 2mo ago · discuss

comment 3mo ago · link · parent

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

comment 3mo ago · link · parent

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

comment 3mo ago · link · parent

Thanks

comment 3mo ago · link · parent

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.

comment 3mo ago · link · parent

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

comment 3mo ago · link · parent

This is really interesting. Thanks

comment 3mo ago · link · parent

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.

comment 3mo ago · link · parent

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

comment 3mo ago · link · parent

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

comment 3mo ago · link · parent

If I'll have an idea for such a "killer-feature", I'll do my best to implement it... :)

comment 3mo ago · link · parent

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_...

13.

Show HN: C# Game Engine with its own scripting language and IDE(github.com ↗)

118 points · by am-gm · 3mo ago · 64 comments

comment 3mo ago · link · parent

Thanks, i can't edit this anymore but for next time I'll remember that

15.

Show HN: Game Engine with its own IDE and scripting language

3 points · by am-gm · 3mo ago · 2 comments

16.

Show HN: My biggest solo-project: Game engine with its own programming language(github.com ↗)

5 points · by am-gm · 6mo ago · discuss