Search found 85 matches

by sanjiv
Mon Sep 18, 2017 2:31 pm
Forum: General
Topic: Software to record your screen (for gameplay demos and tutorials)
Replies: 3
Views: 978

Software to record your screen (for gameplay demos and tutorials)

I stumbled across Open Broadcaster Software (OBS; obsproject.com) which seems, well, great for recording your desktop and even video editing. Does anyone out there have further experiences with OBS or other software that would be useful for recording gameplay footage or Love2d coding tutorials?
by sanjiv
Mon Mar 20, 2017 8:26 pm
Forum: Support and Development
Topic: The style in which scaled images are rendered; how do I make them "rough" instead of "smooth?"
Replies: 2
Views: 772

Re: The style in which scaled images are rendered; how do I make them "rough" instead of "smooth?"

works great! I set it right after I created a newImage, like so

Code: Select all

	s.img[1] = lg.newImage('megaman/sprite sheets/classicMegaManSprites.png')
	s.img[1]:setFilter( "nearest", "nearest" )
by sanjiv
Mon Mar 20, 2017 5:48 pm
Forum: Support and Development
Topic: The style in which scaled images are rendered; how do I make them "rough" instead of "smooth?"
Replies: 2
Views: 772

The style in which scaled images are rendered; how do I make them "rough" instead of "smooth?"

I've used love.graphics.draw in order to draw an image with sx and sy > 1, but the image looks fuzzy. How do I make it not look fuzzy? I thought it'd be something like love.graphics.setLineStyle( 'rough' ), but that's not working for me. If you want to look inside the love file, the file to look at ...
by sanjiv
Sat Jul 09, 2016 2:14 pm
Forum: Support and Development
Topic: Mouse scrolling
Replies: 12
Views: 2764

Re: Mouse scrolling

Many laptops allow users to scroll using two fingers on the touch pad. Does Love2d v 10 have a way to recognize this action? I'm looking at the wiki entries for the touch-related callback entries, and it doesn't seem to.
by sanjiv
Fri Jun 10, 2016 4:01 pm
Forum: Support and Development
Topic: Using Git Hub for love2d projects
Replies: 7
Views: 1421

Using Git Hub for love2d projects

Basically, I don't know how to use GitHub, and I'm not even sure about what I don't know. I thought I could use it as a sort of drop box for a love2d game folder, but apparently I have to jump through some more hoops to add nested folders to a repository. Should I just stick with Drop Box or one-dri...
by sanjiv
Fri Jun 03, 2016 1:47 am
Forum: Support and Development
Topic: Mouse scrolling
Replies: 12
Views: 2764

Re: Mouse scrolling

Yes. Mousepressed, not Keypressed. It sends an event for every tick of the scroll. On OS X it even has the inertia. Use the "wu" and "wd" as the buttons being clicked. update? I think it works differently now. I set up a test to change the background color in love.mousepressed, and it doesn't trigg...
by sanjiv
Fri Jun 03, 2016 12:40 am
Forum: Support and Development
Topic: How can I make scrolling text boxes? (or get the number of lines of text?)
Replies: 7
Views: 1512

Re: How can I make scrolling text boxes? (or get the number of lines of text?)

[FIXED. As it turns out I was making a silly mistake with string.sub. I think it's fixed now.] I'm currently getting my text from "contents = love.filesystem.read( fileName )", but when I go to print it, line breaks and tabs show up as []s. I tried using some logic to avoid printing the last charact...
by sanjiv
Thu Jun 02, 2016 11:37 pm
Forum: Support and Development
Topic: How can I make scrolling text boxes? (or get the number of lines of text?)
Replies: 7
Views: 1512

Re: How can I make scrolling text boxes? (or get the number of lines of text?)

Thanks! Why is it that getHeight returns a higher number than what I set with love.graphics.setFont?
by sanjiv
Tue May 31, 2016 2:25 am
Forum: Support and Development
Topic: How can I make scrolling text boxes? (or get the number of lines of text?)
Replies: 7
Views: 1512

How can I make scrolling text boxes? (or get the number of lines of text?)

I would like to display large bodies of text within the game, likely read from text files. The challenge is figuring out the "height" or length that a body of text would take on the screen, assuming we can set the width of text (in the love.graphics.printf function), and we know the size of the font...
by sanjiv
Mon May 30, 2016 8:54 pm
Forum: Games and Creations
Topic: I made a thing...
Replies: 8
Views: 2842

Re: I made a thing...

can't run it, cuz I'm missing the utf8 module?