Hey, I was wondering if you guys can give me some tips on how to write cleaner code and some personal things you do to make things easier for you.
Thanks.
Search found 71 matches
- Thu Oct 13, 2016 1:03 am
- Forum: Support and Development
- Topic: Neatness tips...
- Replies: 5
- Views: 2994
- Sat Oct 08, 2016 10:54 pm
- Forum: Support and Development
- Topic: Image flipping
- Replies: 2
- Views: 2269
Re: Image flipping
This has been asked many times, but basically you either use the [wiki]love.graphics.scale[/wiki] or the alternative scale (sx, sy) in [wiki]love.graphics.draw[/wiki] with negative values. So if you want to mirror horizontally you set sx to -1 and if you want to mirror vertically you set sy to -1 T...
- Sat Oct 08, 2016 10:15 pm
- Forum: Support and Development
- Topic: Image flipping
- Replies: 2
- Views: 2269
Image flipping
Hello and thanks for reading this!
anyways how do i flip an image so i dont have to make 2 sprites for going left and right?
thanks.
anyways how do i flip an image so i dont have to make 2 sprites for going left and right?
thanks.
- Mon Aug 22, 2016 5:50 pm
- Forum: Support and Development
- Topic: Gamejolt achievements and highscores
- Replies: 4
- Views: 2625
Re: Gamejolt achievements and highscores
I looked at a different post, this is a lot easier to do thanks!zorg wrote:Probably this: viewtopic.php?f=5&t=79618&hilit=gamejolt+api
I looked at the github link, didn't seem too complicated.
- Mon Aug 22, 2016 6:23 am
- Forum: Support and Development
- Topic: Gamejolt achievements and highscores
- Replies: 4
- Views: 2625
Gamejolt achievements and highscores
What is the easiest way to add game jolt achievements and high scores, I have seen a post about this but I was wondering if there was an easier way.
Thanks.
Thanks.
- Sat Aug 13, 2016 2:31 am
- Forum: Support and Development
- Topic: love.window.setMode() help.
- Replies: 2
- Views: 2269
Re: love.window.setMode() help.
Thanks!Croutonix wrote:Code: Select all
love.window.setMode(width, height, {borderless=true})
- Fri Aug 12, 2016 10:18 pm
- Forum: Support and Development
- Topic: love.window.setMode() help.
- Replies: 2
- Views: 2269
love.window.setMode() help.
i have been playing around with love.window and i want my window to be borderless when i try to do this with this code:
im confused on why this wont work.
i have tried this in conf.lua and main.lua.
thanks.
Code: Select all
love.window.setMode(borderless (true))
i have tried this in conf.lua and main.lua.
thanks.
- Wed Aug 03, 2016 2:13 pm
- Forum: Games and Creations
- Topic: my first "real" game(Bomb_Factory)
- Replies: 3
- Views: 3470
Re: my first "real" game(Bomb_Factory)
It's a fun little game. Encountered a few weird glitches (infinite screenshake at one point), and the help screen is unreadable (white text on white bg). I can second the infinite screen shaking, the game paused for a second (once) and then the shaking started. I didn't have any problems with the h...
- Tue Aug 02, 2016 8:57 pm
- Forum: Games and Creations
- Topic: my first "real" game(Bomb_Factory)
- Replies: 3
- Views: 3470
my first "real" game(Bomb_Factory)
I have worked on this for two weeks, enjoy!
Give feedback and critiques.
i might release another version to fix some things and also to add some things.
- Mon Aug 01, 2016 2:48 am
- Forum: Libraries and Tools
- Topic: Konami; a library to add Konami like cheatcodes.
- Replies: 2
- Views: 2210
Re: Konami; a library to add Konami like cheatcodes.
Pangit wrote:Just sayin'...
https://www.love2d.org/forums/viewtopic.php?f=5&t=81677
https://github.com/farzher/cheatcode.lua
This is nice and simple used the other one, I don't like the big mess it's makes.