Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jens_K

Pages: 1 ... 10 11 [12] 13
166
TI-Nspire / Re: Jens' Skript Editor - a on-calc lua editor
« on: July 12, 2013, 05:53:15 pm »
UPDATE!
Version 0.1.1 now attached on the first post

New features:
- math button input get converted to lua code (like the root or the pi button)
- better visuals on greyscale displays
- support for clickpad layout (switch in the menu) explanation in the "Controls" spoiler of the first post
- settings will be saved now

@lkj: Thanks for the link! I'll test now what I just updated on the emulator :P

167
TI-Nspire / Re: Minecraft 2D for TI-Nspire
« on: July 12, 2013, 10:17:51 am »
Ok, the updated file is now attached on the first post! But as i said there are only bugfixes and new items yet (and some other improvements)

PS: Apparently userbars.removedfromgame.com broke down?!

168
TI-Nspire / Re: Jens' Skript Editor - a on-calc lua editor
« on: July 12, 2013, 09:51:01 am »
@Jonius7: nspire
1.) Thanks for your the hint for the emulator, but I don't get it to work: everytime I try to start "nspire_emu.exe" a black window flashes once and nothing else happenes :/
2.) I haven't made an update yet, because I don't get the emulator to work :/ But those button rebinds are already in the current version.
3.) BIG thanks for that reference to nSpaint!!! :D Now I don't have to do that; Chockosta wrote ~2200 lines of code for that! I'll ask him for permission for integration or I'll just put a note somewhere...

169
TI-Nspire / Re: Jens' Skript Editor - a on-calc lua editor
« on: July 11, 2013, 07:50:01 am »
@Jonius7:
1.) No, I didn't know that... LuaCS looks better than mine, but there's no actual error handling and oclua keeps crashing as it has always done. Also you only can save 1 program. Also characters like [] and {} and : are as tedious to type as they were in the "Notes" App.
2.) The image is edited; there aren't really "[]" and "{}" Buttons, I redefined following buttons: "e^x"==>"["; "10^x"==>"]"; "ln("==>"{"; "log("==>"}"; "(-)"==>":"
It's very handy like this on the touchpad layout. I'll implement a feature to swap the layout, maybe the "cos" and "tan" buttons for "[" and "]" and the "^-1" versions for "{" and "}"? Unfortunately I don't know anyone with a clickpad nspire to try it out :/



170
TI-Nspire / Re: Minecraft 2D for TI-Nspire
« on: July 10, 2013, 05:16:30 pm »
Hi,
sorry, that there was no update lately... I've been busy with my latest project, a on-calc skript editor: http://ourl.ca/19194
I'll upload a smaller update with bugfixes, improvements'n'stuff soon.
Stay tuned!

171
TI-Nspire / Jens' Script Editor - An on-calc lua editor
« on: July 10, 2013, 05:12:27 pm »
Hi,
Inspired by "oclua" I started to make an own on-calc lua editor and finished the first version of it in summer 2013. It had many flaws and lacked some important features, so I decided to make a second, vastly improved version of it:

Features:
- Fully functioning code editor on page 1.1
  - Monospaced characters
  - Syntax highlighting (customizable)
  - Autocompletion menu: basic lua functions, nspire api function, global script variables, custom items
  - Undo/redo actions
  - Select code to copy, cut, paste, etc.
  - Find function
  - Save & load infinite amount of scripts with length each up to 1.7 million characters
  - Hotkeys for special characters
  - Full support for UTF8-encoded unicode characters
  - Import code from librarys and saved scripts
  - Autosave function
  - Customizable color-set
  - Customizable font

- Entirely crash protected live testing on page 1.2
  - Nearly no restrictions
  - Full support of event handlers using "on"s metatable
  - Resets global environment after each build
  - Pause/Unpause scripts
  - Full module (physics & colors) support
  - Calls all initialization event handlers
  - Full support of 2DEditors

- Console
  - Logs "print" outputs, errors and status logs of the editor
  - Can be deleted, copy&pasted and resized with Nspires layout options
  - Commands can be entered to execute them during live-testing a script

- Shortened portable version of the Nspire api reference guide on page 2.1
- Shortened portable version of the lua reference manual & chipmunk physics api guide on page 2.2

- Compatible to:
  - OS 3.1 and OS>3.1
  - Greyscale models
  - Clickpad models
  - Desktop
  - iPad



Current Version: 2.2.1
Current Size: 73KB

The attached zip file contains the editor files for OS 3.1 and OS>3.1, controls pictures of both Nspire layouts and a readme.txt

Bug reports are welcome!  :) 

Spoiler For old post:
Hi,
I recently found oclua.tns and I liked the idea of an on-calc skript editor but I didn't like to write code in the "Notes" app. Therefore I started to make a fully functioning on-calc skript editor based on the idea of how oclua works. I also managed to prevent crashes of the editor because of a crash in the written code! I've been working on it several weeks now and I think it's time to show you the progress:

