Show Posts
|
|
Pages: [1] 2 3 ... 30
|
|
1
|
General Discussion / Gaming Discussion / Re: Touhou 14 announced!
|
on: 11 May, 2013, 23:32:07
|
|
Yeah, and the three playable character are Reimu, Marisa and Sakuya. It seems very promising, and I hope that it will be better than TD and UFO (which are still very good games)
I'm looking forward for the demo !
|
|
|
|
|
4
|
Calculator Community / TI-Nspire Projects / Re: [Lua] Gravity guy
|
on: 20 February, 2013, 17:10:23
|
|
I never saw this bug, this is very strange. Which OS are you using ? And what do you mean by "the document is sometimes just blank" ? Is the document totally empty or is it the Lua script app which is blank ?
|
|
|
|
|
5
|
Calculator Community / TI-Nspire Projects / Re: nCraft (3D minecraft-like game for the nspire)
|
on: 21 January, 2013, 20:04:10
|
If he does, I hope he told it Chockosta la vista
That is one epic line  Yeah, awesome  But, as always, I'm sorry for not being able to bring you updates. For now, I don't spend my free time coding, but playing... As always, when someone bumps this thread, I feel very motivated and go back to my code, but that motivation quickly disappears and I feel very bad for making you wait like that. And I don't even have an excuse...
|
|
|
|
|
8
|
Calculator Community / Calculator C Language / Re: [3D Math]Correct perspective
|
on: 06 January, 2013, 17:07:51
|
No, not necessarily. Actually, they can be as far as you want, if they are in the field of view cone. (The only restriction is that the x-coordinate can't be negative) That's why if you want to keep a good speed, you should check if vertices are not too far before drawing them. Here is the function that I use in nCraft : -vertices* is an 1D array with 3D coordinates of used vertices. (example : {5,0,0, 5,1,0, 5,1,1 5,0,1}) -pos* is an 1D array when I will store the 2D coordinates of projections (example : {50,50 100,50 50,100 100,100}) -size is the number of vertices 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| void computeVertices(float *vertices,int *pos,int size) { int i=0; float temp=0.0; for(i=0;i<size;i++) { if(vertices[i*3+1]>0) { temp=OFFSET*vertices[i*3]/vertices[i*3+1]*50.0+160.0; //offset is an arbitrary value. I use 10. pos[i*2]=(int)temp; //screen coordinates have to be integers temp=-OFFSET*vertices[i*3+2]/vertices[i*3+1]*50.0+120.0; pos[i*2+1]=(int)temp; } else { //if vertices are behind the camera, I store arbitrary values to remember not to draw them pos[i*2]=-10000; pos[i*2+1]=-10000; } } }
|
|
|
|
|
|
9
|
Calculator Community / Calculator C Language / Re: [3D Math]Correct perspective
|
on: 04 January, 2013, 19:13:26
|
My way to do 3D, at least in nCraft, can be sumed up by this :  The camera doesn't move, the vertices can be translated or rotated. Let's see how we calculate the coordinates of the projection of a vertex on the screen. The ? represents the horizontal coordinate of the vertex on the screen (from the center). It is calculated with (10/x)*y, with Thales theorem. The vertical coordinate of the vertex projection is calculated with (10/x)*z. You calculate this with all the vertices defining your cube, and then, you draw rectangular faces with the coordinates you got. (to draw rectangles, use two triangles) The result should look like what's on your mind...
|
|
|
|
|
10
|
Calculator Community / TI-Nspire Projects / Re: [Lua] Unnamed danmaku
|
on: 27 December, 2012, 22:09:53
|
|
I mean, when you press an arrow key, it doesn't repeat without waiting 1 sec (which is a really bad idea in this game), so you have to press arrow keys repeatedly. To allow fast movement, I had to make the player move 8 pixels per arrow detection.
|
|
|
|
|
11
|
Calculator Community / TI-Nspire Projects / Re: [Lua] Unnamed danmaku
|
on: 27 December, 2012, 22:00:12
|
|
It's pretty much good, because the only computations are circles drawings (not sprites), and two additions (X and Y coordinates) every frame.
You can feel some lags when there's more than 250 bullets, which is pretty rare...
|
|
|
|
|
12
|
Calculator Community / TI-Nspire Projects / Re: [Lua] UNO (THE [card]game)
|
on: 27 December, 2012, 21:50:11
|
For the color select dialog, I would recommend displaying four empty cards, which represent each color...
great idea, what if i display 4 colored cards as you say, and to show which one is selected, i draw the colorChange icon (#) or +4 on the selected one. That'll make sure you got the right card and color. This seems like a great idea 
|
|
|
|
|
14
|
Calculator Community / TI-Nspire Projects / Re: [Lua] Unnamed danmaku
|
on: 27 December, 2012, 21:33:15
|
Thanks for your feedback ! 1) I agree, I will try to reduce that hitbox. But the stupid Nspire arrow detection only allows big steps, so with a smaller hitbox, it will be possible to go through the bullets without taking damage... I have to find a solution to avoid that. 2) Yes indeed, it definitely needs Marisa. I created Reimu first because she is my favorite character  3) I guess you think of the second spellcard of the boss. The trick is to go beyond the boss and go around it. But this spellcard is maybe a bit too hard. 4) Don't worry, she will be there in the next version  Unfortunately, I'm at my grandparents' for Christmas and I will stay here until january, and I can't program.
|
|
|
|
|
15
|
Calculator Community / TI-Nspire Projects / Re: nSpiKx - TI-nSpire emulator for Mac os x (Cocoa)
|
on: 22 December, 2012, 00:20:20
|
|
I agree with last posters.
In my humble opinion, basing your closed-source work on someone's open-source work is not respectful. Why would you act this way ? If you are afraid that someone could steal your work, there are licenses to prevent that. And indeed, this would make your project last longer, even if you stop updating it.
I can't see negative effects, so I don't understand. But off course, this is your choice...
|
|
|
|
|
|