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 - Builderboy
Pages: 1 ... 21 22 [23] 24 25 ... 375
331
« on: March 13, 2012, 09:46:26 pm »
Obviously you should replace your single getkey statement with one that resembles:
getkey(1)+(getKey(2)*2)+(getKey(3)*3)+(getkey(4)*4).... *Builderboy Runs*
332
« on: March 13, 2012, 06:40:11 pm »
I love the compromise! Looks completely epic, and I'm glad we got some splitting action with our fruit ninja ^^
333
« on: March 13, 2012, 05:45:56 pm »
Alright, the first beta is out! Probably some bugs that I couldn't find, but it should be mostly workable ^^ Try it out! I provided some instruction on how to program, but more complete tutorials like the one i posted in the original post are probably much better.
334
« on: March 13, 2012, 03:06:53 pm »
On the contrary I have little knowledge about that language, you were just lucky the issues you were having were general issues and not programming specific issues. And if you ever have any more issues feel free to post about them and I will see what I can do ^^
335
« on: March 13, 2012, 03:03:36 pm »
Yeah rotation is slow in general without stuff like Graphics Cards :[ unfortunately I don't think you will be able to get much faster than you have it currently.
336
« on: March 13, 2012, 03:00:11 pm »
For future reference you only have to post the relevant part of your code, not the whole thing Could it be that the issue is coming from the fact that your for loop variable is also named C?
337
« on: March 13, 2012, 02:55:57 pm »
Post your code again?
338
« on: March 13, 2012, 02:48:23 pm »
The best thing you could do would be to move the cos() and sin() outside the loop, since you really only need to calculate them once per rotation. Just precalculate them, place them into variables of their own, and use those variables instead
339
« on: March 13, 2012, 02:44:22 pm »
Yay! Glad I could help ^^
340
« on: March 13, 2012, 02:12:32 pm »
That is because you typed it in wrong You should be using this code: x = (sp[c].X-xc)*cosd(d) - (sp[c].Y-yc)*sind(d) + xc; y = (sp[c].X-xc)*sind(d) + (sp[c].Y-yc)*cosd(d) + yc; Note the plus sign instead of the minus symbol
341
« on: March 13, 2012, 02:06:29 pm »
Lol well that would probably be your problem. Use the code christop or 3rik posted and everything should work just fine. Square roots and arctangents and powers are not used in any rotation code I know of.
342
« on: March 13, 2012, 02:00:22 pm »
What is this code for? x = sqrt(pow((spf[c].X - xc),2) + pow((spf[c].Y - yc),2))*cosd(atand(spf[c].X - xc)/(spf[c].Y - yc)+ 5)+ xc; y = sqrt(pow((spf[c].X - xc),2) + pow((spf[c].Y - yc),2))*sind(atand(spf[c].X - xc)/(spf[c].Y - yc)+ 5)+ yc; You seem to have commented out the relevant rotation code as well?
343
« on: March 13, 2012, 01:50:36 pm »
Show us your code? Maybe there is something being lost in translation?
344
« on: March 12, 2012, 09:08:10 pm »
If they are already reporting the post, what would the point of also downrating it be?
345
« on: March 12, 2012, 08:04:42 pm »
If there is something that needs to be downrated, you can always report it. This way punishment and reprimand can be carried out by staff members in a private environment instead of a public one.
Pages: 1 ... 21 22 [23] 24 25 ... 375
|