Search found 11 matches

by Taz
Wed Oct 07, 2015 9:25 pm
Forum: Support and Development
Topic: Making an object orbit around another object
Replies: 6
Views: 3664

Re: Making an object orbit around another object

Well that is not an orbit that is to make an object follow a circular path. Making a true representation of an orbit it would require googling of how an orbit work and probably not look like how you would want. I tried a true orbit once. I gave up :( lol Well I know, but he asked also for a circula...
by Taz
Wed Oct 07, 2015 7:33 pm
Forum: Support and Development
Topic: Making an object orbit around another object
Replies: 6
Views: 3664

Re: Making an object orbit around another object

To rotate an object around an other object, you can use math.sin and math.cos for it. Heres an example: angle = angle + 1*dt distance = 100 local new_x = object.position_x + math.sin(angle) * distance local new_y = object.position_y + math.cos(angle) * distance --now apply new_x and new_y for the ob...
by Taz
Tue Nov 11, 2014 10:38 am
Forum: General
Topic: ZeroBrane Studio Lua IDE v0.90 is out
Replies: 21
Views: 10803

Re: ZeroBrane Studio Lua IDE v0.90 is out

I use love2d 0.9.1 with windows 7 and the green arrow appears in the IDE after the "debug.start()" function when I Press F5. When I'm running my project as a scratchpad it starts, but when I change a value in one of my classes it doesn't get applied to the objects of that class. Does it o...
by Taz
Mon Nov 10, 2014 6:46 pm
Forum: General
Topic: ZeroBrane Studio Lua IDE v0.90 is out
Replies: 21
Views: 10803

Re: ZeroBrane Studio Lua IDE v0.90 is out

Your IDE looks pretty nice so far keep it up :). But the "mobdebug" plugin don't want to start in my project. Everytime I include this code: ... I get a blank white screen in the löve window that never goes away. What i'm doing wrong? I don't see anything wrong and a similar fragment work...
by Taz
Mon Nov 10, 2014 11:00 am
Forum: General
Topic: ZeroBrane Studio Lua IDE v0.90 is out
Replies: 21
Views: 10803

Re: ZeroBrane Studio Lua IDE v0.90 is out

Your IDE looks pretty nice so far keep it up :). But the "mobdebug" plugin don't want to start in my project. Everytime I include this code: function love.load(arg) if (arg and arg[#arg] == '-debug') then local debug = require 'mobdebug' debug.start() end end I get a blank white screen in ...
by Taz
Fri Jun 21, 2013 6:24 pm
Forum: Support and Development
Topic: Share a Shader!
Replies: 328
Views: 611855

Re: Share a Shader!

Ok that was my error :D forget to comment out the light direction but for some reasons the code still run with it .... Here's the (hopefully) fixed version.
by Taz
Fri Jun 21, 2013 6:10 pm
Forum: Support and Development
Topic: Share a Shader!
Replies: 328
Views: 611855

Re: Share a Shader!

raidho36 wrote:Displays me an error with shader location failure. I'm pretty sure my card Radeon HD 7970 can run GLSL.
Actually I can't find a reason for this... can you post the exact error message ?
by Taz
Fri Jun 21, 2013 4:07 pm
Forum: Support and Development
Topic: Share a Shader!
Replies: 328
Views: 611855

Re: Share a Shader!

Hi, I've written a little raytracer from scratch. It's not perfect and has some bugs like the shadow projection on the mirrored material, but I'm pretty happy with the result ;). Controls: W = Forward S = Backward A = Left Side D = Right Side B = Down N = Up Escape = exit the program And for those w...
by Taz
Thu Mar 28, 2013 2:37 pm
Forum: Games and Creations
Topic: Exoterra - the fun space RTS
Replies: 20
Views: 11760

Re: Exoterra - the fun space RTS

I also really like the UI you've made so far ;).Keep it up.

By the way I've made a simple Circle-Drawn text example that may help you if you need this. It's not perfect but I hope this helps you anyway :) .
Control the text with Left and Right mouse button
by Taz
Mon Feb 18, 2013 9:19 pm
Forum: Games and Creations
Topic: trAInsported
Replies: 210
Views: 123991

Re: trAInsported: Alpha testers needed

@Germanunkol

Isn't it possible to just upload a zip file to your server and read all the related .lua-files out of it ? Here is a library that can load .zip files : http://www.keplerproject.org/luazip/manual.html

Hope this helps :nyu: