Jump to content

Ingame Computers running on the DCPU-16 specification


yamamushi

Recommended Posts

I haven't dug around to find the full details about the LUA support, however it would be awesome to be able to have computers in the game run off the DCPU-16 spec. 

 

https://en.wikipedia.org/wiki/0x10c#DCPU-16

 

https://raw.githubusercontent.com/gatesphere/demi-16/master/docs/dcpu-specs/dcpu-1-7.txt

 

This would open the game up to a vast amount of programming work that has been done by the community, and somewhat opens up a cross-game compatibility layer with other games in development using the DCPU-16 spec:

 

https://www.reddit.com/r/dcpu16/

 

 

Link to comment
Share on other sites

Sounds somewhat like Notch's abandoned 0x10C project.  Might be a cool idea, but I doubt it would work in game, due to performance issues.  Lua is optimal because it compiles into native bytecode for the game, making it highly efficient.  A run-time compiler or processor in game, might kill the performance.  If they could pull something like that off, though, I would love it also.

 

EDIT: Oh, your first link is to 0x10C.  Sorry for redundancy.  I don't click forum links generally.

Link to comment
Share on other sites

Sounds somewhat like Notch's abandoned 0x10C project.  Might be a cool idea, but I doubt it would work in game, due to performance issues.  Lua is optimal because it compiles into native bytecode for the game, making it highly efficient.  A run-time compiler or processor in game, might kill the performance.  If they could pull something like that off, though, I would love it also.

Well, it depends. Do they want to have it compile serverside or client side. As well, could the servers handle it. I mean, it's definitly not impossible, but the way of going about doing it might heavily the game's performance as you said.

 

Still not sure about it's practicality though.

Link to comment
Share on other sites

Indeed. It seems like it would have to be run on servers, now that I think about it.. Unless you ship goes to sleep when you exit the game, most DPU units would have to continue to operate. Think base defense that shuts down when you aren't in game... Yikes

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...