Forum

> > CS2D > Scripts > Has CS2D abilities over lua with another engines?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Has CS2D abilities over lua with another engines?

7 replies
To the start Previous 1 Next To the start

moved Has CS2D abilities over lua with another engines?

Mora
User Off Offline

Quote
I'm interested if there is any engine(s) that might allow me to make things that not possible with lua?
I mean physics, objects, parallax things, effects and other stuff.
Maybe there might be(legit) methods to make something that may change game look or excluding game mechanics of adding new ones(with engine or using that engine)?
Thanks

Admin/mod comment

moved to CS2D

old Re: Has CS2D abilities over lua with another engines?

Masea
Super User Off Offline

Quote
Do you mean a whole different workspace to work on games? Well, yes, that's what game engines are for. You can do a hell of things with them - anything that comes to your mind, actually. Lua is merely a scripting tool that is generally limited to what actual developers let you do with it on the game. With game engines, you may as well do everything from scratch almost without any limitations depending on the engine.

The first steps transitioning from CS2D modding to legit making real games might be a little overwhelming. It takes a little bit of used to but nothing to be scared of - hell, it might even be a better idea at the end of the day.

Unity (both 2D & 3D games) or Godot Engine (specifically 2D games) may be a good place to start.

old Re: Has CS2D abilities over lua with another engines?

Gaios
Reviewer Off Offline

Quote
Man, you're mistaking about Lua and Game Engines.

Lua is just a scripting/programming language that in CS2D allow you to interact with CS2D API for developers. user DC could implement any other language like TypeScript and so on...

So, using any other language in CS2D for scripting, won't give you any more posibilities with CS2D that is currently giving.

I'm using TypeScript in my projects and that's only a syntax difference.

old Re: Has CS2D abilities over lua with another engines?

DC
Admin Off Offline

Quote
Not sure if I get your question right but if I do the answer is: no.

The limitation isn't Lua. As already explained Lua is just a scripting language which could be replaced with any other scripting language in theory but that wouldn't change how much you can do with/in CS2D itself. It might give you additional capabilities OUTSIDE CS2D at best e.g. better IO methods for interacting with databases, HTTP(S) requests etc. IF the used scripting language provides neat methods for that stuff.

If you want to have new stuff IN CS2D e.g. fancy effects like you said then the actual limitation is CS2D itself and the CS2D Lua API. That API consists of the Lua commands and hooks I implemented to allow people to interact with CS2D. It can't be extended by replacing Lua with something else. The only reasonable way to add more features there is to extend the API which would have to be done by the developers of the game.

You could in theory use external programs which manipulate CS2D by changing stuff in the memory or binary directly but that's not allowed, very limited (especially if you want it to work online) and might make CS2D think that you're trying to use hacks/cheats.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview