Search found 9 matches

by osoII
Tue Aug 27, 2013 6:56 am
Forum: Support and Development
Topic: General Guidance for RogueLike Display
Replies: 4
Views: 701

Re: General Guidance for RogueLike Display

Really? I wouldn't have even thought to try that... Well that actually answers my question 100% I'm still kind of mind blown that setColor affects drawing of images though... I'm assuming black draws the image normal, white whites it out, grey fades it, etc. I'll go experiment. Thanks.
by osoII
Tue Aug 27, 2013 6:39 am
Forum: Support and Development
Topic: General Guidance for RogueLike Display
Replies: 4
Views: 701

General Guidance for RogueLike Display

I'm kind of in limbo trying to figure out how to implement the graphical (or lack thereof) side of a roguelike. I want to be able to use tilesets by swapping out my png, so no plain text. My general requirements are being able to change the color shown on the background and the overlaying symbol on ...
by osoII
Wed Aug 21, 2013 5:29 am
Forum: Support and Development
Topic: Tables with object identifiers as the index :(
Replies: 5
Views: 1274

Re: Tables with object identifiers as the index :(

Yes, when getBody is called love re-introduces the body into lua, however it can't re-use the old lua-side wrapper for that (called Proxy, internally), so it creates a new one. This means that it and the original body are not equal, from lua's perspective. EDIT: Also, next time, could you please us...
by osoII
Wed Aug 21, 2013 3:33 am
Forum: General
Topic: Roguelike Development with Love2d?
Replies: 9
Views: 2987

Re: Roguelike Development with Love2d?

I don't see why it would be unsuited. What problems do you encounter? I'm not running into problems necessarily, I actually love the way tables work in Lua which is why I don't want to give it up. It just seems at odds with the layout of a roguelike. even the concept of love.update doesn't make sen...
by osoII
Wed Aug 21, 2013 3:29 am
Forum: Support and Development
Topic: Simple Question: Offset Camera (canvas?)
Replies: 3
Views: 651

Re: Simple Question: Offset Camera (canvas?)

Well, now I feel dumb. I was using the HUMP camera, I just added love.graphics.translate before drawing with the camera and presto. Thanks.
by osoII
Wed Aug 21, 2013 3:10 am
Forum: General
Topic: Roguelike Development with Love2d?
Replies: 9
Views: 2987

Roguelike Development with Love2d?

I've been obsessing over a roguelike that's slowly coming together in my mind lately. I've been using love2d for a while but it seems particularly unsuited for roguelike development. Is this the case or am I just not doing it right? Also, is a roguelike with multiple zlevels (similar to dwarf fortre...
by osoII
Wed Aug 21, 2013 2:58 am
Forum: Support and Development
Topic: Simple Question: Offset Camera (canvas?)
Replies: 3
Views: 651

Simple Question: Offset Camera (canvas?)

I'm trying to create a game where the playing field takes up a square in the right of the screen. I want to use a camera to zoom in and out, but the playing field isn't centered in the screen. Do I have to use canvases for this? I'm trying to avoid that, but if it's the simplest most efficient way t...
by osoII
Sat Jul 20, 2013 3:50 am
Forum: Support and Development
Topic: Tables with object identifiers as the index :(
Replies: 5
Views: 1274

Re: Tables with object identifiers as the index :(

Sorry that was a last ditch "I don't know wtf I'm doing change" it doesn't work the correct way with [] either.
by osoII
Sat Jul 20, 2013 1:03 am
Forum: Support and Development
Topic: Tables with object identifiers as the index :(
Replies: 5
Views: 1274

Tables with object identifiers as the index :(

I'm using love2d and want to add an object to a table with the body as the index then call on that entry in the table from a collision event. From what I have now, I can do that just fine in love.load but if I try to call it again from the collision callback it fails saying the body is a nil value :...