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

Pages: [1]
1
TI-Nspire / Is this forum dead?
« on: April 18, 2016, 12:39:43 am »
It seems like there are pretty much no new projects here. I've looked at the Omnimaga stats for post activity, and it seems like the whole site is getting a lot smaller (people probably would rather play games on a smartphone than a calculator - the decline in activity strongly correlates with the rise of the smartphone). This forum in particular hasn't really had any major projects for a while, even though it used to be relatively active when I joined in 2013.

TI will keep updating the OS and try to block Ndless. From my observations, it seems like it takes a considerable amount of work to find a loophole to install Ndless, and as the amount of people here gets ever smaller, the chance of finding a loophole will decrease. If Ndless isn't available on new calculators, there will be no new members, and C++ projects (which tend to be the most fun because they get the most out of the CPU) won't be usable, so no one will visit anymore. No GBA emulators, no crafti, etc.

In addition, nobody will create projects if nobody will use them. It seems like no one is downloading projects, which doesn't encourage programmers at all.

So can we officially wave goodbye to TI-Nspire programming? There doesn't really seem to be a good solution to revitalize this forum. It seems like TI-Nspire programming is a thing of the past now when smartphones are plentiful. It seems like the whole site, along with all the other calculator programming sites, will die pretty soon when people ditch calculator gaming in favor of smartphones.

Thoughts?

Looking at the post graph, it seems like the activity stayed relatively stable during 2013 (100 posts/day) until the end of 2014, when it nosedived to around 20 posts/day, and now it seems like it's at 10 posts/day. RIP Omnimaga. Any idea on why the post count decreased so rapidly at the end of 2014?

