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.


Topics - cyanophycean314

Pages: [1] 2
1
TI-Nspire / Drifter Project
« on: April 23, 2013, 02:28:18 pm »
I've been developing this program in my free time in AP Comp Sci. It's a port of Drifter by ztrumpet. This version will hopefully feature everything from the 84 program and variable level size. I've attached an early version of the program.

In this you game you have to collect all the points before you reach the finishing flag. You will continue to slide in one direction until you hit a wall.

Level Editing
Enter - Switch between putting walls down and moving the cursor.
Arrows - Place walls on the four sides of your cell or move your cursor
Tab - Switch between the current items. There's B-Begin, flag-finish, +-point, X-death, R-rock (brake, stops all motion)

Any other character - Switch between editing/testing mode.

Enjoy

2
Lua / Luna on Linux
« on: April 13, 2013, 02:29:12 pm »
Hey guys, it's been a long time I've been here. I have been making a few projects here and there, but nothing much. I'm trying to get a development environment on my new Linux Mint distro. I got karmTI running, but right now my biggest obstacle is getting luna to run. Any suggestions?

Thanks

3
TI-Nspire / [Contest] The Squares Do Not Die
« on: July 07, 2012, 08:42:07 pm »
Yay for a last minute procrastination entry into the contest! I worked on this concept when the contest was announced, nailing down the basics of the game, but most of the work I did today!  :D The main purpose for this entry is that I have completed the goal of entering a contest even if I don't win. Hopefully participation will give me motivation in later times.

More modifications/improvement of the game will be implemented after the contest. This is probably the best of the three (unreleased) shooting games I have made.  :)

Oh yeah, if I need to mention it, the AI is the enemies.  :P

P.S. The title is based of a Wii homebrew game "They Do Not Die." My brother and I came up with it.  :)

4
TI-Nspire / Scramble/Boggle Lua
« on: June 30, 2012, 02:53:49 pm »
Because I recently got Scramble with Friends for my Android tablet, I took it upon myself to make this game. Right now, the screenshot shows most of what it can do. I may enter this for the contest if I can code an AI to be your "friend." You'll have the option to watch him play.

Right now the biggest problem is the dictionary. I've googled online for a dictionary and it was 170,000+ words. I tried to put that into my Lua file, but it said there was not enough memory  :P. So the dictionary right now is all the words I can think of.

I still need to add a solver to find all possible words, change the scoring scheme to be more like Scramble (without double/triple), add some results page, randomly generated puzzles, and get the dictionary working.

Hope you guys enjoy.

5
Other Calculators / Hangman Lua
« on: May 23, 2012, 11:26:37 pm »
Hangman Lua



/index.php?action=downloads;sa=view;down=794

It's Hangman for the Nspire. Written in Lua, it currently works only on OS > 3.0 There are over 200 words and a 2 player mode.


6
TI-Nspire / Jumper [subject to change]
« on: May 17, 2012, 09:40:31 pm »
Well, Lua development certainly has slowed down a bit. Anyways, I now introduce my latest project, Runner Jumper! It's kinda based off Canabalt. You run across the rooftops and go as far as possible. Although you don't see in the screenie, it gets faster as you go on.

Hiscore actually works with this program. I have been programming on-calc, so the program is being run on nspire_emu with oclua.

I'm probably going to add a better, moving sprite. Dimensions are 10*15 if you're interested.

Screenie is attached and suggestions are welcome!  :)

Edit: I just noticed how choppy the screenshot was. It's not actually that bad in the game :P

7
Lua / Transferring Lua Projects from Calc to Computer [Solved]
« on: May 14, 2012, 09:31:03 pm »
I've kinda asked about this before, but I never really found an easy way that works right now (notepad is in the future  :().

So what would be the easiest way to transfer a Lua project started on the Nspire to the computer?

P.S. I have TiLP and nspire_emu, no Student Software.

Edit: Solved! :D
Spoiler For "My (long) method":
Current method to put Lua file from Calc to Comp.
1. Install ndless.
2. Use TNS2XML by excale to turn TI-Notepad document into two .xml files. http://tiplanet.org/forum/viewtopic.php?t=9295&p=124483
3. Send the problem.xml to your computer.
4. Use http://bwns.be/jim/xml2lua.html to delete extra stuff.
5. Add newlines and check for correct code
6. Done! 

