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

Pages: 1 ... 8 9 [10] 11 12 ... 22
136
Any progress in C++ support?  :)
No idea, I'm not the one dealing with that. I don't think anyone is working to get C++ on the TI-Nspire.

137
is SDL easier to program than nspire c/asm?
Well it still is in C. But yes, it is much easier than doing everything from scratch. Also SDL's quite mature and there's a lot of resources and information available on the Internet about it, that's always good.

138
0.2.1 is out! ;D

139
nSDL / Re: nSDL (0.1.4 beta)
« on: May 04, 2012, 01:00:44 pm »
Here's a screenshot of a little program I'm writing for a TI-Nspire SDL tutorial I'm working on:



I actually released 0.2.0 but didn't make it public, as I found some small issues (found them while working on the aforementioned program) that needed to be fixed, so the next public version will be 0.2.1, which should be out tomorrow if everything goes well.

140
nSDL / Re: nSDL (0.1.4 beta)
« on: May 02, 2012, 03:58:23 pm »
0.2.0 coming very soon... :ninja:

141
nSDL / Re: nSDL (0.1.4 beta)
« on: April 21, 2012, 09:18:00 am »
Now by default all text is somewhat formatted before drawn on the screen, i.e. unnecessary spaces are removed. It can be removed for whatever reason using the NSP_FONT_NOFORMAT flag. Screenshot (the string used is the one in quotes of course):



I'll probably add word wrapping at some point too, not sure how cleanly it'll fit in the code. Speaking of cleanness, I've removed tab support, all font width/height getter functions I had at one point, and the textwrapping feature when using SDL_nDrawString(). That is because those features are very rarely useful, have inconsistent behavior and are a bitch to maintain and integrate. They would only be useful in console-type applications, and in that case nspireio should do the job. Removing them allows much cleaner and more robust code.

EDIT: After some further thought, I'll possibly add the string width/height getter functions again. It was especially the tab character that made me hesitate, but now that it's gone I guess I can clean those functions up. They might be useful for drawing centered text and whatnot.

Off-topic: Those tiles are nice. Are they from a game in particular or did you make them yourself?
Some free ones I found somewhere I can't remember.

142
nSDL / Re: nSDL (0.1.4 beta)
« on: April 20, 2012, 07:48:20 pm »
Amazing!  :)
Just wondering, how's the performance of this compared to BMP blitting?
Should be exactly the same as the result is the same (SDL_Surface).

143
nSDL / Re: nSDL (0.1.4 beta)
« on: April 20, 2012, 07:03:26 pm »
Some more updates...

I've added support for own extremely simple image format, and I added a SDL_nDrawStringInRect() function which draws a string within the boundaries of an SDL_Rect, as you could imagine. Here's a little screenshot showing off the NSP_FONT_AUTOSIZE feature (non-monospaced fonts), SDL_nDrawStringInRect() (the purple rectangle is only to show how it fits itself inside it, it's not part of the function), and an image included in the executable (everything is of course well integrated into SDL, the SDL_nLoadImage() function returns an SDL_Surface for example):



Here's also a more recent screenshot of the image converter that'll be included with nSDL 0.2.0:


144
nSDL / Re: nSDL (0.1.4 beta)
« on: April 18, 2012, 05:01:37 pm »
Just to keep you guys updated, the mouse now works on CX models when using SDL_WaitEvent() (thanks atiatini for the testing), but it still "lags" (actually input lag) when using SDL_PollEvent(), so that among other things remains to be fixed.

Also meanwhile I've been working on an extremely simple image format for those who might prefer to include images in the executable (useful for small sprites and such), along with a converter:



Oh and I'll probably be a bit less active as I plunged into some more serious indie game development.

145
nSDL / Re: nSDL (0.1.4 beta)
« on: April 14, 2012, 12:53:44 am »
The values change when I use the touchpad but the mouse doesn't appear.  :(
That's normal, I disabled the mouse so that I can only read raw values (no SDL involved except for the font drawing). So it seems it does update it normally. I think the problem might be similar to the one had some time ago. Thanks a lot, I'll look into it. :)

