Search found 18 matches
- Sat Nov 03, 2018 8:42 pm
- Forum: Support and Development
- Topic: Why are these variables not increasing [SOLVED]
- Replies: 3
- Views: 3378
- Sat Nov 03, 2018 8:01 pm
- Forum: Support and Development
- Topic: Why are these variables not increasing [SOLVED]
- Replies: 3
- Views: 3378
Why are these variables not increasing [SOLVED]
From this, I would expect x and z to increase, but for some reason they do not. Why is this?
- Sat Aug 25, 2018 1:54 pm
- Forum: Support and Development
- Topic: Game Resolution
- Replies: 3
- Views: 3167
- Thu Aug 23, 2018 7:02 pm
- Forum: Support and Development
- Topic: Game Resolution
- Replies: 3
- Views: 3167
Game Resolution
What are some good tutorials to learn about game resolution? I have a very bad understanding of it right now. I would like my game to be playable in many different resolution. Should I make all my sprites 16:9?
- Wed Jul 18, 2018 4:01 pm
- Forum: Support and Development
- Topic: Optomizing a Dijikstra Map
- Replies: 2
- Views: 2797
- Sat Jul 07, 2018 1:34 pm
- Forum: Support and Development
- Topic: Optomizing a Dijikstra Map
- Replies: 2
- Views: 2797
Optomizing a Dijikstra Map
What are ways I can optimize this? I currently runs quite slow but I need it to be speedy. Love.load & love.draw function love.load() totale = 1 Can = love.graphics.newCanvas() --initialize canvas cells = {} maplist = {} size = 20 msize = 25 creategrid(msize) end function love.draw() love.graphi...
- Sat Jun 23, 2018 5:02 pm
- Forum: Support and Development
- Topic: How do I only color part of a string?
- Replies: 1
- Views: 2980
How do I only color part of a string?
I am working on getting text to display properly within a box. It works perfectly so far, and I have properly gotten it to identify tags. The problem comes when I try to print the text to the screen. If I have "This is <Red>text<White>", the program will properly identify red and white as ...
- Thu May 31, 2018 2:32 am
- Forum: Support and Development
- Topic: pausing messing up bullet acceleration
- Replies: 13
- Views: 7696
Re: pausing messing up bullet acceleration
The lagging may be due to having 3 prints per bullet per frame. That's a lot of output to the terminal, and output to the terminal is slow. Here's what I suggested, more explicitly: - In spawnbullet, use this: -- calculate a direction vector local dirx = math.cos(angle) local diry = math.sin(angle)...
- Thu May 31, 2018 12:09 am
- Forum: Support and Development
- Topic: pausing messing up bullet acceleration
- Replies: 13
- Views: 7696
Re: pausing messing up bullet acceleration
It seems you misunderstood. You need two acceleration variables in the bullet, one per axis. You need to initialize them to the sine and cosine of the angle times the desired acceleration (which varies with the pattern), similarly to how you're initializing the velocity dx and dy with the sine and ...
- Tue May 29, 2018 1:35 am
- Forum: Support and Development
- Topic: pausing messing up bullet acceleration
- Replies: 13
- Views: 7696
Re: pausing messing up bullet acceleration
I have implemented the changes, but it still does not work properly.