Belief
RPG is one of the greatest discoveries in Human history.
Interest
GraphicSet
I prepared 8x8, 16x16 and 32x32 graphic sets.
ShigerelloTheLostSoul/GraphicSet
RogueGraphicManager
(alpha version; last update: 2008/3/11)
I've developed a graphic set manager for ToME. Take a look
Download
You need JRE to run this program.
Distribution files for RogueGraphicManager
NetBeans (6.0.1) project file for RogueGraphicManager
- Projects converted from 8, 16 and 32 tile set
Task
- Provide some templates.
- Change Symbol-to-Tile relation to surjective from bijective.
- Provide a basic tile palette.
- Ask user whether user save or discard the changes made over a project when user attempts to close or quit the program without save.
- Add resembling menu items to the preview window.
- Display the number of search hit when search mode is turned on.
- Absolute-like layout for preview. Current layout shifts tile position while loading. It looks messy.
- Append row number column.
- Enable multiple selection and multiple entry deletion (bring up a dialog asking is it really okay to do that)
- If the table has selection, highlight the corresponding tiles in preview.
- Clicking a tile in preview selects the correspoinding row in table.
- Implement a method to change project properties (project name, etc.)
- Set appropriate column size.
- Implement a method to change table's Tile image displaying size.
- When a user starts with "New...", the program requests the user to choose width and height of the graphic set.
Add extension filter to FileChooser to pick only "bmp", "gif", "jpg" extensions.
- Highlight text in Symbol if it matches search query.
- Double-clicking graphic brings up canvas frame.
- A canvas frame where user edits graphic.
- Before quit or closing, remember the location and size of frames. Next time these information is used. NOTE: It is possible the project is opened in a different displaying environment from last time. So that it's better to keep relative information (like a percentage value) for location and size.
This list is also available in NetBeans project file for RogueGraphicManager.
Chatter
ShigerelloTheLostSoul: If you find a bug, let me know
Irregular Semidemidiary
Last update: 2008/3/9
I found out something very crucial about "luashell". The existence of method "dostring" (or you developer guys already knew that?). Why I didn't notice it much earlier...? Via "dostring", any Lua code can be passed and executed (of course, you must input it with correct syntax). It is understandable that ToME has this kind of function because ToME has included C++ wrapper for Lua (see t-engine/src/lua in CVS repository).
In shell.lua, it says,
"I already know it doesn't support the [[ ]] and -- constructions."
If it means that "luashell" can not process short comment, long comment and long string, it's wrong. Because with "dostring", you can easily pass these things to Lua core in ToME.
Try this in script input of Debug Mode:
long string
- dostring("print([[Wow\nCan You See Me?]])")
short comment
- dostring("print(!+2+3);--wow;\nprint(1+2)")
long comment
- dostring("print(1+2+3);--[[wow\ncan you see me?]]print(1+2)")
These are properly processed. Come to think about "dostring", I cannot stop thinking some functionalities in "luashell" are redundant. At least, some Lua code dealing with grammar and grammar optimization can be omitted, I can say. And I strongly feel grammar about Lua's "field" is wrong. But I'm not sure this is intended or not. If it is intended, I should not change that, otherwise I can change it to follow Lus's "field" syntax.
ToME Wiki