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 - Nick
46
« on: November 13, 2011, 11:26:53 pm »
MasterMindhttp://www.omnimaga.org/index.php?action=downloads;sa=view;down=741Mastermind is the well known game in which you have to guess the code of the AI (calc) by combinating 6 colors. now with nice graphics and in french and english dans Mastermind, on dois deviner la code du calculateur par choisir 6 couleurs et combiner-les dans un ordre specific maintenant avec des figures extraordinaire et en francais! source and screenshots included
47
« on: November 11, 2011, 04:50:21 am »
I was looking for a fast way to switch between colors for my tetris project, so i tried to find a faster way of choosing a color and setting it with setColorRGB(). I don't know if it's the fastest way, but it goes nice and the colde is tidy It's only to get the most basic colors: Red, Green, Blue, turquoise, pink, orange and yellow. This is what you would have normally (or better, i had): color = math.random(1,7) if color == 1 then gc:setColorRGB(255,0,0) elseif color == 2 then gc:setColorRGB(0,255,0) elseif color == 3 then gc:setColorRGB(0,0,255) elseif color == 4 then gc:setColorRGB(255,0,255) elseif color == 5 then gc:setColorRGB(0,255,255) elseif color == 6 then gc:setColorRGB(255,255,0) elseif color == 7 then gc:setColorRGB(255,150,0) end
and this is what you get now: color=math.random(1,7) colortable={0,0,0} if color<=3 then colortable[color]=255 elseif color==4 or color==5 then colortable[3]=255 colortable[color-3]=255 elseif color==6 then colortable[1]=255 colortable[2]=255 else colortable[1]=255 colortable[2]=150 end gc:setColorRGB(colortable[1],colortable[2],colortable[3])
both results are the same (luckily xp ) does anyone know if this is more relevant than the upper one?
48
« on: November 09, 2011, 02:32:47 pm »
Hello i'm making a bubble shooter game for nspire cx cas, and i have already quite a lot of coding, but i'm quite a while looking for the right code to find the place where the ball has to fit into the upper collection of balls. for those who dont know bubble shooter, here's a screenshot: any help is greatly appreciated btw, in the screenshot you can see that i can shoot balls to the first row, but not to a second one. as soon as a ball takes place on the row, i just cannot shoot to that place istead of taking the next row btw, did you notice this: watch the time, that's nice
49
« on: November 07, 2011, 03:55:48 pm »
hello i'm quite new to Lua programming (about 1 month, since i had to buy a TI-Nspire CX CAS for school ) and i'm making a Tetris game in color. I've already finished the general gameplay, but i want to know if someone has some special ideas to put into it. It might be nice if it wasn't just a standard tetris, but i haven't got the inspiration yet so if someone likes to help: you're welcome! and can somebody please tell me how to put a picture in this forum, cause i don't really get it xs thanks
50
« on: June 05, 2011, 02:21:15 pm »
Hello i'm having some problems with the game i'm making. I'm developing a bubble trouble for the TI 84 plus and it runs very smooth. I've compiled it to play without a shell, and it works. But from the moment i open a random game from mirageOS, some parts of the game (the collision detection) suddenly don't work anymore. It also happens when i compile it to mirageOS, Ion or an app.. I really don't know what's wrong, so please help me... btw, i'm using GDB1 as data storage and about 10 other variables, maybe this is the problem? Thx
51
« on: June 05, 2011, 02:09:40 pm »
hello there
i hope this site is going to help me out of some programming problems, you know..
bye
|