Search found 91 matches

by artofwork
Tue Nov 11, 2014 1:16 pm
Forum: Support and Development
Topic: Can't get love frames to work
Replies: 4
Views: 5306

Re: Can't get love frames to work

I tried it out and it opened up and then crashed, then i went into the main.lua file and changed table to tables on both lines 5 & 16 after that it ran without error. Other than that there is no code to do anything else, those errors might be from you using a different version of love because i ...
by artofwork
Tue Oct 14, 2014 6:42 pm
Forum: Libraries and Tools
Topic: Create Character From Inline Sprite Sheet
Replies: 2
Views: 1963

Re: Create Character From Inline Sprite Sheet

Sorry, can't really determine what you are trying to accomplish. Code obviously quite incomplete. The code is complete, it was a release of a function I made to generate a sprite from a sprite sheet, I just wrote something that helped me and was sharing it :) Your code is good for non-playable char...
by artofwork
Sat Oct 11, 2014 10:50 pm
Forum: Support and Development
Topic: Overwrite Data
Replies: 14
Views: 9693

Re: Overwrite Data

In Entity.lua in its constructor line 15 self.info is not a table, it is a table but it doesn't contain a property called GUID self.info = t.info but here on line 68 function Entity:setGUID(id) self.info.GUID = id end and line 80 function Entity:getGUID() return self.info.GUID end I'm surprised it r...
by artofwork
Sat Oct 11, 2014 10:23 pm
Forum: General
Topic: Using LUBE
Replies: 4
Views: 3804

Re: Using LUBE

I don't see anything in the sources that would prevent it from not working since its written in lua and from what i gather has no code relating to the love2d framework
by artofwork
Sat Oct 11, 2014 10:12 pm
Forum: Support and Development
Topic: Overwrite Data
Replies: 14
Views: 9693

Re: Overwrite Data

This is just a quick look, I wasn't able to run the program because my systems doesn't support shaders however if you look at init.lua on line 135 in src\data\ tU:setGUID(1) on line 139 you set tu to nil tU = nil and then on line 145 you set a new value tU:setGUID(645969) Lua will return the last va...
by artofwork
Sat Oct 11, 2014 9:05 am
Forum: Libraries and Tools
Topic: Create Character From Inline Sprite Sheet
Replies: 2
Views: 1963

Create Character From Inline Sprite Sheet

I wrote this function help me load a character on a map from a zelda sprite sheet that i made from some images in paint It was tested with a inline sprite sheet where each each directions consisted of 7 frames and where each frame was 16 pixels in width & 26 pixels in height. It will work with a...
by artofwork
Sat Oct 11, 2014 7:51 am
Forum: Support and Development
Topic: Loading File by Game State
Replies: 5
Views: 3170

Re: Loading File by Game State

Use conditions, true or false values can be used as a flag system to enable or disable data in an application. The if / elseif are specific conditions but the else is the default if the if / elseif are not met -- use single if statements if obj1.state == true then gamestate = "whatever state&qu...
by artofwork
Sat Oct 11, 2014 4:38 am
Forum: Support and Development
Topic: Loading File by Game State
Replies: 5
Views: 3170

Re: Loading File by Game State

Programming is more then just copying and pasting code onto the screen, there is also more involved then following a tutorial or editing values. You have to understand how the syntax of the language and the structure of the framework works to effectively & logically write an application. To buil...
by artofwork
Fri Oct 10, 2014 7:50 pm
Forum: Support and Development
Topic: Capture causes crashes
Replies: 6
Views: 2779

Re: Capture causes crashes

We Love .love files.. or code, so please post the code or a love file, then it will be easier to help you :)
by artofwork
Fri Oct 10, 2014 7:23 pm
Forum: Support and Development
Topic: Some Questions about Love.
Replies: 4
Views: 3014

Re: Some Questions about Love.

If i learn Love, that means that i will know how to use the Lua language on other engines like Roblox, gmod mods and job? Love2d is a framework that uses the Lua scripting language while producing some amazing shit :) Just like JQuery is a framework that uses JavaScript, Love2d is a method or libra...