Search found 38 matches

by EngineerSmith
Tue Feb 08, 2022 6:38 pm
Forum: Support and Development
Topic: Game crashes for unknown reason
Replies: 3
Views: 2382

Re: Game crashes for unknown reason

From the looks of the videos at that timestamp - it has something to do with those dust particles if you want to start searching there or something to do with walking into a wall.
by EngineerSmith
Fri Feb 04, 2022 2:28 am
Forum: Libraries and Tools
Topic: Runtime Texture Atlas (RTA) + CL tool
Replies: 0
Views: 10124

Runtime Texture Atlas (RTA) + CL tool

Runtime Texture Atlas, or RTA, is designed to pack your images into an atlas at runtime to help improve asset management and performance in Love! Get the latest version from the git repo with documentation in the readme, + examples. https://github.com/EngineerSmith/Runtime-TextureAtlas There are two...
by EngineerSmith
Wed Feb 02, 2022 12:35 pm
Forum: Support and Development
Topic: error i encountered while working on a project (solved)
Replies: 8
Views: 3549

Re: error i encountered while working on a project

That's a big update loop. You should check out ways to split your code into multiple files so you don't end up with a blob file like this and it's much more manageable/maintainable.

There's an end missing on Ln375
by EngineerSmith
Fri Jan 28, 2022 11:16 pm
Forum: Support and Development
Topic: Can someone help me with moving a memory address
Replies: 2
Views: 1427

Re: Can someone help me with moving a memory address

local threadCode = [[ -- Receive values sent via thread:start local bytedata = ... local ffi = require("ffi") ffi.cdef(" typedef long map[10000000]; void* malloc(size_t); void free(void*);") local map = ffi.cast("map(&)", bytedata) print("THREAD", map[7])...
by EngineerSmith
Fri Jan 28, 2022 8:48 pm
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 478778

Re: Groverburger's 3D Engine (g3d) v1.5.1 Release

You'd just load the .mtl file instead of a .png file and it would parse the .mtl file instead. (I only want the face color definitions, not trying to replicate stuff like shiny metal or rough brick textures or whatever) I could probably try and figure it out myself. Honestly, if you want a really s...
by EngineerSmith
Fri Jan 28, 2022 9:42 am
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 478778

Re: Groverburger's 3D Engine (g3d) v1.5.1 Release

You can easily switch to z up by importing your model into blender, and then when exporting an option for z-up will appear (you can also triangulate faces as an option if they're not yet). MTL files can be supported - but it will means g3d will have to shift it's idea of what a model is. A model wou...
by EngineerSmith
Wed Jan 26, 2022 1:41 pm
Forum: Support and Development
Topic: love.filesystem.getInfo
Replies: 5
Views: 2701

Re: love.filesystem.getInfo

It is already a note on https://love2d.org/wiki/love.filesystem it's a little hidden at the bottom; being the 2nd paragraph from the bottom before "Types"
by EngineerSmith
Tue Jan 18, 2022 7:37 pm
Forum: Support and Development
Topic: How to draw color emojis with love.graphics.print()
Replies: 38
Views: 28895

Re: How to draw color emojis with love.graphics.print()

Not even Unity natively supports emojis (and possibly Unreal, couldn't find out from my googles if it does or not). Most games I've played don't do full emoji support, and instead add basic emojis wrapped with colons and insert custom images at those positions (you can use libraries like sysl-text t...
by EngineerSmith
Thu Jan 13, 2022 2:18 pm
Forum: Support and Development
Topic: Image twitches when moving how to fix it ?
Replies: 2
Views: 2275

Re: Image twitches when moving how to fix it ?

The issue is with drawing it at a decimal place most likely. Should only draw at perfect integers using something along the lines of the following: math.floor(x) -- or math.ceil(x) -- example love.graphics.draw(head, math.floor(x), math.floor(y)) This will draw it correctly than it being on the edge...
by EngineerSmith
Tue Jan 11, 2022 11:52 pm
Forum: General
Topic: wiki table rows ordering issues
Replies: 5
Views: 3527

Re: wiki table rows ordering issues

Well, it is working - just not as you may expect it. It's ordered by string value from biggest to smallest in that screen grab rather than ordered by release date