Search found 450 matches

by MadByte
Fri Sep 01, 2017 4:03 am
Forum: Libraries and Tools
Topic: [library] bump.lua v3.1.4 - Collision Detection
Replies: 222
Views: 36040

Re: [library] bump.lua v3.1.4 - Collision Detection

thanks for your help, I appreciate it. :)

Code: Select all

self.onGround = len > 0
Im now working so long with löve but I still wasnt aware that this is a thing I could do. Shame on me and my if else constructs.
by MadByte
Wed Aug 30, 2017 8:04 pm
Forum: Support and Development
Topic: Something is wrong with my canvas. Can't spot a bug. Help? ;-;
Replies: 9
Views: 382

Re: Something is wrong with my canvas. Can't spot a bug. Help? ;-;

Nice find, you're right. Sorry about that. :nyu:
Anyway, I still think BlackDiamond should try to rethink his way of putting things togehter.
by MadByte
Wed Aug 30, 2017 7:39 pm
Forum: Support and Development
Topic: Something is wrong with my canvas. Can't spot a bug. Help? ;-;
Replies: 9
Views: 382

Re: Something is wrong with my canvas. Can't spot a bug. Help? ;-;

The problem is that you don't use classes as they meant to be used. In the main you are trying to draw the class itself what doesn't make sense. I recommend you to read a bit more about classes amd OOP in lua. Here an example how it can look like (untested code): -- Player.lua -- local Player = Clas...
by MadByte
Wed Aug 30, 2017 7:02 pm
Forum: Libraries and Tools
Topic: [library] bump.lua v3.1.4 - Collision Detection
Replies: 222
Views: 36040

Re: [library] bump.lua v3.1.4 - Collision Detection

!Edit! with workaround below it seems like "cross" doesn't allow me to teleport using world:update, while setting the filter to any of the others result in the object to teleport where I want it to go That should not happen. world:update doesn't even look at filters . If you can, please provide a ....
by MadByte
Wed Aug 30, 2017 5:57 pm
Forum: Libraries and Tools
Topic: [library] bump.lua v3.1.4 - Collision Detection
Replies: 222
Views: 36040

Re: [library] bump.lua v3.1.4 - Collision Detection

I got another question. I'm trying to teleport an object from one "portal" to another on contact using world:update(object, object.x, object.y, object.width, object.height) and the object filter set to "cross" to detect the collision without having any collision resolution (from bump). Now, for some...
by MadByte
Sun Aug 27, 2017 5:57 pm
Forum: Support and Development
Topic: [solved]Cupid in game console + OOP = no draw???
Replies: 2
Views: 188

Re: Cupid in game console + OOP = no draw???

I've never heard of that lib before. Next time you should add a link or a description. The bitbucket page of the lib says that you have to put it in the first line of your conf.lua, not in the main.lua. Seems to work kinda, at least the error catching... but pressing "~" didn't opened a console for ...
by MadByte
Sat Aug 26, 2017 7:50 pm
Forum: Support and Development
Topic: Quality difference between Canvas and direct rendering
Replies: 6
Views: 258

Re: Quality difference between Canvas and direct rendering

As said by Raidho36, in short:

Code: Select all

        love.graphics.setBlendMode("alpha", "premultiplied")
	love.graphics.draw(content)
        love.graphics.setBlendMode("alpha")
by MadByte
Sat Aug 26, 2017 5:36 pm
Forum: Games and Creations
Topic: AirTaxi [WIP]
Replies: 8
Views: 1268

Re: AirTaxi [WIP]

What problem was there with dt exactly ? You have to make sure to use dt on time relevant calculations, especially if you disable vsync and don't lock the fps.. it's used to keep the game at a constant speed while the FPS can fluctuate.. everyone's goal should be to make sure that his/her game runs...
by MadByte
Sat Aug 26, 2017 4:47 pm
Forum: Games and Creations
Topic: AirTaxi [WIP]
Replies: 8
Views: 1268

Re: AirTaxi [WIP]

Thanks for testing it. Yes there may be a problem with the delta time. I started to rewrite the game some month ago and recorderd better voices, enhanced the passenger animation... but unfortunately stopped working on it again. If you want you could try this version as well and tell me if you still ...
by MadByte
Sat Aug 26, 2017 1:34 pm
Forum: Games and Creations
Topic: [MMORPG] BrawlQuest - Part brawler, part RPG - "When should I use [spellname]?"
Replies: 6
Views: 689

Re: BrawlQuest - Part brawler, part MMORPG

Good luck with your project.
I made a quick graphic illustrating how I would imagine the overworld to look like. Maybe it's a bit of an inspiration :nyu:

Image