Main features:
- fully functioning code editor
- run your code without any limitations
- stop it
- it wont crash (except for infinite loops)
- Syntax is colored
- Save infinite amount of skripts
- Select code to copy, cut, etc.
- undo/redo actions
- Import code from librarys
- shortened portable version of the nspire api reference guide on page 1.2
- Most math buttons get converted to valid lua code
- compatible to:
  - OS 3.x
  - Greyscale models
  - Clickpad models
  - Desktop
  - iPad

Planned Features:
- Undo/redo actions  Done in 0.4
- Select/Mark code to copy/paste etc.  Done in 0.3
- Make things safer to use, like "File"==>"New"  Done in 0.2
- mark operators'n'stuff correctly  Done in 0.2
- help and instructions  Done in 0.2
- support for the clickpad layout  Done in 0.1.1
- better visuals for greyscale displays  Done in 0.1.1

Eventually future features:
- shortened portable version of the nspire api reference guide  Done in 0.4.2
- paint a picture, convert it and put it into your code on-calc  Use nSpaint!

Controls:
Spoiler For Controls:
nspire touchpad:


nspire clickpad:


Screenshots:
Spoiler For Screenshots:



API Reference Guide:


By now the file is 28KB in size and it has about 1400 lines of code (without the API Reference Guide).

Current version: 1.0.2

Sorry for language errors :P

Download it here: http://www.ticalc.org/archives/files/fileinfo/454/45484.html

172
TI-Nspire / Re: Minecraft 2D for TI-Nspire
« on: June 18, 2013, 08:26:42 am »
@annoyingcalc and @DJ Omnimaga: Thanks, right now I'm fixing bugs (there was a severe bug in the save function) and I'm making good progress with the Import/Export functions :D Maybe I can finish and upload it before a 1 week trip to hamburg next week...
@Keoni29: I'll make a video when it's finished, maybe someone else makes a video by then.

173
TI-Nspire / Re: Minecraft 2D for TI-Nspire
« on: June 14, 2013, 10:39:44 am »
@adriweb: I started programming ~3 years ago and this is one of my first LUA projects ever, it's probably the biggest project I started yet. I still have much to learn so thank you for the links. As I said I'll clean up the code someday and I'll take your tipp into account! 

174
TI-Nspire / Re: Minecraft 2D for TI-Nspire
« on: June 14, 2013, 01:15:27 am »
The only difference is at the itembar: Use Textures for the slots or dark grey rectangles and enables/disables shadows of the item numbers.

175
TI-Nspire / Re: Minecraft 2D for TI-Nspire
« on: June 13, 2013, 07:54:18 am »
@Augs: Whoops, forgot that... Of course you'll start with nothing, those items were only for debugging! Sorry for that! ::)
@AlexisVieira: Well thats a shame, have you tried switching the graphics mode with [V]? What device do you use? On my CX with OS 3.2 there's nearly no delay on processing of a keystroke.

176
TI-Nspire / Re: Minecraft 2D for TI-Nspire
« on: June 12, 2013, 03:22:57 pm »
Thy are in the minecraft.jar . You can open the minecraft.jar with WinRAR and copy them out.

177
TI-Nspire / Re: Minecraft 2D for TI-Nspire
« on: June 12, 2013, 01:45:39 pm »
Ok, link on first post! :D As I said, there will be several bugs, report them here or send a email to [email protected]

178
TI-Nspire / Re: Minecraft 2D for TI-Nspire
« on: June 12, 2013, 01:09:00 pm »
 :hyper: :hyper: :hyper: :hyper: WOOOOOHOOOOOOO!!!!!!!! :hyper: :hyper: :hyper: :hyper:
I'M FINISHED!!! Everything works fine now! I am sure there are several bugs but idc, i just want to upload it NOW! But where can I upload it? Does ticalc.org accept frequent updates?

179
TI-Nspire / Re: Minecraft 2D for TI-Nspire
« on: June 12, 2013, 11:25:38 am »
Thank you all for your encouragement, that really supports me and makes me confident to complete this huge project! :D
I'm making great progress with the saving system and I'm sure, I can upload the current version soon.
I like the idea of a non CX version, but I don't think both have to be in 1 file to change them while playing... maybe 2 files with diffenrent tile set?
@DJ Omnimaga: Sure, I think I'll do it like in the Alpha versions of Minecraft: you can choose different world sizes. How many Blocks do you think a Nspire could keep in the RAM if every block is saved as a Integer between 0 and 300 in a 2 dimensional table? Don't worry about the performance, by now, only the visible blocks get updated (except furnaces).

180
TI-Nspire / Re: Minecraft 2D for TI-Nspire
« on: June 09, 2013, 03:52:34 pm »
@adriweb:
1) Yes, I think the problem is at enable/disable elements on-the-fly, I use that function to sort out items, that needs a crafting table.
2) I'm using this tool: http://hoffa.zzl.org/index.php and it looks like this compresses the images as much as possible
3) Without any saves the .tns is 29KB. Every save takes about 1-2KB. Btw every world is 200x100 Blocks large (but the code supports larger).

@ben_g:
Yes I used the original textures and for the other questions just look at the first post :P

Pages: 1 ... 10 11 [12] 13