Search found 550 matches

by Eamonn
Sun Aug 10, 2014 3:44 pm
Forum: Support and Development
Topic: Printing special characters in LÖVE?
Replies: 9
Views: 5443

Re: Printing special characters in LÖVE?

I get the following error when I try to print the Ö character:

Image
by Eamonn
Sun Aug 10, 2014 2:55 pm
Forum: Support and Development
Topic: Printing special characters in LÖVE?
Replies: 9
Views: 5443

Printing special characters in LÖVE?

Is it possible to use love.graphics.print to print special characters such as Ö to the screen? I tried this, but it didn't work: love.graphics.print(string.char(string.byte("Ö")), 0, 0) I just get an error saying there's no enough space. Is there a way around this? I googled for a bit but ...
by Eamonn
Sun Aug 10, 2014 2:43 pm
Forum: Libraries and Tools
Topic: Typo - Typewriter lib
Replies: 11
Views: 8337

Re: Typo - Typewriter lib

I think what they mean is like how you use the [color][/color] tags on the forums, to set certain parts a color. Ohh... Hm, I'll look into how to do this. I'll add it along with support for special characters, which I know know is a problem and isn't so easy to tackle. I'm using string.byte and str...
by Eamonn
Sun Aug 10, 2014 2:11 pm
Forum: Libraries and Tools
Topic: Typo - Typewriter lib
Replies: 11
Views: 8337

Re: Typo - Typewriter lib

This is pretty neat, I could easily see this be updated for RPG Dialogs. Only thing missing is special characters for coloring text. Colours: Got it! Adding it now! Special Characters: Not sure what you mean. It should support special characters such as Ö,Ø, etc already. If you could clarify I'd be...
by Eamonn
Sat Aug 09, 2014 11:52 pm
Forum: Libraries and Tools
Topic: SPAM - Simple Powerful Audio Manager
Replies: 7
Views: 4796

Re: SPAM - Simple Powerful Audio Manager

SiENcE wrote:Please make a github repo.
I edited it a lot since I posted it here. GitHub repo is right here my friend! I'll also update the OP as well. I added some extra methods :D

https://github.com/sonic2kk/SPAM
by Eamonn
Sat Aug 09, 2014 9:59 pm
Forum: Libraries and Tools
Topic: Typo - Typewriter lib
Replies: 11
Views: 8337

Typo - Typewriter lib

Typo is a simple library that allows you to effortlessly add a typewriter effect to your game. All you need to do it pass it in the text, delay, width to wrap, alignment, x position, y position and the font! I made a tutorial on how to create this effect, and I will add a link here and remove this t...
by Eamonn
Thu Jul 24, 2014 5:35 pm
Forum: General
Topic: [SNIPPET] Pixels to scale factor
Replies: 4
Views: 2926

Re: [SNIPPET] Pixels to scale factor

Therefor I also got some snippets. function setResolution(w, h) WIDTH, HEIGHT = w, h SCREENWIDTH, SCREENHEIGHT = love.window.getDimensions() SCALEX, SCALEY = SCREENWIDTH / WIDTH, SCREENHEIGHT / HEIGHT end function setScale(w, h) SCREENWIDTH, SCREENHEIGHT = w, h SCALEX, SCALEY = SCREENWIDTH / WIDTH,...
by Eamonn
Thu Jul 24, 2014 2:58 pm
Forum: General
Topic: [SNIPPET] Pixels to scale factor
Replies: 4
Views: 2926

[SNIPPET] Pixels to scale factor

I wrote a little snippet for converting from LÖVE's scale factor to a pixel size of your choice. Of course, you don't have to keep any particular aspect ratio, but I would recommend you do usually. Although in some cases you might need to set an enforced pixel size. Here is the snippet: function pix...
by Eamonn
Thu Jul 24, 2014 1:55 pm
Forum: Support and Development
Topic: LÖVE "callbacks" and love.run()?
Replies: 6
Views: 2938

Re: LÖVE "callbacks" and love.run()?

I'm fairly new to coding and löve, but from what I gather the term callback seems to be generally misused or confused. From the way I understand it, a callback is a function that gets passed as an argument to another function, to be called by the receiving function when or if a condition gets met. ...
by Eamonn
Wed Jul 16, 2014 4:50 pm
Forum: Games and Creations
Topic: PackyTacky - My First Proper Game
Replies: 17
Views: 8486

Re: PackyTacky - My First Proper Game

Really nice. Love the music and fonts. The blue background was awesome! Maybe that's just because I love blue, but anyway. I prefer Python over Lua, it's true, I just haven't had time to make a LÖVE tutorial. I have so many Python tutorials backlogged, so that's why there's a surplus of Python tutor...