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

Pages: 1 ... 65 66 [67] 68 69 ... 161
991
News / Re: Ndless v3.1 beta for OS v3.1 with TI-Nspire CX support released
« on: February 27, 2012, 06:58:30 pm »
Could Ndless possibly still be having problems with global variables?
I made the variables local, now the program actually runs. However, I'm still left with issues where I can't find what I'm doing wrong , like having yvel set to 128, and then y+=yvel; doing absolutely nothing :banghead:  :banghead: :banghead:

992
Calculator C / Re: Some questions on Ndless/nRGBlib
« on: February 27, 2012, 03:17:02 pm »
I'll try checking that. What important functions does newlib have?

993
Calculator C / Re: Some questions on Ndless/nRGBlib
« on: February 27, 2012, 07:09:24 am »
Because I have no clue what newlib is, I don't think I'm including it :p

994
General Discussion / Re: OmniPlayer2
« on: February 26, 2012, 11:39:17 pm »
I'm a bit reluctant to listen to DJ_O's song with the title: "Shut the h**l up motherf****ing son of b**ch" O.O

995
Ndless / Re: [nRGBlib] W.I.P - Colorful librairy for Ndless 3.1
« on: February 26, 2012, 11:18:17 pm »
In nRGBlib, how do you make sprites? Or has that not been implemented yet?

Also, as ive posted multiple times :P, rand() doesnt work because RGBlib has a rand function that conflicts with yagarto's one, so how do I get it to work? The snake game uses rand() and it works fine.... I can't really spot any differences between snake's code and mine that could have made snake's work, other than that it included nMATHS, but that didn't change anything for me when I included it

Edit: Ouch, triple post D:

996
Miscellaneous / Re: Post your desktop
« on: February 26, 2012, 10:24:47 pm »
Someday, maybe someday, I will organize my desktop so all the icons can actually fit on the screen without them going off the edges or piling up on top of each other.

In other news, this is my 1337th post! :w00t:

997
Miscellaneous / Re: Post your desktop
« on: February 26, 2012, 10:08:19 pm »
Here is my desktop.  The car is a Bugatti Veyron Matte Purple that my parents spotted in downtown London.  They took a photo for me, and I was so mad that I wasn't there to see it.  I'm a car fanatic :(
Whooaaaa! They are lucky! :D
I've always wanted to see a Veyron.

998
Site Feedback and Questions / Re: TIMGUL down
« on: February 26, 2012, 09:56:26 pm »
Did Netham delete the website? O.O

999
News / Re: Ndless v3.1 beta for OS v3.1 with TI-Nspire CX support released
« on: February 26, 2012, 07:09:53 pm »
I tried that before; it still crashed.

I had rmov go to 128 at first, and used that function.
Then changed rmov to 64 to tweak the effect, and it didn't seem to change yvel again.
Then, I changed it back to 128, which was how it was before when it worked, and IT CRASHES. Then, I changed it back to 64 and not only does it not work like before, it now crashes the calc!
How hard can it possibly be to add two variables together?
And also doing yvel=-yvel still crashes the calc for some reason!
Now, simply having the line lmov=-64 crashes it!
Does the - sign not mean negative in C like in axe?

I give up. I'll try it again tommorow.

1000
News / Re: Ndless v3.1 beta for OS v3.1 with TI-Nspire CX support released
« on: February 26, 2012, 06:44:33 pm »
http://pastebin.com/dkP6qnfB
I put comments in the areas that screw up

1001
News / Re: Ndless v3.1 beta for OS v3.1 with TI-Nspire CX support released
« on: February 26, 2012, 06:13:13 pm »
Ok, either I'm just too inexperienced with C, or theres something thats screwing up here...

When I add simple lines like:
yvel+=rmov;
and
yvel=-yvel;
my calc crashes when running the program... I have no clue why.

I was able to get yvel+=ymov; to work by making an unnecesary function to do what that line should have done D:

1002
Calculator C / Re: Some questions on Ndless/nRGBlib
« on: February 26, 2012, 09:33:00 am »
So does that mean I can't use rand() while using nRGBlib?

Would it be possible to just delete one of the rands? I found nRGBlib's function for it in the source.

1003
Calculator C / Some questions on Ndless/nRGBlib
« on: February 25, 2012, 10:45:21 pm »
I just started making programs with nRGBlib and ndless today, so I'm a beginner with it.

I started making Pong as my first mini-project and I now have a few questions.

If anybody can answer some, I'd really appreciate it :thumbsup:
(Also i mention drawStr in this, and I'm not really sure if I'm remembering the correct name of that function :P)

First, how could the addition of this line cause my calc to crash? ???
yvel+=rmov;
Both of those are defined and have values, but I have no clue why that wouldn't work. Does it depend on the code around it or something?


How can rand() work while using nRGBlib? It gives me errors. After I showed Levak my error (here),he said that there's a conflict between rgblib's rand and yagorto's one. So I guess that means RGBlib has a rand too?

In nRGBlib,  what would you use to display an integer? I only know of drawStr and I don't think that works for it... Also is there perhaps a %d thing like in printf?

For the 4th and 5th arguments of drawStr, what do they do? Size?

And so I can be clear on how to use RGBlib, is there some sort of guide I can use that says all the functions?

1004
News / Re: Ndless v3.1 beta for OS v3.1 with TI-Nspire CX support released
« on: February 25, 2012, 04:43:49 pm »
Ok, I cant get rand() or randMinMax() to work.

I tried
Code: [Select]
yvel=randMinMax(-256, 256);and also using
Code: [Select]
yvel=rand()%513-256;which both give me errors.

I'm using nRGBlib, and according to Levak,
Quote from: Levak
it seems there is a conflict between libRGB rand and yagorto one

Anyone have any ideas?

Also, how could this line cause my calc to crash?
Code: [Select]
yvel+=rmov;

1005
Computer Programming / Re: How do you make games with coding???
« on: February 25, 2012, 01:41:59 pm »
The program enters what is referred to as a "big honkin' loop." This loop is where the entire game happens.
Lol, people call it the big honkin' loop? :P

Pages: 1 ... 65 66 [67] 68 69 ... 161