Search found 131 matches

by Muris
Thu Dec 25, 2014 1:18 pm
Forum: Support and Development
Topic: Help using shear for pseudo 3d
Replies: 2
Views: 1924

Re: Help using shear for pseudo 3d

This might not be something you want and I kind of cheated my way with some of the rotations: Keys to rotate are: w,s a,d q,e and scale with r,f So only rotation with Q and R work according to the objects own coordinates where as the wasd rotations are simple scaling, which means that they arent rea...
by Muris
Thu Dec 25, 2014 8:02 am
Forum: Support and Development
Topic: Help using shear for pseudo 3d
Replies: 2
Views: 1924

Re: Help using shear for pseudo 3d

Commonly the rotation is done with matrices. In case you do not know what matrix is, it is container for vectors, in other words vector that has vectors inside it, is matrix. All of the vectors inside the vector needs to be same size though, so it is like 2dimensional table. Something like this: |[u...
by Muris
Mon Dec 22, 2014 3:34 pm
Forum: Support and Development
Topic: How would I make a option slider[EX: volume changing slider]
Replies: 4
Views: 3882

Re: How would I make a option slider[EX: volume changing sli

To create gui components such as sliders easily, you could use Love Frames https://love2d.org/forums/viewtopic.php?f=5&t=9116 or Quickie https://love2d.org/forums/viewtopic.php?f=5&t=7811 . There are probably other gui-libraries but those are the two that I've tried and they both seem to hav...
by Muris
Mon Dec 22, 2014 11:53 am
Forum: Support and Development
Topic: Where to begin with RayTracing?
Replies: 8
Views: 4053

Re: Where to begin with RayTracing?

If you are first looking for casting shadows in 2D, not 3D, i think these videos explains the idea behind the shadowcasting pretty well. 0FZIKX1Y_8I 4BtjcH-iLR0 But I don't fully understand what you are trying to do. 2D or 3D. Also raytracing and shadow casting are kind of different things, but if y...
by Muris
Mon Dec 22, 2014 12:44 am
Forum: Support and Development
Topic: Where to begin with RayTracing?
Replies: 8
Views: 4053

Re: Where to begin with RayTracing?

I guess that is what I get when I try to pull bad code out of bigger portion. I forgot to disable the wasd-keys. Basically the whole point of the thing is just to kind of calculate the "light" area when you drag lines (set walls) with left mouse button. You can turn the light area with rig...
by Muris
Sun Dec 21, 2014 7:14 pm
Forum: Support and Development
Topic: Where to begin with RayTracing?
Replies: 8
Views: 4053

Re: Where to begin with RayTracing?

I was trying to do something what you have in the picture, although the code I did for LUA is pretty much vommit, tons of globals etc, but here is the code. It probably also has some strange debug output not to mention finnish names I think. It was one of those first lines I did write in LUA. Althou...
by Muris
Sat Dec 20, 2014 3:00 pm
Forum: Support and Development
Topic: love.graphics.printf() and pixel alignment.
Replies: 2
Views: 2488

Re: love.graphics.printf() and pixel alignment.

Do you mean that what you do not like about the text is the anti-aliasing and you want non-antialiased text? Sadly I honestly do not know how to do it, but my guess would be setting some filter to nearest instead of linear.
by Muris
Sat Dec 20, 2014 2:36 pm
Forum: General
Topic: Setting up my IDE(Sublime Text 3)
Replies: 2
Views: 1983

Re: Setting up my IDE(Sublime Text 3)

Also if you want an actual IDE, instead of text editor, I suggest checking out Zerobrane Studio. http://studio.zerobrane.com/ edit: Also do not think that I dislike Sublime Text. Quite contrary, it is quite awesome imo. Just that Zerobrane happens to have working debugger, so one can do code steppin...
by Muris
Tue Dec 16, 2014 6:13 pm
Forum: LÖVE-Android
Topic: Any way to get androids virtual keyboards size?
Replies: 0
Views: 3898

Any way to get androids virtual keyboards size?

Hello, today I bumped into a problem, where the virtual keyboard blocks the view of my text input field. I was wondering if there is a way to get the size/position of the virtual keyboard, so that I could temporarily "adjust" the textinput position? Currently I am readjusting it as followi...
by Muris
Tue Dec 16, 2014 2:53 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 406
Views: 352796

Re: Löve Frames - A GUI Library

I tried to use the gui for android, and it seems to work pretty well after setting love.setTextInput(true) when textinputfield gains focus, to get the virtual keyboard up, and then set it to false after clicking enter. The problem that I noticed, I guess you could kind of call it a feature is with b...