Search found 1077 matches
- Tue May 23, 2017 3:36 pm
- Forum: General
- Topic: Is my C++ knowledge viable?
- Replies: 2
- Views: 2624
Re: Is my C++ knowledge viable?
the two languages are absolutely not alike, one is a huge low-level compiled langauge with OOP and template-programming and the other is a minimal, dynamically typed scripting language. Still, you won't be 'damaging' anything by learning Lua. It will also most likely go a lot faster than learning C+...
- Mon May 08, 2017 10:28 am
- Forum: Support and Development
- Topic: [SOLVED] Is the way Love handles sprites inefficient?
- Replies: 17
- Views: 12080
Re: Is the way Love handles sprites inefficient?
So, from what I understand, there is no way to take a central spritesheet and then copy specific parts of it into new images? Quads are the only option? Just as a side question - images in Love are immutable, right? Meaning if I have a bunch of objects that each have a variable that holds their spr...
- Fri May 05, 2017 3:36 pm
- Forum: General
- Topic: Terminal-based workflows: what are you rockin'?
- Replies: 9
- Views: 10085
Re: Terminal-based workflows: what are you rockin'?
terminal: urxvt, because urxvtd + urxvtc makes it lightweight, it can be properly configured and I can hide all bars shell: fish-shell, because it's friendly for interactive things editor: vim for multiplexing i use my window manager (i3wm), usually with a large vim pane covering 60% of the screen a...
- Tue May 02, 2017 7:58 pm
- Forum: Support and Development
- Topic: newShader is slow
- Replies: 4
- Views: 3844
Re: newShader is slow
The only other thing I can imagine is a malformed shader, since you are creating it programatically. Did you try printing out the code? maybe it's huuuuge and slows down the GPU, but I think code size limits should shut that down before a 10s parsing delay.
- Wed Apr 19, 2017 11:02 am
- Forum: General
- Topic: My tanks goes haywire, halp :S
- Replies: 3
- Views: 3293
Re: My tanks goes haywire, halp :S
you shouldn't/don't need to modify the position of every vertex each frame like this. Calculating rotated and moved vertex positions is exactly what the GPU is designed to do, and you are not letting it take care of it. look up 2d transforms on the wiki and here on the forum. in particular the love ...
- Wed Apr 19, 2017 9:12 am
- Forum: Support and Development
- Topic: Visualizing map generation
- Replies: 5
- Views: 4065
Re: Visualizing map generation
attempt to yield across C-call boundary This means there's a call to a C function somewhere in the call stack between your yield and resume calls. It's most likely a "require" in which case it shouldn't be hard to move outside the coroutine, or possibly a "pcall" which could be ...
- Sat Apr 15, 2017 11:27 pm
- Forum: General
- Topic: Help me displaying my vector pls x_x
- Replies: 5
- Views: 4867
Re: Help me displaying my vector pls x_x
here it is, works beatifully, thanks again :3 (though I still don't really like working with radians, I guess I need to understand them better in order to like them) Breaker.love now my code looks like local function showDirection(entity, lineLenght) --find center pivot local lineStartX = entity.x ...
- Tue Apr 11, 2017 9:36 am
- Forum: Libraries and Tools
- Topic: parseimg - parses images
- Replies: 3
- Views: 3520
Re: parseimg - parses images
This is pretty neat! What are the rectangles inside the circles representing? Sometimes they are centered but sometimes they are not.
- Tue Apr 04, 2017 10:25 am
- Forum: Support and Development
- Topic: canvas black & white only?
- Replies: 14
- Views: 12054
Re: canvas black & white only?
Tinting (coloring) the canvas if you forget to clear the drawing color back to white is not a bug. :3 (the red line drawn premultiplied and tinted red coming out as a grey line may be, though i haven't done the math on that) Well, if this is correct behaviour, then I apparently don't seem to get th...
- Mon Apr 03, 2017 4:32 pm
- Forum: Support and Development
- Topic: help instaling in kali linux
- Replies: 9
- Views: 9018
Re: help instaling in kali linux
Thanks guys, I was able to install love, on the system, I'm using it because the computer does not allow installing another linux system and I do not want any more windows what do you mean it doesn't allow installing a different linux system? I can't imagine a system that would/could restrict you l...