Search found 74 matches

by Lacotemale
Mon Jul 22, 2019 7:26 pm
Forum: Games and Creations
Topic: Possession (formerly Possession 2) - Release Date: July 18th!
Replies: 90
Views: 88522

Re: Possession (formerly Possession 2) - Release Date: July 18th!

@Rickton - First of all, I've logged in specifically to give congrats on the game release. Its very inspiring to see a person launch a game due to sheer determination and belief in the end goal. Where do I submit bug reports? The demo crashed on me earlier and I don't know how to let you know other ...
by Lacotemale
Wed Apr 27, 2016 2:11 pm
Forum: Libraries and Tools
Topic: Simple Buttons
Replies: 7
Views: 2601

Re: Simple Buttons

Funnily enough I created my own button framework a while back. I also had many options such as colours, borders, background colours/images. I was working on a scrollarea next but after a while I decided to stop working on my project because I realized I really didn't know what I was doing. XD I deci...
by Lacotemale
Mon Feb 01, 2016 2:15 pm
Forum: Support and Development
Topic: Scope Issue?
Replies: 5
Views: 852

Re: Scope Issue?

Oh dear that was embarrassing! :oops: Thanks!
by Lacotemale
Mon Feb 01, 2016 11:49 am
Forum: Support and Development
Topic: Scope Issue?
Replies: 5
Views: 852

Re: Scope Issue?

Why does return not work from external files? Responsive {} function Responsive:getCoordsByPercent(percentW, percentH) self.width, self.height = love.graphics.getDimensions( ) self.w = (self.width/100)*percentW self.h = (self.height/100)*percentH return self.w,self.h end Called by: plrX, plrY = Resp...
by Lacotemale
Sun Jan 31, 2016 11:52 am
Forum: Support and Development
Topic: Scope Issue?
Replies: 5
Views: 852

Re: Scope Issue?

Wow, thanks dude! :awesome:

I think self was the missing piece of the puzzle. I kept trying "this.var" but I spend too long on Javascript these days and not enough time on other languages. Now time to restructure my whole codebase so I feel I can get back working on this. :ultrahappy:
by Lacotemale
Sat Jan 30, 2016 8:45 am
Forum: Support and Development
Topic: Scope Issue?
Replies: 5
Views: 852

Scope Issue?

Hey all, So I've been working on a crappy RPG game for a while and progress was going well until I realized my code was just turning into a dogs dinner to put it politely. Its an absolute mess in my main and menu lua files. I wanted to start cleaning up the main.lua file, so I've moved some collisio...
by Lacotemale
Mon Sep 28, 2015 9:17 pm
Forum: Support and Development
Topic: When do you need a StateManager?
Replies: 8
Views: 1215

Re: When do you need a StateManager?

So essentially a statemanager is like a table with a getter and setter for the current state? I was thinking of writing one like that and putting a hook into the draw and update love functions to also run my state checking code. However, I was looking at the LovelyMoon lib which seems to do things r...
by Lacotemale
Mon Sep 28, 2015 9:49 am
Forum: Support and Development
Topic: When do you need a StateManager?
Replies: 8
Views: 1215

When do you need a StateManager?

So Ive come to the point in my game of doing menus and such. I started doing something like to this allow certain actions depending on what screen you are on. state = 'mainmenu' Then on another area: If state == 'mainmenu' then --blah end What is the difference between doing this and using a statema...
by Lacotemale
Sat Sep 26, 2015 1:57 pm
Forum: General
Topic: No Motivation...
Replies: 29
Views: 4671

Re: No Motivation...

This is so me right here. So many ideas, so many projects started and so many abandoned projects. Lots of the time my code becomes a mess and I find it hard to continue working on it. I find it hard to solve this issue as usually I don't know how to restructure my codebase. Other times its because w...
by Lacotemale
Wed May 20, 2015 8:53 pm
Forum: Support and Development
Topic: Saving objects
Replies: 18
Views: 2046

Re: Saving objects

Decided to not use register resource on items since all that stuff is too dynamic but using it in cases where the image is attached to an object. (Not dynamic)

This approach is much better and working well. Apologies for all the posts. xD