Search found 69 matches

by Rad3k
Wed Jun 27, 2012 9:47 am
Forum: Support and Development
Topic: Complex Collision Detection Without Physics
Replies: 3
Views: 1848

Re: Complex Collision Detection Without Physics

I have level terrain that consists of arbitrary polygons. I wanted to subclass one of the 3 (or more?) Polygon shapes in HC (I don't know which is best to subclass). I tried using composition rather than inheritance (my Poly has a reference to a shape), but I end up duplicating vertices, positions,...
by Rad3k
Mon Jun 25, 2012 8:44 pm
Forum: Support and Development
Topic: Cleanly removing everything?
Replies: 6
Views: 1218

Re: Cleanly removing everything?

Removing the function that loops through the rendering array brings the fps up to 55. Why would a simple loop do that? This is all the code of the loop below: CODE: SELECT ALL for  i=1,max,1 do      local obj = renderArray     if (obj.b2Object ~= nil) then       obj.b2Object.body:applyForce(0,obj.b...
by Rad3k
Sun Jun 24, 2012 12:58 am
Forum: Support and Development
Topic: Physics object identity (possibly a bug in Löve)
Replies: 4
Views: 872

Re: Physics object identity (possibly a bug in Löve)

What's rawequal? I haven't seen that one before. EDIT: Ok, found it - rawequal . Hmm. The only option I can think about is using the Data of setData instead of trying to identify each body by its fixtures. This is probably the way I'll go, though it requires that I assign unique data to all fixture...
by Rad3k
Sat Jun 23, 2012 7:35 pm
Forum: Support and Development
Topic: Physics object identity (possibly a bug in Löve)
Replies: 4
Views: 872

Physics object identity (possibly a bug in Löve)

Consider the following piece of code: world = love.physics.newWorld(0, 0) shape = love.physics.newCircleShape(1) body = love.physics.newBody(world, 0, 0, 'dynamic') fixture = love.physics.newFixture(body, shape) same_fixture = body:getFixtureList()[1] print(fixture == same_fixture) print(rawequal(fi...
by Rad3k
Fri Sep 23, 2011 1:31 pm
Forum: Games and Creations
Topic: Roid Rage
Replies: 21
Views: 6824

Re: Roid Rage

I noticed turning this off gives a big boost, and I'd like to add an option in-game. Or otherwise, is there any downside to having v-sync disabled by default for everyone? There are. VSync's main purpose is to avoid tearing, which happens when the game switches to the next frame, when the current o...
by Rad3k
Fri Sep 16, 2011 10:41 pm
Forum: Support and Development
Topic: [Question] Commerical Development?
Replies: 4
Views: 1133

Re: [Question] Commerical Development?

you can obfuscate and precompile the .lua files before packing them into .love. This again? Please, people, don't put bytecode in your .loves. You are hurting your demographics. Lua bytecode is not guaranteed to be cross-platform or whatever. OP mentioned joining .love with executable, so it seemed...
by Rad3k
Fri Sep 16, 2011 9:42 pm
Forum: Support and Development
Topic: [Question] Commerical Development?
Replies: 4
Views: 1133

Re: [Question] Commerical Development?

Could it be as easily done as using an obfuscator to obfuscate the the compiled .exe file and contacting companies such as steam for distribution? If you could let me know, that would be great. Thanks! What do you mean by obfuscating the compiled exe? If you want to make it harder for random people...
by Rad3k
Fri Sep 16, 2011 9:20 pm
Forum: Support and Development
Topic: Hi
Replies: 12
Views: 2509

Re: Hi

PLEASE HELP ME ASS FAST ASS YOU CAN This is definitely not a good way of asking for help. Most of the people that could help you, won't do it if you're not respectful and polite. Don't be a Help Vampire . As far as your problem goes, here are few hints: 1. Listen to what the compiler says 2. Proof-...
by Rad3k
Thu Sep 15, 2011 6:46 pm
Forum: Libraries and Tools
Topic: Reflection problems..
Replies: 9
Views: 1785

Re: Reflection problems..

GijsB wrote:ahaa...

so if i want to turn an image 180° i have to rotate it with math.pi?
Correct :)
by Rad3k
Thu Sep 15, 2011 6:31 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1711
Views: 652780

Re: What's everyone working on? (tigsource inspired)

Sexy sexy phong shading + bump mapping That looks really awesome :) I imagine an effect like this could be used to make 3d-looking, realistically shaded backgrounds (or objects, or anything) in 2d platformers. Currently I'm working on my own hybrid gui/menu system - flexible, stylable in CSS-like m...