Search found 18 matches

by Johannes
Mon Apr 28, 2014 3:10 pm
Forum: Support and Development
Topic: Feedback Request: 2d Camera with Pan/Rotate/Zoom
Replies: 3
Views: 4451

Re: Feedback Request: 2d Camera with Pan/Rotate/Zoom

Just as an update, I changed my camera implementation and replaced my own calculations of the transformation matrix with just using love.graphics' Coordinate methods.
2d_camera_0.0.2.zip
(7.24 MiB) Downloaded 321 times
It runs 30-50% faster now :)
by Johannes
Fri Apr 25, 2014 10:13 pm
Forum: Support and Development
Topic: Space ship game help
Replies: 3
Views: 2043

Re: Space ship game help

I'm probably going to rework mine to use the built-in love.graphics. If you want to look at a library I would probably suggest checking out hump's camera instead: http://vrld.github.io/hump/#hump.camera - that's probably what I'll be using, if I don't make my own.
by Johannes
Fri Apr 25, 2014 5:12 pm
Forum: Support and Development
Topic: Space ship game help
Replies: 3
Views: 2043

Re: Space ship game help

I'm actually working on something similar (also for a space game). I got a camera working that allows you Pan/Rotate/Zoom: http://love2d.org/forums/viewtopic.php?f=4&t=77807 It basically works by generating a transformation matrix which is then applied to all x/y coordinates in the level. Take a...
by Johannes
Fri Apr 25, 2014 5:04 pm
Forum: Support and Development
Topic: Feedback Request: 2d Camera with Pan/Rotate/Zoom
Replies: 3
Views: 4451

Re: Feedback Request: 2d Camera with Pan/Rotate/Zoom

Minor Bump because it was moved from Projects to Support (thanks bartbes). Would still appreciate some feedback :)
by Johannes
Thu Apr 24, 2014 8:53 pm
Forum: Support and Development
Topic: Feedback Request: 2d Camera with Pan/Rotate/Zoom
Replies: 3
Views: 4451

Feedback Request: 2d Camera with Pan/Rotate/Zoom

Overview I have been wanting to work on a top-down space exploration/building game for a while and finally had a chance to get started on it. As a first step I wanted to try and implement a 2d camera system with zoom and rotation. I think I did a reasonably good job. but would like some feedback on...
by Johannes
Fri Jun 14, 2013 11:32 pm
Forum: Libraries and Tools
Topic: Super simple script for running love projects on mac
Replies: 21
Views: 10158

Re: Super simple script for running love projects on mac

Why not use the build system on your text editor? From the editor I use F8 (the Apple keyboard has a play icon on this key), and boom, game. I use a love alias from my .bash_profile, and even outside of the text editor I'm usually cd'd into the project dir if I'm working on it, which means "lo...
by Johannes
Thu Jun 13, 2013 2:32 pm
Forum: Support and Development
Topic: Prevent game cheating?
Replies: 13
Views: 7397

Re: Prevent game cheating?

A game in LÖVE automatically writes to the appdata directory or Library folder on Mac and some other directory on Linux. The user could easily find this folder with some research. From there they could hack their high score, etc. Is there a way to prevent this? I've tried locking the file in TextWr...
by Johannes
Thu Jun 13, 2013 11:46 am
Forum: Support and Development
Topic: Sublime text - is it possible to have live console output?
Replies: 4
Views: 5669

Re: Sublime text - is it possible to have live console outpu

Ah, I found the answer on Stack Overflow

You can make the output display live by adding the following code in your main.lua file:

Code: Select all

io.stdout:setvbuf("no")
by Johannes
Thu Jun 13, 2013 11:39 am
Forum: Support and Development
Topic: Sublime text - is it possible to have live console output?
Replies: 4
Views: 5669

Sublime text - is it possible to have live console output?

Here's a quick question for any Sublime Text 2 users For my Löve projects I'm using this build script: { "selector": "source.lua", "cmd": ["/Applications/love.app/Contents/MacOS/love", "$filepath"] } (this is for mac of course, you can check this pag...
by Johannes
Tue Jun 11, 2013 10:50 am
Forum: Libraries and Tools
Topic: Fizz X
Replies: 85
Views: 62457

Re: Fizz X

Probably doing something wrong here (still a total LUA/Löve newb) but when I try to run version 7 I get an error:
4aVRzrI.png
4aVRzrI.png (85.34 KiB) Viewed 351 times
but version 6 works just fine
gtDZbYx.png
gtDZbYx.png (39.02 KiB) Viewed 351 times