391
TI-Nspire / Re: Line Runner for Nspire
« on: February 21, 2012, 04:53:51 pm »
Am I right that I need two buffers for this, one for everything that I want to display and one for the parts of the screen that get shifted.
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. 391
TI-Nspire / Re: Line Runner for Nspire« on: February 21, 2012, 04:53:51 pm »
Am I right that I need two buffers for this, one for everything that I want to display and one for the parts of the screen that get shifted.
392
General Calculator Help / Re: nspire cas OS deleted cannot install new, OS is corrupted error any file« on: February 21, 2012, 03:04:16 pm »
Did you try to install 1.7? Though it says you should be able to update directly because you had 1.6.
393
TI-Nspire / Re: Line Runner for Nspire« on: February 20, 2012, 04:14:19 pm »
Sorry, I didn't notice I doubleposted.
I read that just moving the screen for scrolling and only drawing the new pixels would be faster than redrawing everything, but would I have to memcpy every line or is there a faster way? 394
TI-Nspire / Re: Line Runner for Nspire« on: February 19, 2012, 07:47:28 am »
I just noticed it would be much more difficult than I thought, so I'll leave it as it is.
I wonder if you will add variable platform heights, with hills and stuff, along with holes? I think I'll first add animations, since I would have to rewrite almost everything to implement your suggestions. 395
TI-Nspire / Re: Line Runner for Nspire« on: February 19, 2012, 07:11:12 am »
Should I make the framerate constant or should I leave it as it is, sometimes 50 fps and sometimes 62?
396
News / Re: Ndless v3.1 beta for OS v3.1 with TI-Nspire CX support released« on: February 16, 2012, 04:57:33 pm »
In the default file association config file gbc4cx is chosen for .gb and .gbc files, but the newest version is named gbc4nspire.
397
TI-Nspire / Re: Line Runner for Nspire« on: February 14, 2012, 05:41:33 pm »
I think I've fixed everything except the blur in this new version:
- removed set_cpu_speed() - removed direct use of timers - changed rolling again - faster, more difficult - getting faster when you reach certain points 398
TI-Nspire / Re: Line Runner for Nspire« on: February 13, 2012, 04:45:07 pm »
Ok, new version:
idle() puts the CPU into idle mode until the next interrupt. If you change to timer's frequency, idle()'s execution time will change. It was the same experience with throttle mode off, else it was far too slow. I think now it's better, but I can't test it on my calc because the batteries are empty. Is it a good idea to use set_cpu_speed(CPU_SPEED_90MHZ) to slow it down (I restore it at the end)? The source code is included in the zip file. But it's not very well commented. Do I have to use lcd_incolor() at the end if I have lcd_ingray() at the beginning? Edit: It should be less blurry now since I skip half of the frames on monochrome nspires. 399
News / Re: Ndless v3.1 beta for OS v3.1 with TI-Nspire CX support released« on: February 13, 2012, 02:26:27 pm »
Why do some ndless2 programs work and some crash?
400
TI-Nspire / Re: Line Runner for Nspire« on: February 13, 2012, 01:02:02 am »
I'll try to reduce the framerate when I have time.
I forgot to write what the controls are: left for jump, right for the other thing (don't know the word). 401
TI-Nspire / Re: Line Runner for Nspire« on: February 12, 2012, 05:21:06 pm »
Now it should work on the CX, but I'm not sure. Am I right that I can't use the emulator to emulate a cx without boot1?
Has anyone got an idea how to make the game blur less on screens of classic nspires? Here's also the source: 402
TI-Nspire / Line Runner for Nspire« on: February 12, 2012, 02:28:45 pm »
I'm writing a clone of the iphone game Line Runner. It works but I'll need to implement and improve a lot of things, for example better graphics. The CX isn't supported yet because I don't have one to test and I didn't have time to read everything about how to use the ndless functions for this.
Does anyone know why the nspire emulator gets a totally different speed if I use idle()? And even more different if I let the fast timer run? On calc it's too fast and on emulator it's so slow you can't play. newest version 403
nSDL / Re: SDL for the TI-Nspire« on: February 11, 2012, 12:26:51 pm »
I never saw any bug, but I switched as you suggested.
I thought updating would be as complicated as setting up the ndless-SDK, but it was very easy ![]() 404
nSDL / Re: SDL for the TI-Nspire« on: February 11, 2012, 11:26:31 am »EDIT: For me the program works, also windows7 x64, but yagarto with gcc 4.6.0 and gdb 7.2. 405
Computer Programming / Re: Best language for beginners?« on: February 10, 2012, 05:20:47 pm »
Would you guys recommend python3.2 or python2.7? It seems to me that most libs are still not compatible with python 3 yet, and that's very annoying if you can't use most scripts and other stuff you find on the internet.
|
|