|
Post by johnno56 on May 13, 2020 6:33:09 GMT -6
I was just thinking about libraries for rcbasic. I know sdlbasic uses libraries, well kind of, they are just text files that contain stuff and saved. Using "include" to incorporate with the main program.
I used 'include' in my rcbasic game and got me thinking... I know... for me that's a strange concept... lol But it got me thinking, why not startup a library of functions / routines etc so that we can hopefully shorten out prototyping... Just a thought... Stuff like colour palettes; Setup for basic screens etc; Text alignment; Button creator and stuff like that....
A central repository of "includes"... so to speak.
Do you think it may be a worth while project? If so, what kind of stuff can you think of, that could be useful?
I suppose, this is where someone informs that, RC already has such a collection? lol
|
|
|
Post by n00b on May 13, 2020 11:53:53 GMT -6
I was just thinking about libraries for rcbasic. I know sdlbasic uses libraries, well kind of, they are just text files that contain stuff and saved. Using "include" to incorporate with the main program. I used 'include' in my rcbasic game and got me thinking... I know... for me that's a strange concept... lol But it got me thinking, why not startup a library of functions / routines etc so that we can hopefully shorten out prototyping... Just a thought... Stuff like colour palettes; Setup for basic screens etc; Text alignment; Button creator and stuff like that.... A central repository of "includes"... so to speak. Do you think it may be a worth while project? If so, what kind of stuff can you think of, that could be useful? I suppose, this is where someone informs that, RC already has such a collection? lol That is actually a great idea. And to answer your last question, no there is not a library like this currently. Here is some stuff I think would be useful: 1. A simple graphics library that will open a window and canvas and just let someone start drawing 2. A sorting function 3. Geometry/Trigonometry Formulas like distance between 2 points and rotation around a point (I already have these 2 so I can contribute those to start) 4. XML Parser (This would involve some research) 5. Functions for loading maps from Tiled (This would involve a lot of research) 6. Implementation of the dictionary object from python (a list of stored key and value pairs) 7. Screen Transition effects Some of these would actually be pretty complicated to implement but I think the first 3 would be a good start. The XML parser and Tiled map loader was something I was going to tackle a while ago but I never got around to it. I also don't think implementing the key/value pairs would be too difficult. If you want to tackle this, I think it could be a cool project. We could just have people contribute to it over time and hopefully get a decent size library eventually.
|
|