2
Calculator C / Accessing the OS?
« on: May 06, 2015, 10:29:41 pm »
Is there a way to access the OS functions?
E.g. implement non-integer factorials.
Right now I have to type in an integral to get 5.8!
TI-BASIC is too slow, and an Ndless program takes tons of work (well, enough that I haven't really finished any yet).
I also want to add some functions that appear on the Prime and maybe increase the max number limit to above 10^999 (GMP for Nspire? Probably not, we'll see).
Can this be done?
Thanks.

3
Calculator C / Communicating between 2 nspires
« on: April 22, 2015, 10:47:45 am »
Is there a way to send information between 2 nspires that are linked using Ndless?

e.g. transferring variables

4
Calculator C / Key presses
« on: March 31, 2015, 10:01:47 pm »
There is the isKeyPressed function, but that only detects the state of the key.
Say, for example, open a text editor and hold a key. One character will show up at first, then after half a second or so a bunch will start showing up rapidly.
Is there a function to capture this type of input in the SDK or should I implement one?
I'm curious because in a program I'm making I'm using tabs to loop through things, but it just loops through everyone really fast.

5
TI-Nspire / Mazes
« on: March 04, 2015, 10:52:03 am »
Here's a simple maze generator.
It's still buggy.
Works fine on emu, but haven't tested it on my calculator yet.
n2dlib was the simplest thing around, so I just used it for this project.

2048 included too because I was bored.

6
Calculator C / good random numbers
« on: June 17, 2014, 05:24:21 pm »
I'm trying to make a drilling game. When the player first starts, the program generates some dirt blocks with minerals 50 rows deep and 40 columns wide, or 2000 blocks. However, using time as rand gives me really crappy number generation (all the blocks in a column are the exact same if I use time as rand). I've tried using a couple other things, like using SDL_GetTicks() (which produces the exact same thing every time by itself, so I also need rand) and xoring the int a couple of times, but I still get really poorly generated blocks. Also, I still want it to be simple enough that it doesn't lagg much. Any ideas?




My current block generator:

Code: [Select]

void newrow(uint16_t row)
{
srand(time(NULL));
chance[0]=1000/(abs(pow(row-10,1.1))+50);//1000/(abs(pow(row-row_where_it_is_most_common,range_of_how_common_it_is))+100/percent_of_blocks_in_most_common_row)
//coal is found with a frequency of 100/50=2% of blocks in the row in which it is most commonly found
//coal is most commonly found in row 10 (actually 11 in the array, but 1 more or less doesn't make a huge difference)
//coal is commonly found in a large range of blocks, note the low exponent
//note that 0 in this array corresponds to 2 in blocktype
chance[1]=1000/(abs(pow(row-30,1.1))+60);//iron is found in 1.667% or 16/1000 blocks in the generator at max, and is also very common
chance[2]=1000/(abs(pow(row-50,1.1))+80);
chance[3]=1000/(abs(pow(row-80,1.1))+20);
chance[4]=1000/(abs(pow(row-110,1.3))+100);
chance[5]=1000/(abs(pow(row-150,1.5))+150);
for(int i=0;i<40;i++)
{
tempint=((SDL_GetTicks()+rand()+i)^(row*i))%1000;
sleep(1);
for(int z=0;z<6;z++)
{
if(z==5)
{
if(rand()%8)
{
map[row][i]=dirt;
break;
}
map[row][i]=nothing;
break;
}
if(chance[z]>tempint)
{
map[row][i]=(static_cast<blocktype>(z+2));
break;
}
tempint-=chance[z];
}
}
}

7
Calculator C / gcc vector error
« on: June 12, 2014, 10:34:52 pm »

When I try to do #include <vector> I get an error about vector.tcc not being found


nspire-g++ -Wall -W -marm -Os -c main.cpp
In file included from main.cpp:4:0:
c:/users/asdf/other/ndless-v3.6-beta-r990-sdk/yagarto/lib/gcc/../../arm-none-eabi/include/c++/4.6.2/vector:70:28: fatal error: bits/vector.tcc: No such file or directory
compilation terminated.
make: *** [main.o] Error 1
Built.

8
TI-Nspire / Squares
« on: June 10, 2014, 06:53:31 pm »
Simple squares game (mainly testing ndless)
Press R to restart
In case you're wondering why I created the tempw array, it was because there was some glitch that randomly changed the w and h part of SDL_Rect (can't find it, be thankful if someone can).

To do:
Figure out how to draw text (Probably gonna have to use NTI images :L) - did with SetPoint :P
Fix glitch where they randomly congregate at the corner (kind of fixed meh)
Get nSDL_DrawString to work

Edit:
OK, I noticed that the squares exited and entered smoothly on the right and bottom sides, but not on the left and top sides (x<0 and y<0), so I'm guessing that nSDL, unlike SDL2, doesn't support drawing rectangles with negative x and y coordinates :P

9
Calculator C / [Ndless] Converting types
« on: June 04, 2014, 09:26:33 pm »
This is probably a stupid question, but how do you convert types with Ndless? I want to convert a float to a character array (I usually use stringstreams).

10
TI-Nspire / nSDL 2?
« on: May 02, 2014, 09:27:06 pm »
Is there going to be an SDL 2 port for the nspire?

11
TI Calculators / deleting glitch
« on: April 13, 2014, 07:56:18 pm »
When I delete a file in my documents, it'll be deleted but when I open up my documents 1 minute later it's there again. I keep doing this over and over, and can't seem to get rid of the file. Help?

12
TI-Nspire / Overclocking
« on: March 07, 2014, 07:05:44 pm »
I may be mistaken, but I get the impression that overclocking will slow down your calculator. My calculator used to load Pokemon Crystal in less than 1/2 a second and now it takes about 2 seconds. Yoshi's Island has also started lagging on the start screen. Should I continue to overclock my calculator? I am currently doing 198MHz CPU+Base and 66MHz AHB. If not overclocking is better in the long run, I'll stop, but if overclocking does not damage the CPU I will continue. I noticed this when I downloaded Crafti onto my calc and it ran a lot slower than it did in the picture.
Not trying to blame anyone or anything, just curious if I should continue overclocking.

This might not be in the right forum, but it was the only TI-Nspire forum I found :S

Pages: [1]