Search found 7 matches
- Wed Dec 09, 2015 12:38 pm
- Forum: Support and Development
- Topic: Is custom RAM assignment possible?
- Replies: 6
- Views: 2723
Re: Is custom RAM assignment possible?
Yes, those 10k draw calls certainly will slow things down. It seems that you are changing the lines only when a key is pressed (the code handling this is a bit messy and I might be mistaken). If that's the case, I'd suggest drawing into a canvas - only updating it when a key is pressed (when speed ...
- Tue Dec 08, 2015 8:49 pm
- Forum: Support and Development
- Topic: Is custom RAM assignment possible?
- Replies: 6
- Views: 2723
Re: Is custom RAM assignment possible?
It sounds like the low framerate is probably due to unoptimized usage of love.graphics functions rather than a RAM-related thing. If you post a .love or further describe what you're doing (graphics-wise) and what you want it to look like, we can hopefully provide some good performance-improving adv...
- Tue Dec 08, 2015 7:29 pm
- Forum: Support and Development
- Topic: Is custom RAM assignment possible?
- Replies: 6
- Views: 2723
Re: Is custom RAM assignment possible?
I used Windows task manager. I hope I did things correctlyNixola wrote:How did you measure RAM usage?
- Tue Dec 08, 2015 6:24 pm
- Forum: Support and Development
- Topic: Is custom RAM assignment possible?
- Replies: 6
- Views: 2723
Is custom RAM assignment possible?
I've been recently making a program that creates pretty complicated visuals. Unfortunately the application runs at about 1 FPS and my processor is barely used. I found out that the program's RAM consumption caps at 38MB. Is there a way to assign more RAM to the game?
- Thu Aug 27, 2015 5:49 am
- Forum: General
- Topic: Returning an angle
- Replies: 4
- Views: 2561
Re: Returning an angle
Thanks a lot!bio1712 wrote:You can use this:
print(math.atan2(A,B)) --radians
- Thu Aug 27, 2015 4:50 am
- Forum: General
- Topic: Returning an angle
- Replies: 4
- Views: 2561
Returning an angle
I have that triangle: http://s30.postimg.org/h23cas91d/trujkont.png I know variables A and B and I want to calculate the alpha angle. I came up with this sloppy algorithm. It returns 46 when A = B I think there is a more effective way but I couldn't find it :) degree = math.pi / 180 alpha = 0 for k ...
- Thu Aug 27, 2015 2:29 am
- Forum: General
- Topic: Introducing myself.
- Replies: 3
- Views: 2075
Introducing myself.
Hi everyone! I'm a 15 year old who lives in Poland. I am interested in variety of stuff ranging from programming and engineering to pharmaceutics and a bit of philosophy. I got into programming when I was 11 mainly because of IT lessons. The program for IT in my country is really miserable, so the t...