146
nSDL / Re: nSDL (0.1.4 beta)
« on: April 13, 2012, 10:36:08 pm »
Thanks a lot you both.

Not sure about the rebooting issue, but I fear it has something to do with the mouse, I had the same problem at first but thought I had fixed it (on Touchpad it works). When it comes to mouse lag, it's very weird behavior, but I remember having something like it on my Touchpad at first, fixed it by moving the touchpad scanning function a bit. Could you try the attached program for me? It reads raw values from the touchpad, I'd like if to know if the "Velocity" still lags and updates rarely or if it's fast:
Spoiler For Spoiler:
I can only bribe you with a thank you in the readme.

This is how the mouse works on my Touchpad:

147
nSDL / Re: nSDL (0.1.4 beta)
« on: April 13, 2012, 02:47:16 pm »
Could somebody with a CX do me a favor?

Could you grab the the attached file, send it to your calculator and just see if everything works. Move your finger around the touchpad to move the mouse, if you press it you should see "SDL_MOUSEBUTTONDOWN" showing up. It uses hardware 8 bpp and the touchpad, so I'd like to know if everything works nicely. Thanks for whoever helps me. :)

(0.2.0 is advancing nicely, there'll be a lot changes and a bigger "launch" than usually)

148
Other Calculators / Re: The Future of TI-Nspire Programming
« on: April 09, 2012, 10:30:24 am »
1.  Nspire calculators just aren't in great general use with students, like I thought they would be, and considering that end spires have been around for over half a decade that simply isn't good news for the future of that product.
I'm not going to post any figures or sources, but TI has a huge market and the TI-Nspire has been adopted by numerous schools. They know their way around marketing and business, don't worry.

2.  Ti's lock down efforts are working and the latest os may be the death of Ndless.  All of which means there is and will be less interest in programming for end spire.
Wait and see, your claims aren't based on much.

5.  The motivation to program by people at his site is fragile because of the lack of rewards.
Rewards? What kind of rewards? I don't know about others, but I certainly do not code for some medal.

My conclusion?  There is no future for nspire programming and there may not be a future for EndSpire.  So where are the opportunities for the very talented people who post here? What do they tackle next? Where can they make their mark?
What's EndSpire? I don't think that many people who code have as motivation pride or something related.

149
Other Calculators / Re: The Future of TI-Nspire Programming
« on: April 08, 2012, 02:27:52 pm »
@Hoffa, TI (TI-Nspire section) does give a damn about us. They have showed it multiple ways:
- By sending email to all magor TI-Communities
- By contacting several community members, allowing them to beta test stuff
- By listening to multiple of our sugestions

Yes, that's what I meant by "there might be some patting going on". I stand my ground, we're irrelevant farts next to shareholders. However, in those things you listed, we're (well not me personally, but you get the point) just doing their job free of charge, obviously they're going to exploit us as much as possible. Free beta testers and innovative suggestions that ultimately encourage investments and increase the businesses value is only advantageous for TI. Of course they don't want a source of free information to dry out; sending a few e-mails and keeping shallow relations is required, they wouldn't want the illusion of something deeper to fade away.

150
Other Calculators / The Future of TI-Nspire Programming
« on: April 07, 2012, 07:28:43 pm »
However, I heavily suggest developing simultaneously on the PRIZM too, to give TI more competition by trying to attract PRIZM users.

What needs to be understood, is that we (the TI-Nspire community mainly) are minor minority. TI does not give a damn about us, that's the harsh reality of things but it's at the same time something very normal and comprehensible. TI's a massive corporation, and we're just surface dust next to shareholders. As I said earlier, that's how business works, that's how you keep the cash flowing. There might be some patting going on and fairy tale ideals floating in the air, but we have to be realistic: unless we are the ones to strike, we will have no effect, nada. We're just not enough for passive actions to have any kind of noticeable effect. Even if every single person on Omnimaga switched to the Prizm, it would only be a lonely, insignificant fart in the Milky Way.

Pages: 1 ... 8 9 [10] 11 12 ... 22