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

Pages: 1 ... 69 70 [71] 72 73 ... 115
1051
TI-Nspire / Re: Scramble/Boggle Lua
« on: July 01, 2012, 09:46:24 am »
Very nice ! :D

1052
TI-Nspire / Re: Nspire CAS Software
« on: June 28, 2012, 04:49:07 am »
well maybe the core of it can be recompile, with a bit of work... interesting ;)

1053
Here's the makefile that worked for me :)

Spoiler For Spoiler:
Code: [Select]
CC:=gcc
CFLAGS:=-W -Wall -m32
LDFLAGS:= -lssl -lz -m32
VPATH := minizip-1.1

OS ?= `uname -s`
ifeq ($(OS),Windows_NT)
  EXEEXT = .exe
else
CFLAGS := $(CFLAGS) -DUSE_FILE32API
LDFLAGS:= $(LDFLAGS) -lcrypto
endif

all: luna$(EXEEXT)

luna$(EXEEXT): luna.o zip.o ioapi.o
gcc -o $@ $^ $(LDFLAGS)

dist: clean all
mkdir -p dist/src
rm -f *.o
find . -maxdepth 1 ! -name 'luna$(EXEEXT)' -a ! -name dist -a ! -name . -exec cp -r {} dist/src \;
cp luna$(EXEEXT) *.dll *.txt dist

clean:
rm -rf *.o luna$(EXEEXT) dist

(this is forcing the 32bit compiling I believe)

1054
News / Re: Luna 0.3 for OS 3.2 is here!
« on: June 25, 2012, 12:03:07 pm »

1055
News / Re: Luna 0.3 for OS 3.2 is here!
« on: June 25, 2012, 05:09:19 am »
You have to add -lcrypto in the LDFLAGS line in the Makefile.

GCC is apparently awesome enough to tell which library is missing, it was like, hey this function is undefined but you'll find it in this lib, so add it in LDFLAGS and it'll work :P
If you ever get it to compile on Mac (intel 64bit), please share ;)

I've gone to this point :
Spoiler For Spoiler:
Code: [Select]
Mac-Pro-Adrien:src adrien$ sudo make all
gcc -W -Wall   -c -o luna.o luna.c
luna.c: In function ‘doccrypt’:
luna.c:288: warning: ‘DES_set_key_checked’ is deprecated (declared at /usr/include/openssl/des.h:227)
luna.c:289: warning: ‘DES_set_key_checked’ is deprecated (declared at /usr/include/openssl/des.h:227)
luna.c:290: warning: ‘DES_set_key_checked’ is deprecated (declared at /usr/include/openssl/des.h:227)
luna.c:304: warning: ‘DES_ecb3_encrypt’ is deprecated (declared at /usr/include/openssl/des.h:135)
gcc -W -Wall   -c -o zip.o minizip-1.1/zip.c
In file included from minizip-1.1/zip.c:196:
minizip-1.1/crypt.h:35: warning: unused parameter ‘pcrc_32_tab’
gcc -W -Wall   -c -o ioapi.o minizip-1.1/ioapi.c
minizip-1.1/ioapi.c:83: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c: In function ‘fopen64_file_func’:
minizip-1.1/ioapi.c:115: warning: implicit declaration of function ‘fopen64’
minizip-1.1/ioapi.c:115: warning: assignment makes pointer from integer without a cast
minizip-1.1/ioapi.c: At top level:
minizip-1.1/ioapi.c:101: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c:120: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c:127: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c:134: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c: In function ‘ftell64_file_func’:
minizip-1.1/ioapi.c:145: warning: implicit declaration of function ‘ftello64’
minizip-1.1/ioapi.c: At top level:
minizip-1.1/ioapi.c:142: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c:149: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c: In function ‘fseek64_file_func’:
minizip-1.1/ioapi.c:191: warning: implicit declaration of function ‘fseeko64’
minizip-1.1/ioapi.c: At top level:
minizip-1.1/ioapi.c:172: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c:198: warning: unused parameter ‘opaque’
minizip-1.1/ioapi.c:205: warning: unused parameter ‘opaque’
gcc -o luna luna.o zip.o ioapi.o -lssl -lz -lcrypto
Undefined symbols for architecture x86_64:
  "_fopen64", referenced from:
      _fopen64_file_func in ioapi.o
     (maybe you meant: _fill_fopen64_filefunc)
  "_ftello64", referenced from:
      _ftell64_file_func in ioapi.o
  "_fseeko64", referenced from:
      _fseek64_file_func in ioapi.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [luna] Error 1

1056
News / Re: Unreal Tournament on the TI-Nspire?
« on: June 24, 2012, 02:18:30 pm »
That is amazing, but what amazes me the most is how fast the voxel engine runs. Unreal Tournament would definitively be doable, assuming someone uses outdoor maps like this. Can a voxel engine allow other kind of shapes like small buildings, different colors (such as green for grass and gray for structures) and collision detection without losing too much speed?

