| Search |
|---|
| ID | Rating | Category | Description | Screenshot | Date |
|---|---|---|---|---|---|
| 3957 | 🙂 | Suggestion | Finally a game with integrated scripting! But I whish I had the following: - "private fields" that would work like current "parameters" (which kinda work like public fields, as we can change them from outside during execution), but would not be visible outside the script. Another way to say this is I want what's currently called "variables" to be listed at the top and renamable... not not exactly because of the next point. - "private methods", that would be declared in the same window (would look like another "start" but with parameters), which would help with debugging. But what I really want with this is the ability to access private/public fields in there. This change means "private fields" and "variables" are actually different things, as they wouldn't have the same scope. - Sub routines are nice, but functions would be way better: I want to be able to return a value. - Also, maybe being able to pass arguments by ref (instead of by val). - Being able to change the color of variables/fields would be nice too. Here is why I made these suggestions: - With the current sub-routines I can pass values, but only by val and not by ref, so I'm not able to change the values of fields/variables... unless I use the parameters of the sub-routine to return stuff too (I don't even know if that would work, I didn't try), but I would still need to add copy instructions after the call, which kinda defeats the purpose of making a function: to factorize stuff. - With labels, I can make separate sections in which I can still access fields/variables but I can't go back to wherever I called the thing, cause it was not a call, but a jump. Unless I can jump to a place defined by a variable maybe... but again, that means I need to add copy instructions, before the call, or rather the jump. So it would still be ugly. I don't know if you can see my Steam account but if you do and you wanna talk, don't hesitate to contact me. | 2024-02-11 04:29:56 |
| ID | Reply | Author | Date |
|---|