Search found 17 matches

by harrison
Fri May 08, 2020 12:57 pm
Forum: General
Topic: How to spawn particles around a circle?
Replies: 1
Views: 2867

How to spawn particles around a circle?

Hi guys, I'm trying to create an effect where particles spawn around (but not inside) a circle. Sorta like the particles that spawn when a pokemon is caught. At first I thought I could do this by setting an offset, but I don't see any option to only spawn particles a certain distance away from the e...
by harrison
Mon Sep 03, 2018 9:59 pm
Forum: General
Topic: Trouble With Shadows / Raycasting with Physics and Shaders
Replies: 2
Views: 2124

Trouble With Shadows / Raycasting with Physics and Shaders

I am trying to set up a extremely basic shadow system using physics (for raycasting shapes) and shaders (for the shadows). This is what I have so far but I am stuck on a couple things. 1. How do I get my array of shadow/bright from lua into the shader? I have heard of Shader:send() but it says it on...
by harrison
Wed Jun 20, 2018 7:49 am
Forum: Support and Development
Topic: I can't figure out this lua error ("= expected") - possibly middleclass?
Replies: 4
Views: 2338

Re: I can't figure out this lua error ("= expected") - possibly middleclass?

whoops, I missed that in my excitement. Thanks for the help guys.
by harrison
Wed Jun 20, 2018 3:49 am
Forum: Support and Development
Topic: I can't figure out this lua error ("= expected") - possibly middleclass?
Replies: 4
Views: 2338

Re: I can't figure out this lua error ("= expected") - possibly middleclass?

Thank you so much, I re-made the file and it works now :D
The file must have gotten corrupted but the corruption didn't show up in notepad++ or even notepad somehow.
I am currently using Notepad++ as my editor. What program do you use?
by harrison
Wed Jun 20, 2018 2:00 am
Forum: Support and Development
Topic: I can't figure out this lua error ("= expected") - possibly middleclass?
Replies: 4
Views: 2338

I can't figure out this lua error ("= expected") - possibly middleclass?

I made a mistake with my lua coding while I was updating my program and now it won't launch anymore for some reason. When I try to launch the program, it throws this error: Error Syntax error: main.lua:1: '=' expected Traceback [C]: at 0x7ffe06762f00 [C]: in function 'require' [C]: in function 'xpca...
by harrison
Wed Aug 02, 2017 4:05 am
Forum: Support and Development
Topic: Speed up .mp3 music in love
Replies: 5
Views: 1743

Re: Speed up .mp3 music in love

But if I set the pitch to be higher, it will make my music all squeaky, won't it? Sorry if I have an incorrect understanding of pitch, I don't know much about music.
by harrison
Wed Aug 02, 2017 2:30 am
Forum: Support and Development
Topic: Speed up .mp3 music in love
Replies: 5
Views: 1743

Speed up .mp3 music in love

I need to somehow tell my background music to speed up during execution. Is there a way to tell the engine to "play this .mp3 file at 1.34 times speed"? If I can't figure this out I will have to reprogram my game with a different game engine :death: relevant thread from 2014 where people said it was...
by harrison
Thu Aug 18, 2016 3:55 am
Forum: Support and Development
Topic: Scrolling Background Function - Self is a nil Value
Replies: 2
Views: 1091

Re: Scrolling Background Function - Self is a nil Value

Take a closer look at that line. Aha! Thank you so much! :ultraglee: I forgot to pass self into the function and was using a . instead of a : I am not used to my errors occurring outside of the file i am in, so I usually just ignore the traces. That's why I was missing it. I will remember to do tha...
by harrison
Thu Aug 18, 2016 3:09 am
Forum: Support and Development
Topic: Scrolling Background Function - Self is a nil Value
Replies: 2
Views: 1091

Scrolling Background Function - Self is a nil Value

I cannot figure this out, my local self table seems to be disappearing into thin air for no apparent reason. I think this is a pure lua error, I don't think it is the result of me abusing love. I am probably just missing something obvious but I have been trying to figure out why this is for half an ...
by harrison
Wed Jul 13, 2016 7:26 pm
Forum: General
Topic: questions: making a Server in LOVE2D/ making a multiplayer game questions
Replies: 15
Views: 7890

Re: questions: making a Server in LOVE2D/ making a multiplayer game questions

Also be sure to check out LogMeIn Hamachi if you want to test out your server out with friends before/instead of port forwarding it. P.S. Don't make your first networking game an MMO - save that for later. Start with simple little babby programs like an online chat program or pong so you can get the...