If I'm not mistaken, it's all randomly generated, so, if you want pre-made building, it's going to require something completely different ?
Or at least some sort of 2nd generator on top of the landscape one, I guess

1057
TI-Nspire / [Contest] LuaTowerDefense
« on: June 24, 2012, 11:33:07 am »
Hi there,

I've decided that I should try (only try...) to participate with the game I'm writing right now, a Tower Defense one :)

People that know my GitHub may have noticed there some bits of it already, but if you look closely, it's only the Screen Manager library, not a single line for the game itself :)
(So it's good according to the rules :P)

The GamePlay should be "basic", like a simple TD you can find anywhere in Flash...
I hope I have some time to make it work well before the contest ends... but it should be good enough at least if I dont make everything I would have wanted, for some entry-level game.

Here are some alpha-version screenshots...



As you can see, I have also focused on "quality" dialogs (I mean, like native), thanks to ETK (EEPro ToolKit, a GUI lib by Jim Bauwens), maybe to try to popularize GUI libs among the un-standardized Nspire-Lua programs :P

But don't worry about the design of towers (circles) and enemies, that's just for debugging :P)

The game grid is "active", meaning, you can mouse over the cells to get info, as well as interact with the keyboard (arrows) to move the selected cell.
There are 4 types of towers and enemy types : water, earth, fire, and air. The towers will do more damage to the corresponding enemy, obviously.
I haven't programmed yet the attacking part (:P) but I plan to make it so that you get points for each kill, which makes you also earn money to buy/upgrade towers.
I haven't really decided yet but the wave system will probably be something like ...  "more difficult each time because of the health increase of the enemies". Maybe more enemies too, each wave, idk :P
The AI part is probably the one handling enemies' moves : they auto adapt to the map, not with a hardcoded path :) While it's not much of an advanced AI (idk exactly :P), I still find that part pretty cool :D

I make it with the 3.2 SDK but I think it should work with 3.x if I just "compile" it with Luna :)

More soon !

Also, if you have any ideas for a feature etc... :)

Byebye :)


EDIT : Update (30/06/12) :
Some update(s) :

- Path algorithm/AI fort he enemies optimized and complete ! (works with any map, and with some "flawed" ones  (thanks to AI ))
- Wave system completely done and quite optimized I think
- Attacking done but not animated (no shooting animations for example... will see later)
- Range of a tower displayed on mouseover
- I still need to do :
   -- money system
   -- better menu(s)
   -- score + stats management
   -- level selection (more maps)
   -- multilanguage


Anyway, I won't have much time (at all ?) until the end of the contest, sadly, because TI-India is giving me an enormous amount to do x)
I'll see what I can do.
But after the 15th anyway (it's a deadline), I can improve it, even if it's too late

1058
News / Re: Unreal Tournament on the TI-Nspire?
« on: June 24, 2012, 04:48:33 am »
I have 2 more nSDL programs critor sent me ...
Videos are coming ;-)

1059
nSDL / Re: nSDL 0.3.2—A fast & robust TI-Nspire graphics library
« on: June 23, 2012, 02:49:15 pm »
He finally got it working with   -lm  :)

Here's the game he ported : http://tiplanet.org/forum/viewtopic.php?p=126303#p126303

1060
News / Re: Release of FormulaPro for the Nspire
« on: June 22, 2012, 01:33:13 pm »
I fixed some things and added a special 3.2 version which contains an error handler so it now is "impossible" to crash it :P (well, I haven't a way to do so, so far :D)

OS 3.2 specific version with Error handler : https://github.com/adriweb/EEPro-for-Nspire/blob/master/testing/FormulaPro32only.tns?raw=true
Latest version for all OSes : https://github.com/adriweb/EEPro-for-Nspire/blob/master/EEPro.tns?raw=true

(This is now Version 1.1b)


Edit : By the way, here's the Error handler in action :

1061
News / Re: Release of FormulaPro for the Nspire
« on: June 22, 2012, 04:21:12 am »
This is great! I was looking forward to this and its finaly here!

Are you intending to join the main capabilities of EEPro and MEPro as an EProN (Engineering Professional Nspire Software, do you like this name? xD) in the main trunk of EEPro for Nspire?

Thank you :)

And yes, this "FormulaPro" is basically a standalone version of the 2nd part of the whole EEPro port on the Nspire.
We'll keep you updated on the overall port :P

What's basically missing is the "Analysis" part, which is huge.
The "Reference" part is almost done already, though.

1062
News / Re: Release of FormulaPro for the Nspire
« on: June 21, 2012, 04:45:23 pm »
Thanks !

The whole point of this is to create your own set of equations corresponding to your school level :)

Tell us if you ever make some :P





