Search found 21 matches
- Mon Feb 25, 2013 6:19 pm
- Forum: Libraries and Tools
- Topic: HUMP - yet another set of helpers
- Replies: 146
- Views: 129992
Re: HUMP - yet another set of helpers
Great to hear about that update, I'll check right away! Yeah, looks fine on this end with LUBE. I'm new to Lua and even newer to classes in Lua, so this is all kind of different to me - as far as I can tell, after universe[uid] = LocalPlayer(uid, vector(x,y)) universe[uid] is a table, but it has no ...
- Mon Feb 25, 2013 3:12 pm
- Forum: Libraries and Tools
- Topic: HUMP - yet another set of helpers
- Replies: 146
- Views: 129992
Re: HUMP - yet another set of helpers
Hey vrld, I just wanted to point out a little chain of issues I was having at https://love2d.org/forums/viewtopic.php?f=4&t=18882 since they ended up being caused by some kind of incompatibility between LUBE and the latest revision of hump.class I'm not sure which library is at fault, all I know...
- Mon Feb 25, 2013 10:39 am
- Forum: Support and Development
- Topic: [SOLVED] Issues getting LUBE up and running
- Replies: 0
- Views: 1792
[SOLVED] Issues getting LUBE up and running
Hey there again, I've been having some issues getting LUBE up and running, and decided to ask here as it's a more relevant sub-forum for it: I've been trying to set up LUBE (versions 1.0 and the current dev version) with no luck - my attempts have been as follows: This is the main.lua of my test gam...
- Sun Feb 24, 2013 3:18 pm
- Forum: Libraries and Tools
- Topic: LUBE (Networking Library)
- Replies: 332
- Views: 225798
Re: LUBE (Networking Library)
I think so? Here's the entire main.lua: local Vector = require "hump.vector" local Class = require "hump.class" require "LUBE" -- for the intertubes require "player" universe = {} p = LocalPlayer(Vector(200, 200)) local client function love.load() love.graphic...
- Sun Feb 24, 2013 2:59 pm
- Forum: Libraries and Tools
- Topic: LUBE (Networking Library)
- Replies: 332
- Views: 225798
Re: LUBE (Networking Library)
I'm having trouble trying to get set up with LUBE :c, I'm using the current development version and hump.class. local Vector = require "hump.vector" local Class = require "hump.class" require "LUBE" -- for the intertubes[ require "player" After that I'm trying...
- Fri Feb 22, 2013 2:55 pm
- Forum: Support and Development
- Topic: Using hump.class from separate files
- Replies: 3
- Views: 1927
Re: Using hump.class from separate files
Thanks a lot - that definitely was my issue!
Cheers for the help, both of you!
Cheers for the help, both of you!
- Fri Feb 22, 2013 12:22 pm
- Forum: Support and Development
- Topic: Using hump.class from separate files
- Replies: 3
- Views: 1927
Using hump.class from separate files
Hey there, here's just a quick one I need some help with, having started playing around. I have a main.lua and player.lua, and the player essentially contains this: Vector = require "hump.vector" Class = require "hump.class" Player = Class{} function Player:init(pos) self.pos = p...
- Tue Dec 11, 2012 4:40 pm
- Forum: Support and Development
- Topic: Some pointers wanted regarding user created content
- Replies: 11
- Views: 6060
Re: Some pointers wanted regarding user created content
Well I was less concerned with how to go about obtaining the scripts, more about how to run them and how to allow them to interact with the game (obtain certain values from the game and also pass back instructions). I'd use a combination of callback functions and a few API functions for that (simil...
- Tue Dec 11, 2012 10:41 am
- Forum: Support and Development
- Topic: Some pointers wanted regarding user created content
- Replies: 11
- Views: 6060
Re: Some pointers wanted regarding user created content
Well I was less concerned with how to go about obtaining the scripts, more about how to run them and how to allow them to interact with the game (obtain certain values from the game and also pass back instructions).
- Tue Dec 11, 2012 9:12 am
- Forum: Support and Development
- Topic: Some pointers wanted regarding user created content
- Replies: 11
- Views: 6060
Re: Some pointers wanted regarding user created content
I guess it's a good thing then that I don't plan to be providing an in-game editor for the scripts; I'm envisioning just reading scripts from files using basic file io (and it suits my goal perfectly).
Thanks a lot, I'll check out 'setfenv' as well as that sandbox page!
Thanks a lot, I'll check out 'setfenv' as well as that sandbox page!