Search found 113 matches

by Vimm
Sat May 14, 2016 4:52 am
Forum: General
Topic: 3D MMORPG, possible in love?
Replies: 7
Views: 4462

Re: 3D MMORPG, possible in love?

An mmorpg is totally possible, I believe there are some mmorpg projects in the project section, and correct me if I'm wrong but world of warcraft uses lua as a script language. Also, while 3D is possible, making a 3D mmo in löve isn't a good idea since löve isn't optimized for 3D games. So although...
by Vimm
Sat May 14, 2016 4:27 am
Forum: General
Topic: 3D MMORPG, possible in love?
Replies: 7
Views: 4462

3D MMORPG, possible in love?

I know it's possible to make 3D games in love and lua, but earlier today I was wondering if it'd be possible to make an mmorpg in lua, or if lua isn't a strong enough language. I dont really plan on trying to make on, just curious if it's possible.
by Vimm
Tue May 10, 2016 12:31 am
Forum: General
Topic: How do you handle classes?
Replies: 4
Views: 2212

Re: How do you handle classes?

module(..., package.seeall) is discouraged. There's a huge and lengthy reason for it, but you don't need to know why right now unless you want (in which case you can start here: http://lua-users.org/wiki/LuaModuleFunctionCritiqued ). Also, the module function doesn't make classes, it makes modules....
by Vimm
Mon May 09, 2016 11:18 pm
Forum: General
Topic: How do you handle classes?
Replies: 4
Views: 2212

How do you handle classes?

I've noticed that people seem to do classes differently, which I find weird cuz I never knew it could be done in different ways XD I learned using classic.lua but apparently it isnt a great way to do it, so I wanna see how other people go about it! lately ive been adding module(..., package.seeall) ...
by Vimm
Wed May 04, 2016 12:38 pm
Forum: Support and Development
Topic: How to get color from tile
Replies: 6
Views: 3049

Re: How to get color from tile

I didn't look at your code, but i saw bump.lua in there, so i'll assume you're using that for collision. With bump you'd move the player with something like x, y, cols, len = world:move(player, nx, ny, filter) "cols" is a table, containing a list of collisions that occured during the move...
by Vimm
Wed May 04, 2016 9:20 am
Forum: Support and Development
Topic: How to get color from tile
Replies: 6
Views: 3049

Re: How to get color from tile

I didn't look at your code, but i saw bump.lua in there, so i'll assume you're using that for collision. With bump you'd move the player with something like x, y, cols, len = world:move(player, nx, ny, filter) "cols" is a table, containing a list of collisions that occured during the move...
by Vimm
Wed May 04, 2016 8:50 am
Forum: Support and Development
Topic: How to get color from tile
Replies: 6
Views: 3049

Re: How to get color from tile

I didn't look at your code, but i saw bump.lua in there, so i'll assume you're using that for collision. With bump you'd move the player with something like x, y, cols, len = world:move(player, nx, ny, filter) "cols" is a table, containing a list of collisions that occured during the move...
by Vimm
Wed May 04, 2016 5:15 am
Forum: Support and Development
Topic: How to get color from tile
Replies: 6
Views: 3049

How to get color from tile

So I'm working on a little game idea that I had last night (and wrote down on a computer mouse box so i wouldnt forget XD) but I've run into a snag. Basically, im new to Tiled and STI so I dont know how to do this: I want my player to, when he collides with a colored "door", he also become...
by Vimm
Tue May 03, 2016 5:31 am
Forum: Support and Development
Topic: help colliding with tiles
Replies: 3
Views: 1800

Re: help colliding with tiles

1) Switch to STI 2) Set any layer, object, tile, etc to have a custom property called "collidable" and give it the value "true" 3) When loading STI, enable the box2d plugin 4) Set up a basic box2d world 5) Pass that world into STI local sti = require "sti" local map = ...
by Vimm
Tue May 03, 2016 12:14 am
Forum: Support and Development
Topic: help colliding with tiles
Replies: 3
Views: 1800

help colliding with tiles

I managed to get tiled and AdvTiledLoader working, but I dont know how to properly register collisions, can someone give me a hand? (its a top down game not platformer)

here the love file in all its unorganized glory