Search found 59 matches
- Sun Sep 16, 2018 1:24 pm
- Forum: Games and Creations
- Topic: Wÿld Ünÿcÿrns - A music-based shooterlike game made for music game jam 2018
- Replies: 5
- Views: 4635
Wÿld Ünÿcÿrns - A music-based shooterlike game made for music game jam 2018
Hi everyone! A friend and I have been extremely busy over the last two weeks making our submission for Music Game Jam 2018! We ran out of time to do half the features we wanted to, but in the end we managed to get it to a playable and (hopefully!) fun state, with two complete levels. The entirety of...
- Wed Sep 12, 2018 4:00 pm
- Forum: Support and Development
- Topic: how to stretch image out from center like w/ skins / theming?
- Replies: 6
- Views: 4047
Re: how to stretch image out from center like w/ skins / theming?
Hi girng (I think) what you're referring to is 9-slicing . It's possible in any language. Using that term I'm sure you can find tutorials on how to do it. Off the top of my head, in Love2d I'd just use a mesh taking care of the coords and uv coords - you could do it "manually" with a bunch...
- Tue Sep 04, 2018 8:52 am
- Forum: General
- Topic: Trouble With Shadows / Raycasting with Physics and Shaders
- Replies: 2
- Views: 3906
Re: Trouble With Shadows / Raycasting with Physics and Shaders
Can't help you with point 2, but for point 1, store the array data in a texture - it can be 1 pixel high and n pixels wide, send that to the shader with shader:send. The shader can then read it using the Texel() function.
- Mon Sep 03, 2018 8:07 am
- Forum: Support and Development
- Topic: LÖVE touch on PC
- Replies: 4
- Views: 3064
Re: LÖVE touch on PC
I've never tried it, but it should be easy enough to do.
All of the mouse events have an "istouch" parameter. If that's true then you can ignore it, in your case, and use the touch events instead.
All of the mouse events have an "istouch" parameter. If that's true then you can ignore it, in your case, and use the touch events instead.
- Fri Jul 27, 2018 9:01 am
- Forum: General
- Topic: Player diagonal speed
- Replies: 3
- Views: 4253
Re: Player diagonal speed
[...] Player.x = (Player.y ~= 0) and (Player.x * 0.7071) or (Player.x) Player.y = (Player.x ~= 0) and (Player.y * 0.7071) or (Player.y) [...] Unless I'm misunderstanding this, in OP's original code Player.x and Player.y represented the position of the player, the code you've written there assumes t...
- Fri May 18, 2018 6:25 pm
- Forum: Support and Development
- Topic: Is asking for code review here in bad taste?
- Replies: 6
- Views: 4385
Re: Is asking for code review here in bad taste?
Post it and see!
- Thu May 17, 2018 9:06 am
- Forum: Support and Development
- Topic: getting : boot.lua:481: Cannot load game at path in windows
- Replies: 9
- Views: 7271
Re: getting : boot.lua:481: Cannot load game at path in windows
Good point!zorg wrote:One thing though, you zip up the contents of the folder, not the folder itself.
- Thu May 17, 2018 8:06 am
- Forum: Support and Development
- Topic: getting : boot.lua:481: Cannot load game at path in windows
- Replies: 9
- Views: 7271
Re: getting : boot.lua:481: Cannot load game at path in windows
A completed project will contain several .lua files, and it needs to be able to determine which is the entry point. Remember that a .love file is actually a .zip containing all the source files and resources. Love2d does this by specifying that the file called "main.lua" is the entry point...
- Tue May 15, 2018 2:37 pm
- Forum: General
- Topic: TD tower types
- Replies: 5
- Views: 7040
Re: TD tower types
Exactly! The linking towers together mechanic seems really promising.Basically you have to have barbed tower on two sides.
I'd go with a message/event system myself - would be more flexibleIn my experience there are two basic ways to implement so much variety.
- Tue May 15, 2018 11:15 am
- Forum: General
- Topic: TD tower types
- Replies: 5
- Views: 7040
Re: TD tower types
My initial thought is - holy cow that's a lot of towers. As in - it took me a while to read through them all, so I've got to ask - have you considered how you're going to display these to the player for selection? I know you said you start with a limited selection, but assuming you unlock them, is i...