8
Other Calculators / Calculator Total Wipeout
« on: May 08, 2012, 05:10:03 pm »
Well. This is most unfortunate. Today I turned on my Nspire and it decided to reboot. It has done this a few times since I installed ndless, but I thought nothing too much about it. Today it turned out to be different. It got about halfway through when it said it needed to install a new OS. I have no idea where the OS went, but I sent a copy of OS 3.1.0.392 to my calculator through my newly configured TiLP. Then I check the documents, and everything's gone!  :o

I lost
 *A Pokemon save with 43 hours of play time, I beat the Elite four on the calculator  :'(
 *Completed games of Super Mario Bros DX, Super Mario Land, and Super Mario Land 2
 *The game
 *Save files for Donkey Kong, Legend of Zelda, and Mario's Picross which I had gotten very far along
 *Lots of mini projects in Nspire Lua
 *Bunch of crap I forgot about.

Any ideas about why this happened or if I could recover anything?

9
General Calculator Help / TiLP Linux issues
« on: May 07, 2012, 08:13:47 pm »
I've been trying to get TiLP to work on Ubuntu recently. It works fine with my TI 84+, but it doesn't with my Nspire.

In the following terminal output, I have my Nspire plugged in and turned on. TiLP has already detected my Nspire with DirectLink in Port #1. Now I'm just refreshing the dirlist and it doesn't work.  D:

Code: [Select]
TiLP2 - Version 1.13, (C) 1999-2008 Romain Lievin
THIS PROGRAM COMES WITH ABSOLUTELY NO WARRANTY
PLEASE READ THE DOCUMENTATION FOR DETAILS
built on Apr 26 2010 05:38:16
tilp-INFO: setlocale: en_US.UTF-8
tilp-INFO: bindtextdomain: /usr/share/locale/
tilp-INFO: textdomain: tilp2
ticables-INFO: ticables library version 1.3.0
ticables-INFO: setlocale: en_US.UTF-8
ticables-INFO: bindtextdomain: /usr/share/locale
ticables-INFO: textdomain: libticables2
ticables-INFO: kernel: 2.6.38-14-generic
tifiles-INFO: tifiles library version 1.1.2
tifiles-INFO: setlocale: en_US.UTF-8
tifiles-INFO: bindtextdomain: /usr/share/locale
tifiles-INFO: textdomain: libtifiles2
ticalcs-INFO: ticalcs library version 1.1.3
ticalcs-INFO: setlocale: en_US.UTF-8
ticalcs-INFO: bindtextdomain: /usr/share/locale
ticalcs-INFO: textdomain: libticalcs2
ticables-INFO: Check for lib-usb support:
ticables-INFO:     usb support: available.
ticables-INFO: Check for lib-usb usability:
ticables-INFO:     usb filesystem (/dev/bus/usb/): mounted
tilp-INFO: Searching for link cables...
ticables-INFO: Link cable probing:
ticables-INFO:  found TI-Nspire(tm) Handheld on #1, version <1.05>
tilp-INFO: Searching for hand-helds on DirectLink...
ticables-INFO: Check for lib-usb support:
ticables-INFO:     usb support: available.
ticables-INFO: Check for lib-usb usability:
ticables-INFO:     usb filesystem (/dev/bus/usb/): mounted
ticables-INFO:  found TI-Nspire(tm) Handheld on #1, version <1.05>
ticables-INFO:  found TI-Nspire(tm) Handheld on #1, version <1.05>
ticables-INFO: Check for lib-usb support:
ticables-INFO:     usb support: available.
ticables-INFO: Check for lib-usb usability:
ticables-INFO:     usb filesystem (/dev/bus/usb/): mounted
ticables-INFO:  found TI-Nspire(tm) Handheld on #1, version <1.05>
ticables-INFO: Check for lib-usb support:
ticables-INFO:     usb support: available.
ticables-INFO: Check for lib-usb usability:
ticables-INFO:     usb filesystem (/dev/bus/usb/): mounted
ticables-INFO:  found TI-Nspire(tm) Handheld on #1, version <1.05>
ticalcs-INFO: Checking hand-held status:

(tilp:5318): ticables-WARNING **: usb_clear_halt (could not clear/halt ep 2: No such file or directory).

ticables-INFO:  found TI-Nspire(tm) Handheld on #1, version <1.05>
ticalcs-INFO:   device address request:
ticalcs-INFO:    0000:4003->0000:4003 AK=00 SQ=01 HC=d5 DC=ec0f (2 bytes)
ticalcs-INFO:     0F EC
ticalcs-INFO:   assigning address 6401:
ticalcs-INFO:    6400:4003->6401:4003 AK=00 SQ=01 HC=00 DC=1343 (4 bytes)
ticalcs-INFO:     64 01 FF 00

