Search found 131 matches

by Muris
Wed Mar 04, 2015 8:54 am
Forum: Libraries and Tools
Topic: [library] Attachment - A Callback Helper Utility for LÖVE
Replies: 10
Views: 7576

Re: [library] BootyCall - A Callback Helper Utility for LÖVE

not to sound mean, but what does this do different than creating a function to a variable? I mean: function a() print("hello") end b=a b() -- prints hello I mean that is literally what it feels that your hook does from the post. Assigns a function to a variable.Maybe I am missing a point. ...
by Muris
Mon Mar 02, 2015 6:02 pm
Forum: General
Topic: UE4 is now free...
Replies: 7
Views: 4528

UE4 is now free...

I just saw some posts about Unreal Engine 4 being "free", as in you can get sources for free and use it for free, but if you make some money with the product you sell, you have to pay some revenue from it. I still think this is pretty nice deal if going for making 3D-stuff. https://www.unr...
by Muris
Sat Feb 28, 2015 8:59 pm
Forum: Support and Development
Topic: The use of dt
Replies: 13
Views: 6151

Re: The use of dt

Update-function passes variable that is time in seconds from last update in other words:

Code: Select all

love.update(dt)
   print(dt) -- dt can be used in here, it is time difference from the last update
end
by Muris
Fri Feb 27, 2015 9:04 am
Forum: Libraries and Tools
Topic: Disguise, a gui you probably should avoid
Replies: 3
Views: 2422

Re: Disguise, a gui you probably should avoid

Heh. Yeah the code is quite messy what I have. The only reason that I wrote the code was because neither löveframes nor Quickie worked for what I was doing. Quickie has the pressing of a button kind of "hidden" away from the user by registering its own listeners to mouse clicks. With this ...
by Muris
Thu Feb 26, 2015 10:07 am
Forum: Games and Creations
Topic: [WIP] Us and Them - Singleplayer Story RPG
Replies: 9
Views: 12727

Re: [WIP] Us and Them - Singleplayer Story RPG

Yeah, I thought of arrow keys directly after releasing it. Diagonal movement is kinda meh - it doesn't look good without specific art for it, and these walk cycles are already 12 frames per direction. The animation was the reason I eventually decided to use 3d-models on my game (and moved on to use...
by Muris
Wed Feb 25, 2015 1:09 pm
Forum: General
Topic: LÖVE 2D for everything.
Replies: 13
Views: 6075

Re: LÖVE 2D for everything.

I would probably of think using something else for gui-based stuff, if its really non-game thing. Maybe you've found a really good gui-library, but for example making cross platform guis (android + desktop), I feel like the gui-libraries do not really work too well. Or if they work it is really a lo...
by Muris
Fri Feb 20, 2015 7:16 pm
Forum: General
Topic: Love2d with some basic 3d functions??
Replies: 8
Views: 3813

Re: Love2d with some basic 3d functions??

viewtopic.php?f=5&t=78943&hilit=love3d

I haven't really taken a look at it, but just remembered seeing a project like this in the project page some time ago.
by Muris
Fri Feb 20, 2015 6:28 pm
Forum: General
Topic: Love2d with some basic 3d functions??
Replies: 8
Views: 3813

Re: Love2d with some basic 3d functions??

I guess its more of my personal opinion but love2d is called love2d for a reason. Then again cocos2dx can render 3d aswell, and you can use lua on it. That being said, I think I remember seeing in the past in the projects some 3d attempts, like oysi3d, but that might be just having a 3d working on t...
by Muris
Fri Feb 20, 2015 1:59 pm
Forum: Support and Development
Topic: How can I make this more CPU efficient
Replies: 5
Views: 2378

Re: How can I make this more CPU efficient

I saw a very cheat & genius methog in Quickie. vrld uses canvas of 4 pixels, where he sets each corner for the value of color, then scales the canvas to the size and using correct filter, it creates gradient. Now to change the color you only need to change 4 values in the canvas. A side note tho...
by Muris
Wed Feb 18, 2015 10:20 am
Forum: Support and Development
Topic: Nil value problem
Replies: 4
Views: 4456

Re: Nil value problem

So should I put the player table into love.update() ? Nope, but you need to update player.posX and player.posY inside update method. Also you should take out the mousePosX and mousePosY out from the table definition, because they will just crash the program. Like this, I didn't try running the code...