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
« on: February 27, 2012, 06:58:30 pm »
992
« on: February 27, 2012, 03:17:02 pm »
I'll try checking that. What important functions does newlib have?
993
« 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
« 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"
995
« 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 , 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
996
« 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!
997
« 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! I've always wanted to see a Veyron.
998
« on: February 26, 2012, 09:56:26 pm »
Did Netham delete the website?
999
« 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.
1001
« 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
1002
« 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
« 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 (Also i mention drawStr in this, and I'm not really sure if I'm remembering the correct name of that function ) 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
« on: February 25, 2012, 04:43:49 pm »
Ok, I cant get rand() or randMinMax() to work. I tried yvel=randMinMax(-256, 256); and also using yvel=rand()%513-256; which both give me errors.I'm using nRGBlib, and according to 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? yvel+=rmov;
1005
« 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?
Pages: 1 ... 65 66 [67] 68 69 ... 161
|