Search found 47 matches

by JJSax
Fri Apr 24, 2020 5:56 am
Forum: Support and Development
Topic: Hey I have an error and I don't know what to do
Replies: 2
Views: 2251

Re: Hey I have an error and I don't know what to do

It sounds like push isn't a file in your project. In the same path as the main.lua file you're running, you should see push.lua that is your push file.
by JJSax
Sat Feb 08, 2020 6:34 am
Forum: Support and Development
Topic: Help with multiple "enemies" [Solved]
Replies: 4
Views: 4830

Re: Help with multiple "enemies"

As stated by Sky_Render, there is a lot of ways to implement this and I too recommend reading up on Lua Tables I find using metatables very handy for stuff like this, but that is more advanced and might be confusing if you're new to Lua. My understanding of your game is similar to games where you mo...
by JJSax
Thu Jan 30, 2020 3:06 am
Forum: Support and Development
Topic: [SOLVED][STI]crash when map:resize
Replies: 8
Views: 6328

Re: [STI]crash when map:resize

Pls forgive a sleepy dog:P I have changed the code and attached the runable love file. You are definitely forgiven. I'll preface this by saying I'm not an expert. But I think I fixed it and I have a theory of why it works. It didn't crash right away and just eventually had the error. I dug into the...
by JJSax
Thu Jan 30, 2020 2:04 am
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 469972

Re: Groverburger's Super Simple 3D Engine - v1.3

Could be Z fighting. When you have two faces very close to each other, with one occluding the other (i.e. covering it so it's not visible), the 3D system will try to find which one is closest to the camera, but on doing that, since the longer the distance the worse the precision of floats, it can h...
by JJSax
Thu Jan 30, 2020 1:20 am
Forum: Support and Development
Topic: [SOLVED][STI]crash when map:resize
Replies: 8
Views: 6328

Re: [STI]crash when map:resize

I'm not seeing anywhere in there where it calls map:resize(). Perhaps you copied over the code that isn't crashing by mistake. It would surely help to see how you're calling it as well.

Edit: also let us know what the error you're getting is.
by JJSax
Wed Jan 29, 2020 5:44 am
Forum: Support and Development
Topic: Trouble returning tables from a separate file
Replies: 3
Views: 2769

Re: Trouble returning tables from a separate file

To expand on pgimeno's code, you possibly might be thinking about this return { name = "Dungeon Floor 1", map = { [1] = { 0,1,1,1,0,1,1,2, 0,1,0,1,0,1,0,0, 0,0,1,1,0,1,1,1, 1,1,1,0,1,1,0,1, 1,0,1,1,0,1,1,0, 1,1,1,0,0,1,0,1, 0,1,0,1,1,1,1,1, 1,1,1,1,0,1,1,0 }, [2] = { desc="Corridor&qu...
by JJSax
Tue Jan 28, 2020 6:47 pm
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 469972

Re: Groverburger's Super Simple 3D Engine - v1.3

I created a simple sphere in blender and am trying to use it in my scene. Half the triangle faces are missing however. Anyone know how to fix this? Maybe you doesn't check "Triangulate Faces" in Export options? That was it!!!!! I'm the noobest of noobs at blender. Maybe you know this as w...
by JJSax
Mon Jan 27, 2020 4:40 am
Forum: Support and Development
Topic: mobile,start menu using love.touchpressed
Replies: 1
Views: 1617

Re: mobile,start menu using love.touchpressed

There is a few syntax errors in love.touchpressed where you say "if if" and a comma in the first newImage(), but I think that's just from you typing it out. note that I am on PC, not phone and I converted love.touchpressed to love.mousepressed. Similar functions. After I fixed the typos, i...
by JJSax
Sun Jan 26, 2020 5:29 am
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 469972

Re: Groverburger's Super Simple 3D Engine - v1.3

I created a simple sphere in blender and am trying to use it in my scene. Half the triangle faces are missing however. Anyone know how to fix this?
by JJSax
Wed Oct 30, 2019 5:59 pm
Forum: Support and Development
Topic: Independent Particle Colors
Replies: 11
Views: 11792

Re: Independent Particle Colors

Why dont you just make a table that holds all the confetti particles, update all of them for things like movement of the confetti particles and then draw all of them using a SpriteBatch, setting thier individual colors with SpriteBatch:setColor( r, g, b, a )? You mean something like creating a tabl...