Join us on Discord!
You can help CodeWalrus stay online by donating here.
Menu

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.

Show posts Menu

Messages - Strontium

#226
As in, what exploits does it use, and how it allows native programs to run.

Also, does a persistent version of Ndless for OS 3.9 ever have a chance to exist?
#227
I've been messing around with Lua on my TI Nspire, and made a thing that allows you to move a square around and draw a line when you press 6. The code, so far, is as follows:
player_pos = {100, 100}
atacking = false

function attackLeft()
    if attacking == false then
        attacking = true
    else
        attacking = false
    end
end

function on.arrowUp()
    player_pos[1] = player_pos[1] - 1
end

function on.arrowDown()
    player_pos[1] = player_pos[1] + 1
end

function on.arrowLeft()
    player_pos[2] = player_pos[2] - 1
end

function on.arrowRight()
    player_pos[2] = player_pos[2] + 1
end

function on.charIn(char)
    if char == "6" then
        attackLeft()
    end
end

function on.timer()
    platform.window:invalidate()
end

timer.start(0.1)

function on.paint(gc)
    gc:drawRect(player_pos[2], player_pos[1], 20, 20)
    if attacking == true then
        gc:drawLine(player_pos[2] + 20, player_pos[1] + 10, player_pos[2] + 75, player_pos[1] + 10)
    end
end


Its just a prototype I hacked together. Some things in it dont even make sense (for example, how I dealt with the player position). However, there is something I have a question about:

When I hold down any of the direction arrows, then press 6 to draw the line, the player stops moving in x direction. I know why this is, though, its because when I press 6 the program stops receiving input from the arrows. However, I want to be able to continue moving even after I press 6. How would I do this?

Edit: Also, is there a function that prevents the calc asking you if you want to save when you close out the application?
#228
Lexaloffle released a huge list of keys on the Ludum dare website. I'm not sure if I should post the link, though, since it seems to be for Ludum Dare-ers only.
#229
Media Talk / Re: Funny/awesome Youtube videos
April 22, 2015, 06:56:59 AM

(slightly NSFW?)
#230
I'm just waiting for @LD Studios. Its probably a good idea for me to PM him directly if I want to contribute anything.
#231
Quote from: alexgt on April 21, 2015, 11:50:00 PM
HOW HAVE I NOT SEEN THIS?!?!?! I have been wanting a reason for using my Nspire and now I do as I am a big fan of portal prelude thanks @Strontium  for making the levels :).
:) I'm not sure if I will yet, I need to wait for @LD Studios to give me the source code first.
#232
I really like roguelikes, especially ones that employ new concepts (like how the tileset changes as you progress). I can't wait to play this.
#233
I've had an idea, but I don't know much about the inner workings of  the Nspire series so I am not sure if it will work:

I tried sending the CAS software to my non-CAS calculator via the CX Student Software, and it refused, saying "wrong OS type". If the only thing preventing the CAS OS from being installed is the CX Student Software saying no, then could you trick the software into sending the CAS OS anyways using a little trickery?

Another reason why I see this a possibility is that you can only send files ending in .tns to the calc, but you can create and rename them to other things (using Ndless programs, of course) to not use .tns. Since the calculator does not check the file type on the calc, maybe the same thing happens with the OS.

I'm not sure if thats even possible, or how it would be done.
#234
--snip--
#235
Quote from: DJ Omnimaga on April 21, 2015, 05:59:55 AM
Nice to have you on the forums. I hope you enjoy your stay! :walrii:

Could you check on the back of your calculator and tell us with what letter does your serial number end? I hope you got an earlier version, such as A through I. They could run OS 3.1 and Ndless would remain installed after reboots even without nLaunchy. You should be fine with newer hardware, though, but I find older ones less annoying to hack.

Feel free to ask questions if you ever have any and also look around in case you find some interesting projects and stuff. We tend to dive into art and old school gaming discussion quite a bit, as well as programming for many calculator platforms and even mobile/computer. :)

Unfortunately, it ends in T. I can't even run OS 3.6 without weird things happening (specifically, unable to use my calculator without it being plugged in all the time). The lack of persistence across reboots has not been an issue for me, because I almost never turn off or reset my calc.

Quote from: Unicorn on April 21, 2015, 06:01:28 AM
Welcom Stontium! Hope you enjoy your stay at off topic heaven! :P (Just Joking)

Off topic sections are always the best.
#236
DJ Omnimaga told me to make a post in this thread, so:

Hi! I've recently gotten into calculator stuff a short while ago. I got a TI Nspire CX for my birthday, and I wanted to start doing development things on it, so I came here. I also hanging out on forums in general.
#237
Thanks!

I'm not too good at Lua though, but it doesn't seem like a very hard language to learn.
#238
Quote from: LD Studios on January 31, 2015, 10:18:56 PM
I tried to work on levels for this but I really can't bring myself to do it. I'm just so incredibly sick of this project, and it no longer interests me in the slightest. If someone wants to take over and make the levels, they can let me know and I'll send them the source and explain how to do it. A bit of lua is experience would probably be helpful, but it's fairly simple what is left to do. If no one is interested, maybe in a few months I can pick this up again.

I saw this project a while ago and was really looking forward to its release. As such, I'd be happy to make the levels.
Powered by EzPortal