(tilp:5318): ticables-WARNING **: usb_bulk_write (error submitting URB: No such file or directory).

Any ideas? Thanks.

10
Lua / Help with on.help
« on: April 29, 2012, 07:08:08 pm »
It seems like the on.help() event doesn't work.

Code: [Select]
function on.paint(gc)
 if helps then
  gc:drawString("Help",50,50)
 end
end

function on.help()
 helps = true
 platform.window:invalidate()
end

Nothing happens when you press Ctrl+H, I've tested this both on-calc and with nspire_emu. Any ideas?

11
TI-Nspire / Misc Nspire Lua Projects
« on: February 27, 2012, 09:02:00 pm »
While working on Rush Hour, I have developed a variety of miscellaneous/semi-useful games and utilities in Lua for the Nspire. Here you go:

Flashlight

Designed mainly for those with a CX (I don't believe touchpads or clickpads have backlights), this flashlight features a blank LCD! But can also transform into different colors and contains a strobe function! Try holding random color while doing strobe. IT'S CRAZY! I don't know if this would damage your screen. :P

Controls-
 0-9 - Choose color
 Tab - Random Color
 Enter - Toggle Strobe
 
Mempi
 
This is based off of the 84 application that allows you to memorize digits of pi on the go. Contains 1000 digits of pi for your memorizing pleasure. However, as a bonus three other irrational numbers were included with 1000 digits, being e, root2, and phi.

Controls-
 0-9 - Input numbers
 Enter - Restart
 Tab - Switch irrational number

Strategy Steps

Taken from a minigame on Wii Party, it has to be the cream of the crop of minigames. Although less fun in singleplayer, you choose either 1,3, or 5 to go the amount of steps. The catch is that if someone else chooses that same number, neither of you can go. First to reach the end wins!

Controls-
 1,3,5 - Choose how many steps
 Enter - Hide/Reveal Signs
 Tab - Restart
 
Source is included.
Sorry, no screenies. Student Software decided to screw me this time.

Suggestions welcome!
Hope you enjoy these three somewhat useful/fun programs!

12
TI-Nspire / Rush Hour
« on: January 12, 2012, 07:52:28 pm »
Well, as a more long term project and for the Board Game Member Guild  :P, I think I'm going to work on Rush hour, based on the board game by ThinkFun.

For wikipedia entry, http://en.wikipedia.org/wiki/Rush_Hour_%28board_game%29.

Right now I have a problem with tables. The levels are stored as tables with the positions of the cars and stuff. Basically, is there any equivalence of the python statement table2 = table1[:]? Basically, that copies the entire table1 to table2, but they no longer have the same reference. Is there any Lua idiom for that?

Oh, and I need some more levels. I plan on having at least 50 levels, so any level contributions are welcome! I could also port the 40 original levels, but I don't own the original version.

And a primitive screenie
Spoiler For Spoiler:

Edit: Oh yeah, the colors work fine enough on grayscale, I'll probably change to sprites later on.

EDIT: Final version is out! Find it here.
Updated Screenie

13
TI-Nspire / [Lua] Base Converter
« on: January 11, 2012, 05:29:47 pm »
I wrote a base converter in Lua. I realize that there is already some basic support for base conversion and a basic program. This allows you to type in letters and convert to bases other than 2, 10, and 16. I might add fractions, but I don't really know how to do that.

Controls:
Type in letters/numbers
Enter to go to next value
Tab to reset
Backspace to backspace...

14
Lua / Checkers Lua
« on: January 02, 2012, 05:13:41 pm »
So I've been working on this version of Checkers. It's based off a previous project from Python a while back. As of now, only two-player is supported, but AI will come later.

I tried taking an animated screenshot using Nick's method, but it ended up giving me a 350 MB gif.  :P

Screenshot:


Edit:
Moving screenshots has now been created! With 79KB!

15
Lua / Hangman for Lua
« on: December 23, 2011, 01:32:09 pm »
I have recently created a Hangman program with Lua for the Nspire. This is my second Lua Project, the first has yet to be released. Right now, I have over 100 words in the dictionary with categories. I plan to add two-player and possibly better sprites for the hangman.

I would share a screenshot on here or a download, but how do you do that?  ???
Additionally, how do you do an animated screenshot?

Thanks in advance!

Pages: [1] 2