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 - lkj

Pages: 1 ... 25 26 [27] 28 29 ... 33
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
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:
  • -Up and down are also supported. Do you think I should remove left and right?
  • -I've put a lcd_incolor() at the end of the code, maybe this fixes Nick's issue
  • -The level is more varied (I think that the only 2 blocks problem was that there was only empty space for a long time after, since it was randomly generated)
  • -Changed rolling
  • -Added simple score

idle() puts the CPU into idle mode until the next interrupt. If you change to timer's frequency, idle()'s execution time will change.
But with throttle mode on, the experience should be the same on nspire_emu and on real hardware. Maybe you should post the source code if you want someone to review the code to check what could be wrong.

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:
Windows 7 x64 and Yagarto that uses the following versions:
binutils: 2.21
gcc:      4.6.2
newlib:   1.19.0
gdb:      7.3.1

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.

Pages: 1 ... 25 26 [27] 28 29 ... 33