Coded a coding game

It was an incredibly boring day, so I had the idea to program a programming language in Roblox studio.
Here’s a snippet:


And here’s the place if anyone wants to try it out (Most objects aren’t implemented in the game yet):

Controls:

  • Opening & Exiting the spawning menu: Q
  • Opening the program ui: Hover the cursor over the desired object and press E
  • Exiting the program ui: E
  • To string nodes together: Click on the first node’s front connector and click on a second node’s back connector
  • To unstring nodes: Click on the string
  • Creating connections: Hover the cursor over the desired object and press R, repeat with another object
  • Creating ropes (buggy): Hover cursor over the desired object and press T, repeat with another object

FYI for coding:

  • The program will compile once you string nodes together, meaning that if you’ve already entered a value (ex: velocity) and connected the Velocity node, when you enter a new value for the Velocity node, the object you’re coding won’t convert to the new value unless you reconnect the Velocity node.

  • When stringing nodes, the order of connecting matters!
    The order of nodes should be (Statement > Event > Action)
    The first node you clicked to be chosen is the “before” and the second node is the “after”. Ex: Clicking a Velocity node and then clicking on an event node (ex: Touched) would mean that Velocity comes first then Touched comes second, which doesn’t make sense, the chronological order would look like: (Statement > Action > Event).
    To correct this, click on the Touched node first, then click on the Velocity node second, which would mean that when Touched, the object’s velocity = x,y,z.

  • Logic gates & User Input currently don’t work… it looks simple to implement but no.

It’s a little buggy, any feedback would be great. :slight_smile:

Edit: I forgot that I’ve privated the game, it’s now public.

22 Likes

This is an extremely cool game, especially for people who have just started the intense journey of programming. It also works a bit like Minecraft but a lot more advanced, which is epic.

Great work on the game! Expanding on this, with a tutorial and everything will surely help young programmers get started!

3 Likes

Much like EventCode plugins, this works similar to Cube 2 Sauerbraten and that plugin i mentioned earlier honestly i love the way it works and having to play around using phones would be fun.

1 Like

Amazing, the GUI could use work but its rlly good, all in all i dont know what to say 10/10

1 Like

Some suggestions for the GUI:

  • A zoom option should be implemented.
    • In addition, an option to collapse large blocks like the color block would be helpful to reduce space.
  • Option to automatically connect blocks.
1 Like

I had never heard of EventCode Plugins before, but it is impressive upon searching! Works much like Scratch.

organization features should be added for the people that want to add bad apple to this game

collapsable folders would do well enough I think

I don’t see anything wrong with the GUI. Could you explain?

When I saw the title of the post, I was a bit confused. But then Instantly after watching the video. I was amazed. Idk how someone can make a game this good. Honestly awesome. The only thing that I didn’t like that much. Is when connecting the scripts the buttons are so small for connecting. Other than that it’s such a good idea.

1 Like

the style, nothing else, it works fine although the style is basic

Hey just wondering how’d you make the interactive screen in the programm widget? Would be useful to my logic game

This is clearly an opinion. If it’s not affecting the UX, or the playability of the game… Don’t recommend it.

And who are you to tell me what i can and cant say?

I’m not. It’s what you SHOULD and SHOULDN’T say. You should think before you say things. Personally, I think that there is absolutely nothing wrong with the style. Maybe I’m just stupid and there is. That’s just my opinion. I don’t want to just throw the o word around, but if it’s an isolated thought, there really is no reason to say it. How long would it take you to find another person that thinks the style is “Basic”?

The point is, I’m not telling you what to say, I’m just saying, it’s a personal, unique opinion. He MOST LIKELY won’t change the UI based off of it. Maybe I’m wrong.

1 Like