Search found 87 matches
- Sun Jul 31, 2016 7:31 pm
- Forum: Support and Development
- Topic: [Custom] Physics Objects
- Replies: 4
- Views: 2670
Re: [Custom] Physics Objects
Could you do something like this? function love.physics.newRectangleImageShape(image) local shape = love.physics.newRectangleShape(image:getWidth(),image:getHeight()) shape.image = image shape.drawImage = function(self,x,y) love.graphics.draw(self.image,x,y) end return shape end then in love.draw si...
- Sun Jul 31, 2016 5:29 pm
- Forum: Support and Development
- Topic: Trying to make a raycaster
- Replies: 4
- Views: 3691
Re: Trying to make a raycaster
I think you need to somehow get all the rays from the player to the corners of each rectangle shape and fill in the spaces in between so the sides look straight and the edges well defined.
- Thu Jul 28, 2016 12:07 am
- Forum: Support and Development
- Topic: Change HUMP Time delay
- Replies: 1
- Views: 1953
Re: Change HUMP Time delay
Timer:delayTime() is equivalent to Timer.delayTime(self)
In your code above you define the method using : but then you call it with . which I'm guessing is a typo where you meant : so currently the function you're calling doesn't exist so the field is a nil value.
In your code above you define the method using : but then you call it with . which I'm guessing is a typo where you meant : so currently the function you're calling doesn't exist so the field is a nil value.
- Sun Jul 24, 2016 9:30 am
- Forum: Support and Development
- Topic: Love2D I/O to any directory?
- Replies: 12
- Views: 6728
Re: Love2D I/O to any directory?
Wouldn't you need different binaries again for Android and iOS?
- Sat Jul 23, 2016 10:29 pm
- Forum: Support and Development
- Topic: [Solved] Unintentionally synced tables?
- Replies: 4
- Views: 2186
Re: Unintentionally synced tables?
Omg that might be it. I want to replicate all the key value pairs there then over ride the x and y which as I've done it currently must be passing the reference of the sub table!
Edit: Aha the very pass by reference I thought was the problem was still the problem.
Edit: Aha the very pass by reference I thought was the problem was still the problem.
- Sat Jul 23, 2016 9:53 pm
- Forum: Support and Development
- Topic: Love2D I/O to any directory?
- Replies: 12
- Views: 6728
Re: Love2D I/O to any directory?
I thought this was the entire file available with no further dependencies: https://gitlab.com/Zatherz/minifs/blob/ ... minifs.lua
Edit: ooooh nvm
Edit: ooooh nvm
- Sat Jul 23, 2016 9:50 pm
- Forum: Support and Development
- Topic: [Solved] Unintentionally synced tables?
- Replies: 4
- Views: 2186
[Solved] Unintentionally synced tables?
So I was having loads of issues with two tables where one started as a copy of the other due to Lua's pass by reference I later found out about. Having understood that, the issues don't seem to go away. I've got a table with user input data in passed to a function and I want to make a second table w...
- Wed Jul 13, 2016 7:30 pm
- Forum: Support and Development
- Topic: hump.camera and SUIT - mouse position problems.
- Replies: 4
- Views: 4001
Re: hump.camera and SUIT - mouse position problems.
Hump.camera can translate between window coordinates and camera coordinates. You need to translate accordingly before your SUIT buttons are told coordinates. If you need code examples you could look at my menu system where I've done just that - though not with the added step of managing around a GUI...
- Tue Jul 12, 2016 8:25 pm
- Forum: Support and Development
- Topic: Love2D I/O to any directory?
- Replies: 12
- Views: 6728
Re: Love2D I/O to any directory?
This should be what you want: https://m.reddit.com/r/love2d/comments/ ... mpact=true
I haven't personally used it yet however
I haven't personally used it yet however
- Sat Jul 09, 2016 11:28 am
- Forum: Support and Development
- Topic: "Questions that don't deserve their own thread" thread
- Replies: 905
- Views: 409899
Re: "Questions that don't deserve their own thread" thread
Thanks for the links it's got me much further along and lua rocks seems to be able to install some rocks now but still not love-release I do intend to get a Linux system up and running but I need a hard drive to put it on first. :/ Anyway so I added a load of things to the PATH so command prompt can...