Page 4 of 5

Re: Polywell: a text editor component

Posted: Mon Sep 19, 2016 9:50 pm
by D0NM
Yay! Nice project!
Don't forget to add UTF8 compatibility into the editor ))

Re: Polywell: a text editor component

Posted: Sun Sep 25, 2016 9:34 am
by Viomi
Recently a game called "hackmud" was released.
It's fun. But it has a lot of issues, including:
  • The in-game scripts that you can create are all in javascript. Ew! lua is better.
  • There is no in-game editor, you have to leave the game and... yeahh...
  • All the commands are ugly. see: scripts.get_level { name:"v.malware" }
  • Everything is done on one server, so it's been unplayable since release due to all the lag.
So I'm making a prototype game that's similar just for fun and to see if I'm up to the task of doing better on these issues (I've never made a game, you see). And I'm DEFINITELY using polywell.

So thanks for Polywell! I will be putting it to its' full potential, especially once the UI for screen splits is complete.

Re: Polywell: a text editor component

Posted: Sun Sep 25, 2016 1:25 pm
by technomancy
D0NM wrote:Yay! Nice project!
Don't forget to add UTF8 compatibility into the editor ))
I'm currently using it to edit files that contain Thai characters and non-ascii punctuation, so as far as I know it's already supported. Let me know if you run into UTF-8-related bugs though!

Re: Polywell: a text editor component

Posted: Sun Sep 25, 2016 1:27 pm
by technomancy
Viomi wrote:So I'm making a prototype game that's similar just for fun and to see if I'm up to the task of doing better on these issues (I've never made a game, you see). And I'm DEFINITELY using polywell.
Cool; sounds like fun! Hope you are able to make it work for you. I feel that the live reloading aspect can definitely help smooth along development. Let me know if you run into problems.

Re: Polywell: a text editor component

Posted: Mon Jan 02, 2017 1:28 pm
by SiENcE
So how can i start this on windows?

It's almost impossible to start it. Just doing love . doesn't work. Also the example doesn't work to start. There is always an issue loading the dependencies or font.

Re: Polywell: a text editor component

Posted: Mon Jan 02, 2017 4:57 pm
by technomancy
SiENcE wrote:So how can i start this on windows?
I've never tried it on Windows, but maybe if you included the actual message from the error in your description of the problem I could tell what went wrong.

Re: Polywell: a text editor component

Posted: Thu Jan 05, 2017 4:16 pm
by SiENcE
The message says:

Code: Select all

Error: main.lua:1: module 'polywell' not found:
        no field package.preload['polywell']
        no 'polywell' in LOVE game directories.
        no file 'polywell.dll' in LOVE paths.
        no file '.\polywell.lua'
        no file 'C:\Program Files\love-0.10.2-win64\lua\polywell.lua'
        no file 'C:\Program Files\love-0.10.2-win64\lua\polywell\init.lua'
        no file '.\polywell.dll'
        no file 'C:\Program Files\love-0.10.2-win64\polywell.dll'
        no file 'C:\Program Files\love-0.10.2-win64\loadall.dll'
stack traceback:
        [C]: in function 'require'
        main.lua:1: in main chunk
        [C]: in function 'require'
        [string "boot.lua"]:429: in function <[string "boot.lua"]:275>
        [C]: in function 'xpcall'
I the problem lays the file "polywell".

Re: Polywell: a text editor component

Posted: Thu Jan 05, 2017 4:57 pm
by technomancy
SiENcE wrote:I the problem lays the file "polywell".
Yeah, it looks like the symlink is being ignored. Try deleting it and replacing it with another full copy of the whole repository, or using some kind of windows-friendly equivalent of symlinks, if such a thing exists.

Re: Polywell: a text editor component

Posted: Thu Jan 05, 2017 7:21 pm
by SiENcE
Ugly ... but yeah windows has symlinks. Best would be not to use os dependent things in cross platform frameworks.

Tried.

Next problem... line 49: os.getenv("Home") is nil. Remoing it solves the problem and now it works :).

Also userhome is on every os on a different location -> https://www.love2d.org/wiki/love.filesystem . You should better use the löve api instead of os.xx

Re: Polywell: a text editor component

Posted: Wed Jan 11, 2017 2:18 am
by technomancy
Thanks; I've moved away from `os.getenv` for compatibility. I don't know how to fix the symlink issue since I don't have a Windows machine to test on, but if you have a suggestion I can try it.