Search found 30 matches
- Sat Sep 28, 2024 1:39 am
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838016
Re: Simple Tiled Implementation - STI v1.2.3.0
I know this is an old post, but I'm wondering if anyone has a fix for the convertScreenToTile function that still seems to be broken for staggered isometric maps? Current implementation doesn't work as can be seen here https://imgur.com/a/FEhQXlb (gif is showcasing an attempt to delete tiles at mous...
- Sun Oct 01, 2017 12:17 pm
- Forum: Support and Development
- Topic: Why won't my rectangle go bigger than 800 x 600?
- Replies: 10
- Views: 7878
Re: Why won't my rectangle go bigger than 800 x 600?
It's almost like you failed to give us a .love file of your complete project so we could see what you did and did not modify in the lightworld library itself. :| it's almost like I was able to be able to locate the problem down to the function (love.draw/lightworld:draw()) before posting this (howe...
- Sat Sep 30, 2017 3:33 pm
- Forum: Support and Development
- Topic: Why won't my rectangle go bigger than 800 x 600?
- Replies: 10
- Views: 7878
Re: Why won't my rectangle go bigger than 800 x 600?
It's almost like that's the code for an example that comes with the library and not my code/the library itself
- Fri Sep 29, 2017 10:30 am
- Forum: Support and Development
- Topic: Why won't my rectangle go bigger than 800 x 600?
- Replies: 10
- Views: 7878
Re: Why won't my rectangle go bigger than 800 x 600?
I have my screen set to 1200x900 on start up (with resizeable set to true). Nothing happens. Here's my full love.draw() code: function love.draw() local width, height, flags = love.window.getMode( ) lightWorld:refreshScreenSize(1200,900)--nothing happens whether or not I put it inside lightWorld:dra...
- Fri Sep 29, 2017 9:57 am
- Forum: Support and Development
- Topic: Why won't my rectangle go bigger than 800 x 600?
- Replies: 10
- Views: 7878
Re: Why won't my rectangle go bigger than 800 x 600?
Can't seem to get it to do anything.
- Fri Sep 29, 2017 7:49 am
- Forum: Support and Development
- Topic: Why won't my rectangle go bigger than 800 x 600?
- Replies: 10
- Views: 7878
Why won't my rectangle go bigger than 800 x 600?
I'm trying to create a simple space simulation with a sun which has 'planets' orbiting it (and moons orbiting those planets, etc). One of the things I'm using in this project is the light and shadow engine (more specifically, the refactored version found here: https://github.com/tanema/light_world.l...
- Wed Sep 27, 2017 10:20 am
- Forum: Support and Development
- Topic: Adding a stroke/outline to a text dynamically?
- Replies: 5
- Views: 6233
Adding a stroke/outline to a text dynamically?
I'm making a text adventure framework and one of the problems I'm having is the text being hard to read on certain backgrounds (unless you set it's color to something that won't be easily obscured. This usually ends up with the text looking ugly (eg: lime green text)) I've tried getting outline shad...
- Thu Oct 09, 2014 7:08 pm
- Forum: General
- Topic: What's everyone working on? (tigsource inspired)
- Replies: 1804
- Views: 1722501
Re: What's everyone working on? (tigsource inspired)
I'm working on something that's not Love2D, making a 3D engine in Java with the lwjgl libraries with GLSL shaders.
- Thu Oct 09, 2014 7:07 pm
- Forum: General
- Topic: would this work in Love2D?
- Replies: 1
- Views: 1940
would this work in Love2D?
with a bit of change of course. This is a basic fragment shader using GLSL #version 330 in vec2 texCoord0; out vec4 fragColor; uniform vec3 baseColor; uniform sampler2D sampler; uniform vec3 ambientLight; struct BaseLight { vec3 color; float intensity; }; struct DirectionalLight { BaseLight base; ve...
- Thu Aug 28, 2014 5:43 am
- Forum: Support and Development
- Topic: how to check if mouse is over an object?
- Replies: 2
- Views: 3573
how to check if mouse is over an object?
I want to be able to grab a object in my scene, how can I check if the mouse is over a object's body?