Yup! Super simple.
https://github.com/pauljessup/simpleWindows
When combined with
https://github.com/sysl-dev/SYSL-Text
it could make for a very powerful text box style system. This is the first in a series of tools I built for my own game engine I'm going to start releasing to the community, open source. Note- any suggestions for improvements is fine. In the future I plan on releasing more and more of these little stand alone utilities that can be used by themselves of in conjunction with other libraries and modules. And then, eventually, I plan on making a little website that compiles these (and some others other people have made) into a tutorial for making RPG's in Love. The system I'm going to call the Lovely RPG Toolkit.
I think this is more realistic than just trying to create OMG AN RPGMAKER. And probably more useful to the community.
SimpleWindows - an extremely simple SNES/PSX/SMS style window system
-
- Party member
- Posts: 355
- Joined: Wed Jul 03, 2013 4:06 am
Re: SimpleWindows - an extremely simple SNES/PSX/SMS style window system
Awesome! I get excited every time you post something. ![Very Happy :D](./images/smilies/ms-glad.png)
Looking forward to more stuff from you!
Quick thought - I took a brief peek at simpleWindows.lua, and the state definitions caught my line (currently lines 47-50). Wouldn't it be simpler and perhaps slightly faster to rework
to
etc? I believe this forces the desired bool return without the need for an IF structure. I don't have time to tinker/test right now, but it may help simplify things a little more.
![Very Happy :D](./images/smilies/ms-glad.png)
Looking forward to more stuff from you!
Quick thought - I took a brief peek at simpleWindows.lua, and the state definitions caught my line (currently lines 47-50). Wouldn't it be simpler and perhaps slightly faster to rework
Code: Select all
isOpen=function(self) if self.state=="open" then return true else return false end end,
Code: Select all
isOpen=function(self) return self.state=="open" end,
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
-
- Party member
- Posts: 355
- Joined: Wed Jul 03, 2013 4:06 am
Re: SimpleWindows - an extremely simple SNES/PSX/SMS style window system
Feel free to change it and I'll accept the commits!
-
- Party member
- Posts: 355
- Joined: Wed Jul 03, 2013 4:06 am
Re: SimpleWindows - an extremely simple SNES/PSX/SMS style window system
I'm making the change myself now, so no worries. Thanks for the suggestion!
Who is online
Users browsing this forum: No registered users and 49 guests