Search found 18 matches

by ITISITHEBKID
Sat Nov 03, 2018 8:42 pm
Forum: Support and Development
Topic: Why are these variables not increasing [SOLVED]
Replies: 3
Views: 3292

Thanks for your answers, with your help I fixed the problem
by ITISITHEBKID
Sat Nov 03, 2018 8:01 pm
Forum: Support and Development
Topic: Why are these variables not increasing [SOLVED]
Replies: 3
Views: 3292

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?
by ITISITHEBKID
Sat Aug 25, 2018 1:54 pm
Forum: Support and Development
Topic: Game Resolution
Replies: 3
Views: 3008

Re: Game Resolution

zorg wrote: Fri Aug 24, 2018 3:49 pm - Showing more of the world on one axis on screens not with the intended aspect ratio;
Thanks for your reply! I will use this solution.
by ITISITHEBKID
Thu Aug 23, 2018 7:02 pm
Forum: Support and Development
Topic: Game Resolution
Replies: 3
Views: 3008

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?
by ITISITHEBKID
Wed Jul 18, 2018 4:01 pm
Forum: Support and Development
Topic: Optomizing a Dijikstra Map
Replies: 2
Views: 2718

Re: Optomizing a Dijikstra Square

ivan wrote: Sat Jul 07, 2018 4:26 pm ~Snipped
Thanks a ton! I implemented a ton of fixes, and even removed recalc_map. Now it runs as smooth as butter.
by ITISITHEBKID
Sat Jul 07, 2018 1:34 pm
Forum: Support and Development
Topic: Optomizing a Dijikstra Map
Replies: 2
Views: 2718

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...
by ITISITHEBKID
Sat Jun 23, 2018 5:02 pm
Forum: Support and Development
Topic: How do I only color part of a string?
Replies: 1
Views: 2760

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 ...
by ITISITHEBKID
Thu May 31, 2018 2:32 am
Forum: Support and Development
Topic: pausing messing up bullet acceleration
Replies: 13
Views: 7438

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)...
by ITISITHEBKID
Thu May 31, 2018 12:09 am
Forum: Support and Development
Topic: pausing messing up bullet acceleration
Replies: 13
Views: 7438

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 ...
by ITISITHEBKID
Tue May 29, 2018 1:35 am
Forum: Support and Development
Topic: pausing messing up bullet acceleration
Replies: 13
Views: 7438

Re: pausing messing up bullet acceleration

I have implemented the changes, but it still does not work properly.