Search found 161 matches

by Bobble68
Sun May 14, 2023 8:52 am
Forum: Games and Creations
Topic: In the Heavens - Demo 0.1.12
Replies: 57
Views: 1065014

Re: In the Heavens - Demo 0.1.0

https://i.ibb.co/RHrPCPr/lovec-2023-05-14-08-26-43-80.png You see those trees? They're not sprites or quads, and it's not real 3D. All the trees you can see on screen are one big 2D mesh with repeating UV coordinates, so pretty similar to your 2D islands. It can be drawn in one single draw call. To...
by Bobble68
Sat May 13, 2023 7:16 pm
Forum: Games and Creations
Topic: In the Heavens - Demo 0.1.12
Replies: 57
Views: 1065014

Re: In the Heavens - Demo 0.1.0

It's not a massive issue but maybe a waypoint system or a map would help to remedy this. Good idea, that'll be especially needed when I eventually add other islands. I quite like how it currently doesn't have a UI, so I'll see if I can add something diegetically. Thing to note is that i have little...
by Bobble68
Sat May 13, 2023 9:06 am
Forum: Games and Creations
Topic: In the Heavens - Demo 0.1.12
Replies: 57
Views: 1065014

Re: In the Heavens - Demo 0.1.0

But as i progress FPS drops to unplayable. The lags are only in few places further after first npc. Otherwise even on old laptop (10+ years) it goes well. Hmm I'll have to look into that. The islands aren't particularly efficiently drawn, but I thought that would be something that would be constant.
by Bobble68
Fri May 12, 2023 6:51 pm
Forum: Games and Creations
Topic: In the Heavens - Demo 0.1.12
Replies: 57
Views: 1065014

In the Heavens - Demo 0.1.12

On a mysterious floating island, a silver dragon awakens... demo image.png demo image 2.png Hi peoples of the Love forums! I present to you a game that I've been working on for the last... wow really 6 months? Huh. I thought I would show off what I have already to see what people think! Currently, t...
by Bobble68
Tue May 09, 2023 11:58 am
Forum: Support and Development
Topic: Is it possible to give two different bodies different timesteps in Box2D
Replies: 5
Views: 1166

Re: Is it possible to give two different bodies different timesteps in Box2D

I've never used the Box2D, but I see the hacks to fake it: https://love2d.org/wiki/Body 1. get velocity https://love2d.org/wiki/Body:getLinearVelocity 2. get position https://love2d.org/wiki/Body:getPosition 3. calculate the dx, dy based on dt and velocity 4. move the body backwards to dx, dy to st...
by Bobble68
Sun May 07, 2023 12:23 pm
Forum: Support and Development
Topic: Is it possible to give two different bodies different timesteps in Box2D
Replies: 5
Views: 1166

Re: Is it possible to give two different bodies different timesteps in Box2D

darkfrei wrote: Sun May 07, 2023 11:48 am You are need to set the custom dt to each object,
How do I do this? I couldn't find any functions to do that
by Bobble68
Sun May 07, 2023 10:57 am
Forum: Support and Development
Topic: Is it possible to give two different bodies different timesteps in Box2D
Replies: 5
Views: 1166

Is it possible to give two different bodies different timesteps in Box2D

Hello! I've had an idea for a puzzle in my game, in which being in different areas distorts time. The way I was hoping to do this was to just give the different bodies different timesteps, so they either travel faster or slower than normal, without changing things like momentum. However, I'm not abl...
by Bobble68
Fri May 05, 2023 6:26 pm
Forum: General
Topic: A very bad idea
Replies: 5
Views: 2117

A very bad idea

water.png
water.png (408.46 KiB) Viewed 2117 times
See you in support and development
by Bobble68
Thu May 04, 2023 10:18 pm
Forum: Support and Development
Topic: Is there a limit for coordinates?
Replies: 7
Views: 1626

Re: Is there a limit for coordinates?

Box2D uses single-precision floats. These can reach a very high number, but you lose precision quickly. I bet the root of the issue is a loss of precision. At 23458 (the sign doesn't matter), you get a precision of 2^-8 (i.e. 256 subdivisions per unit), and it's likely that that's too little for th...
by Bobble68
Thu May 04, 2023 3:59 pm
Forum: Support and Development
Topic: Issues with canvases and blendmodes
Replies: 3
Views: 943

Re: Issues with canvases and blendmodes

I had a go at recreating it in a new project and found that I couldn't - after some investigating I realised the main issue is that I got my own code confused, though I am still left with some questions. The polygons have an overlay on top of them which is very similar, however its slightly transpar...