Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
24 May, 2013, 18:10:39 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
  home news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

  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 !
2  General Discussion / Gaming Discussion / Re: Touhou 13.5 announced! on: 13 April, 2013, 18:33:38
There's a new demo, with netplay and a new stage !
(But still only 3 characters)

You can download it on Tasogare frontier official website : http://www.tasofro.net/touhou135/index.html#130412
So, does anybody want to play ?
3  Omnimaga / News / Re: Phoenix arrives on the TI-Nspire on: 24 March, 2013, 13:52:29
Last year, I used  to play this quite a lot, and I think I have the high score : 1,571,515
Yeah, I love shoot em ups...
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 Tongue
Yeah, awesome Cheesy

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...
6  Calculator Community / TI-Nspire Projects / Re: [Lua] Gravity guy on: 21 January, 2013, 19:56:45
Sure ! My programs aren't under any license.

You can use them, and even get all the credit for it. (But I'd appreciate if you mention my name)
The source code is attached to this post.
7  Calculator Community / Calculator C Language / Re: [3D Math]Correct perspective on: 08 January, 2013, 19:17:36
I made a simple clipped triangle routine. I can share it, if you're interested.
Yeah i*3 is a small but good optimization.
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 Smiley
13  Calculator Community / TI-Nspire Projects / Re: [Lua] UNO (THE [card]game) on: 27 December, 2012, 21:44:35
Wow, this games looks great !
Glad to see you back, by the way.

I've always played like Sorunome, too.
For the color select dialog, I would recommend displaying four empty cards, which represent each color...
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 Smiley
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 Tongue

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...
Pages: [1] 2 3 ... 30
Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.535 seconds with 27 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.