Comments (17)
I think an edit
command is much better than my temporary code! The logic can keep clear.
from neko8.
We can add an button icon on top of editor like other sprite/music.. icons, click it will exit.
I will try to finish it, wait a few minutes...
from neko8.
Good job! I only finished to add the command edit.
from neko8.
It works very well on mac and iOS, but a strange thing ,on my mac and iPad, the exit icon can not see.
from neko8.
I am a newbie of pico-8, so I need to learn what is the slot 13, after get it clear, I will add the icon manually :)
Now I will study the whole code of neko-8 and try to port it to a Raspberry Pi + LCD, then we can get an entity neko-8!
from neko8.
I'm thinking for another solution - on screen controls. They will make you able to use arrows also. What do you think? Another option is to add edit
command.
from neko8.
Or another thing, I probably should do, is implement my own on screen keyboard. Yep, will do that.
from neko8.
The only thing is, you won't be able to exit 😆
from neko8.
Added that in the latest commit, be sure to pull again.
But again, this is tmp.
from neko8.
Hmm, try to replace it's position in editors/init.lua:94
and editors/init.lua:118
with manual values, for example x = 185, y = 121
.
I don't have any mobile devices, so I can't check it, sorry.
from neko8.
The close function is ok, only the icon can not display, so we need not change the cords of x and y, they are correct.
I think maybe the No. 13 icon is not exist, because when I change it to 12, then the right bottom corner will show an music icon.
from neko8.
Hm, did you change neko.n8? If so, override it with a new one.
Edit: just type folder and delete neko.n8.
from neko8.
Pull it get the message of :
Air:neko8 admin$ git pull
Already up-to-date.
Air:neko8 admin$
Then rm it and clone again, but still no icon...
from neko8.
Hm, then edit neko.n8 your self, and add icon at slot 13.
from neko8.
The thing with this is, that neko8 has two save dirs: project root dir and another dir hidden in app data (you can open it with folder
command). If you have a file in hidden dir, and in root dir, it will prefer hidden one. Saving saves all files to hidden dir. So if you had edited neko.n8 and it saved to hidden dir, changing one in the root folder wouldn't result in anything. That's weird, and i'm looking for a workaround.
from neko8.
I recommend you to have a look at this API manual: https://neko250.github.io/pico8-api/ Neko8 doesn't implement all calls just yet and it doesn't support memory at all. But you can look up all available API calls here: https://github.com/egordorichev/neko8/blob/master/main.lua#L1069
from neko8.
OK, thanks, I will go to read the docs.
from neko8.
Related Issues (11)
- bad argument #18 to 'send' (number or boolean expected, got nil) HOT 5
- Error when run on iOS, but is normal on Mac
- On iOS the terminal`s prompt(>) and red rect cursor disappeared, can not input anything HOT 15
- Multiple crlf HOT 2
- Formatting HOT 1
- use cmd new with a parameter(not lua or asm), crash
- Some non-important stuff. HOT 3
- Some potentially erroneous things in helpers.hpp HOT 5
- Implement a script language similar to Python/QBasic HOT 10
- Crash when run a demo, then press ESC back to terminal, then run cls HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neko8.