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 - Loulou 54
Pages: [1]
1
« on: September 16, 2014, 06:58:13 pm »
Hi people! Three years ago I created a game called Colibri (which means Hummingbird) for TI z80. It was in the context of the TI-Concours 2011, the first edition, which allowed me to win the - brand new at that time - TI-Nspire CX CAS . Colibri is an original thinking game in which you embody a hummingbird in a field full of menhirs in Brittany where you must eat all the flowers. You can only fly straight and change direction when you are in front of an obstacle (menhir or fence). Beware! There are also magical flowers which transform into menhirs when they get picked up! Check the capture below. The game is still available on ti-planet.org (click the picture). Well this year, during a school project, I took the opportunity to develop an Android version of the game with enhanced features! This is the same concept with flowers, magical flowers and menhirs but new elements were added to enhance the gameplay. Along the 36 levels of the Campaign, discover the role of cows, dynamites, cats or rainbows! There is a Campaign mode with "handmade" levels with a growing difficulty, a random mode where you can play unlimited random generated maps of different difficulty, and there is a multiplayer mode to challenge friends. Read the description on the Play Store for more details! So here is the link ! The app is totally free and ad-free (incredible!). Now here are some screenshots ! Dear Android users, I invite you to test the game on your devices and do not hesitate to let some feedback. Thanks !
2
« on: July 23, 2012, 07:25:10 pm »
Hi all ! I've already thought long ago about making a billiard game.. But that seemed too complicated (balls collisions, ...) and TI Basic on TI 89 would have been too slow.. (I didn't know C at this time ! ) But I remembered this idee some days ago and tried with Lua. I already managed to do the physics which seem quite real ! (Moreover my code worked at the first try !! AMAZING ) I'm now making the gameplay and so on.. Actually, I think there is a lot of work if I want to make a complete game ! A screen ? EDIT : - It's a 256 color GIF, so... x) - There are only 7 balls right now and no hole, but it's coming, obviously ! EDIT 2 : a newer version (but still a bad gif sorry ! ) with 3D !
3
« on: July 02, 2012, 05:03:10 pm »
Hello ! I will finally enter the contest if I have time enough to finish my game. Siam is a board game, in the spirit of chess or checkers. (but very different, actually ! ^^) It is a 2 player game : elephant VS rhino. You play on a board of 5*5 squares and each player have 5 pieces. At the beginning there are only 3 rocs in the middle of the board. The goal is to push one of the rocs out of the board. There are specific power relations between the pieces : (indeed, an animal (elephant or rhino) can push only in its direction. So the direction of pieces is very important.) * an animal can push only one roc. * two animals in the same direction add their force. (they can push 2 rocs for example) * two animals face to face can't move. It cancels. For more informations, see the rules : http://regle.jeuxsoc.fr/siam__rg.pdfThis topic was the first lap of the TI-Concours 2012 in the TI 68k categorize. I hadn't time enough to programm an AI, though, but the game works pretty well and is very nice to play with a friend ! Here's a screen : So, this contest is a good pretext to think about such an AI ! I have already made several tests and had some results.. But it won't be feasible on TI 68k as I do, because it would take too much time in calculations.. On Nspire, it is different obviously ! I already have to adapt the TI 68k version to a Nspire one, and it's not easy.. I tried first with Lua, but there are some complications, if I want to use the Basic code.. So I want to make it entirely in Basic ! - A Basic game ? On Nspire ? Even today with C/ASM and Lua possibilities ? U mad ?? Yes ! I will use the geometry application for some graphics... Moreover, I can thereby enter the Nspire Basic categorize ! EDIT :
4
« on: December 30, 2011, 05:04:33 pm »
Hello ! This is my new Lua game for Nspire. (and my first actually) I wanted to do a skill game using the touchpad. So it is a wooden maze like game, I mean these game in wood with a ball that you direct by tilting the game and you must avoid the holes. Like this : So here is my last version that you can even try on the document player since he is "cursor reactive". x) (actually I've just realized that the right clic is not supported, so I'll have to find an alternative) Obviously you can also play with keys : arrows or numbers 1,2,3,6,9,8,7 and 4 for all directions. The enter key, 5, or clic allows you to stabilize the plateau. There is only 5 levels yet. (of 16) So I appeal to your creativity to make some levels if you want. As I've made an entirely interactive level editor, if you have time, use it and send me your creations ! [email protected]Thank you.
5
« on: December 21, 2011, 11:07:17 am »
Hallo deutsche Benutzer Npires ! Es gibt auf dem TI Nspire eine ß (s-z) (char(223)) und ein β (bêta) (char(946)). Aber die s-z ist nicht in der char-menü.. Ich mache ein Deutsch-französich übersetzer und der Benutzer braucht, die richtige ß zu schreiben, um ein wort finden zu können. Sorry für die Fehler.. x) Danke !
6
« on: December 18, 2011, 06:25:55 am »
Hello. I've heard of a bug several times in the 2.C) and 2.D) functions of my program. It can happen directly when you open the program and you use the function 2) Opérations > C : Transfo pour Ladder. An user sent me this screen : (attachment) However, I've never had this problem, neither on the software, nor on my calculator ! So, could you test for me these functions and tell me what happens ? Specify the error if you get one and the line. You can specify your OS too. Here is a link. http://tiplanet.org/forum/archives_voir.php?id=3761&play=Thank you ! Louis.
7
« on: December 10, 2011, 04:33:05 pm »
Hi everyone. I have a problem that I've already noted before, but it wasn't important in that situation. (in ABA Logique) Now it becomes annoying.. This is for my traductor. I've already had many problems with the accentuated characters from the word-lists but now it works. Here is actually the problem that many would have already noted, I suppose : when I get some special character with the on.charIn event, it produces bugs (displays chinese character or whatever..) and sometimes the following error: Illegal unicode character in string. How to avoid this ? Thanks.
8
« on: September 25, 2011, 10:45:20 am »
I've already had the idee before making a traductor on-calc to get quickly and anywhere the meaning of an english or german word thanks to my calculator. But the TI 89 memory wouldn't be sufficient.. ^^ But this strange idee becomes interesting again thanks to the large memory of Nspires !! Moreover Lua has some good string finding features ! So what do you think about such a project ? The problem remains that I can't find a data list with english-french words to copy and work in my script, without having to write them myself.. I've already sent a mail to the creator of this website who proposes a freeware like the one I'd like to make on the Nspire : FreelangNo answer for the moment.. Do you know where I may find some data list of this kind ? Thank you !
9
« on: August 30, 2011, 07:46:17 am »
A topic to talk about new music you like. I start ! Today, release of the new album of the red hot chili peppers ! Who will get it ?
10
« on: August 24, 2011, 12:41:29 pm »
How to use toolpalette's functions ?? I've tried this and it doesn't work.. I have the error "expected function in menu item 1 of tool box 1" menu = { {"Mode", -- Tool box "Mode" {"Decimal", setDec}, -- Menu item "Decimal" calls function setDec() {"Hexadecimal", setHex}, {"Octal", setOct}, {"Binary", setBin} } } toolpalette.register(menu)
function setDec()
end
function setHex()
end
function setOct()
end
function setBin()
end Thank you.
11
« on: August 09, 2011, 04:12:23 pm »
Well, why not show our "work" we have made throughout the year with two friends ? ^^' Indeed, Kévin, Jean (Wellen ) and me ate each day in the school canteen. One day, we made this, almost by accident. xD We found that sooo funny (even if we're already 18 :p ) that we began to do that each day, finally untill the end of year ! After all, here is the result. ~ People are tasty ~(=> I think that's a good name for the project, isn't it ? :p)
12
« on: August 08, 2011, 11:32:57 am »
I haven't found any topic about the different bugs of the Lua language on the TI Nspire. The goal of this topic is to reference all the problem here and to find solutions or explanations. (maybe there is already a topic or a place for this, even in another web site as Inspired Lua for example ? If so, please let me know. ) So I start with some problem I had or I know. 1) The function string.find(string,substring) produce an error with this substring : "(". If we replace the searchstring by string.uchar(40), this is the same. The error is "unfinished capture". Why ?? It seems that this problem occurs only with "(". (If the substring is for example "(g", there is no problem.) ==> How to avoid this ? * creating a function like this :function strFind(str,ch) local chPos chPos=nil for i=1,string.len(str) do if string.sub(str,i,i)==ch and not chPos then chPos=i end end return chPos end * using TI Basic inString( function with Lua math.eval( function.
* string.find(str, "%(") => This is the best solution. Thank you jimbauwens. Explications two posts later.
2) The graphical bug of Levak : you can draw in the "status bar", top of the screen. A simple example : function on.paint(gc) gc:begin()
-- draw gc:setFont("sansserif", "b", 10) gc:drawString("Hello World", 0, 0, "top")
gc:finish() end The bug seems to be possible when using gc:begin() / gc:finish instructions. ==> How to avoid this ? * You don't have to use gc:begin() / gc:finish() generally. ^^3) (that's not really a problem, but something good to know) math.eval function runs TI Basic instruction (in a string) All the instructions seem to work, except : - I/O functions : Text, Request, RequestStr, Disp - program call - Local function ==> How to avoid this ? * You have to program dialog boxes yourself ! xD * You can use toolpalette functions for choices. * You could use D2Editor but.. see 4) * Instead of calling a basic program, paste all the code into a string in the math.eval( function.
4) The D2Editor seems to be very usefull but we can't remove it ! So you can't really use it.. ==> How to avoid this ? * You have to program yourself a "Request" function.. ^^Simple example : msg = ""
function on.paint(gc) gc:drawString(msg,10,10,"top") end
function on.charIn(ch) msg = msg .. ch platform.window:invalidate() end If you want a full code to enter text (delete, clear, insert, go to the fisrt/last character, ...) I can post code from my ABA Logique program ! ^^So, you can post your potential problems or your solutions/explications. Thanks
Pages: [1]
|