Search found 88 matches
- 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: 5453
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?
- 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: 5453
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 o...
- Mon May 30, 2016 8:54 pm
- Forum: Games and Creations
- Topic: I made a thing...
- Replies: 8
- Views: 5808
Re: I made a thing...
can't run it, cuz I'm missing the utf8 module?
- Mon May 30, 2016 8:52 pm
- Forum: Games and Creations
- Topic: TRÖN - test
- Replies: 9
- Views: 7302
Re: TRÖN - test
neat! A simple improvement would be to also display some instructions when you display "press Enter" or whatever. i.e.
Controls (in white. Maybe with a line drawn underneath)
Red: WASD (in red)
Green: arrow keys (in green)
Controls (in white. Maybe with a line drawn underneath)
Red: WASD (in red)
Green: arrow keys (in green)
- Tue Feb 02, 2016 10:42 pm
- Forum: Support and Development
- Topic: Developing a JRPG
- Replies: 4
- Views: 4337
Re: Developing a JRPG
I use "scenes." The scenes can then call upon other entities, like people, places, etc. This way if a place or person is affected in a previous scene, the current scene will automatically consider that effect. So in the callback functions (like love.draw() and love.update(dt)), I have func...
- Tue Feb 02, 2016 10:33 pm
- Forum: Support and Development
- Topic: Program and Chill? We don't have to put a label on it.
- Replies: 5
- Views: 2685
Re: Program and Chill? We don't have to put a label on it.
I'm up for chilling and programming. Count me in.
- Sat Aug 08, 2015 9:24 am
- Forum: Libraries and Tools
- Topic: Süsse, awesome sprite sheet editor
- Replies: 34
- Views: 34479
Re: Super Ultra Mega Fantastic Sprite Editor
Looks amazing! I'm not up to date on the project, but one issue I found in the .love posted above is that when drawing a sprite-frame, when the mouse draws outside the designated box (), the user is still apparently drawing onto the sprite sheet. Beyond that, I still don't fully understand what all ...
- Sat May 09, 2015 10:13 am
- Forum: Support and Development
- Topic: Sounds that repeat and overlap
- Replies: 5
- Views: 3159
Re: Sounds that repeat and overlap
This advice is a bit outdated. It is true that you need multiple sources, if you want to play one sound multiple time at the same time. But you don't need SoundData. Instead you can create a source once and then clone it, whenever necessary. Would this be the correct way to implement it? function l...
- Fri May 08, 2015 11:14 am
- Forum: Support and Development
- Topic: Sounds that repeat and overlap
- Replies: 5
- Views: 3159
Sounds that repeat and overlap
How can I call a sound that may repeat and overlap, for instance, when hitting a target multiple times in quick succession? Currently I'm using local sfx =love.sound.newSoundData( 'sounds/sfx2.wav' ) slider.sound = love.audio.newSource(sfx) And calling love.audio.play(sound) To see the problem, try ...
- Mon May 19, 2014 4:20 am
- Forum: Support and Development
- Topic: lots of 3D questions
- Replies: 1
- Views: 1223
lots of 3D questions
The attached love file (depth and draw order problems) shows where I'm at at the moment, and I suppose I have two pressing questions: 1) How do you handle the "off into the horizon" location, and 2) How do you determine the order in which objects are drawn? I should also mention that I hav...