Edit :
Aaaaaaaaand a bug report already :P We are fixing it.
Don't forget that the latest version will always be here : https://github.com/adriweb/EEPro-for-Nspire/blob/master/EEPro.tns?raw=true

Edit2 : fixed

1063
Lua / Re: Just vote quickly please :P UI poll about FormulaPro
« on: June 21, 2012, 04:22:00 pm »
Thank you for your votes.

We have a majority of "bottom" votes, so we went with that one.

However, we may include the choice directly in the software, in v2 :)

FormulaPro is now out, see here : http://ourl.ca/16446.new#new

1064
News / Release of FormulaPro for the Nspire
« on: June 21, 2012, 04:20:41 pm »
Hello everyone,

Today it is with great honor and pleasure that we, Jim Bauwens and I, are finally announcing the release of FormulaPro !

What is FormulaPro ?
Here are the technical details : FormulaPro is a TI-Nspire (OS 3.x) document whose main content is a Lua script. Yep, all made in Nspire-Lua (http://www.inspired-lua.org). Indeed, it is the only way so far / right now to "properly" achieve what we do on FormulaPro (completely graphical UI, math calculations...).
FormulaPro is also free, of course, and open-source (https://github.com/adriweb/EEPro-for-Nspire/) (LGPL license) ! :-)


Hmm ok, but what does it do ? :P
Well, here you go : some of you may already know what's called "EEPro" or "MEPro" for the TI-89 and TI-92. It is an official program that TI puts in the 89 by default. If you don't know it, EEPro-89 is basically a program described by TI like this: "This application solves the problems of electrical engineering. It is composed of three modules: Analysis, Equations (700 equations grouped into 16 subjects) and Reference. " In short, a complete and very powerful application about Electrical Engineering. Well, FormulaPro is the 2nd part ("Equations") of our project to port the EEPro-89 suite to the Nspire.
But we improved it, naturally. A lot. (And we already have plans and written code already ready for version 2.0 which will be even more awesome and more powerful.)

What FormulaPro right now is capable of, along with its website, is :
-to be able to run on any OS 3.x and any Nspire model and to be able to run on the computer software too with auto-resizing frames
-Mouse and keyboard input support, on both Software and Handheld
-to be able to let users generate their own pack of equations, smartly (variables and units are bound), within categories and sub-categories,
-to be able to solve intelligently solve the equations it's given, contrary to the 89 version, where the user had to select what equations had to be used : Indeed, here you just have to enter what you know already, and it will automatically try to solve for what it can.
-it can very easily let you chose the unit/subunit you want to enter your data in. (for example Hz/kHz/MHz, °C/°F/°K etc.)
-it can show you the used formulas of the current sub-category in "PrettyPrint"


Great ! How do I use it ?
-Be sure to run Nspire OS >= 3.0. We recommand version 3.2.
-You can then either use the "demo" database (a part of the original EE-Pro one) available here (and also attached) : https://github.com/adriweb/EEPro-for-Nspire/blob/master/EEPro.tns?raw=true
 … or either starting your own database with our online FormulaPro Database maker which lets you easily create categories, subcategories, equations, units and subunits etc. It is available here: http://education.bwns.be/FormulaPro/
-If you were on the online generator, click the "Generate" button at the bottom of the page.
-Transfer the .tns to your calculator or in the computer software and open it.
-Select the category and the subcategory, and begin filling the input fields of the data you already know. Press enter or change focus, and it will start auto-solving.
-Enjoy !


Screenshots time !
Here are 4 screenshots showing pretty much all of FormulaPro. They are not related to each other.
, ,
,


What's next ?
Well, we will try to complete the entire Formula library from the original EEPro-suite. (This is just a matter of time, so it's no problem, really)
In general, the plan is to be able to do everything (and more !) that the TI-89 version can do.

So, here's what we also planned for version 2.0 :
-Database Editing on-calc !
-An even more powerful solving core
-Smart Search (Don't browse in the categories : just enter the units you have and it will try to figure out which equatinos to use directly)
-Pictures associated with categories (circuits explanations etc.)
-Input data directly into the solver using Vernier sensors!
-Multi-language support
-Ability to graph results


------------------------
Download (latest so far is v1.4b) :
Latest version for all OSes : https://github.com/adriweb/EEPro-for-Nspire/blob/master/FormulaPro.tns?raw=true
------------------------


Please report any bug or comments if you have some,
Good Luck and Have fun,
The FormulaPro team,
http://tiplanet.org and http://www.inspired-lua.org


(to the admins : if you think it sadly doesn't fit in news, well, you can move it under Nspire Lua projects)

Edit : version

1065
News / Re: Extend your TI-89 display to 240x128 (TI-92 size)
« on: June 21, 2012, 12:10:11 pm »
Well these viewscreen are rare for students :P

Pages: 1 ... 69 70 [71] 72 73 ... 115