Search found 79 matches

by Zarty55
Sat Dec 26, 2015 4:54 am
Forum: Support and Development
Topic: Passing large amount of data to shader
Replies: 3
Views: 2192

Re: Passing large amount of data to shader

It might also help to rethink the problem from a different angle – because a 2000-iteration loop for each pixel is a lot , even if you could access that much data. Is it possible to reorganize your problem so that you're drawing the actual circles, instead of just accessing the circle data in a sha...
by Zarty55
Tue Dec 22, 2015 1:46 pm
Forum: Support and Development
Topic: Passing large amount of data to shader
Replies: 3
Views: 2192

Passing large amount of data to shader

What's a good way to pass a big amount of data to a shader? I'm looking at passing a table, with variable size, of circle objects. Something like: circles = {[1] = {x1, y1, r1}, [2] = {x2, y2, r2} ..., [n] = {xn, yn, rn}} I was doing with vec3 matrices, but then I have to hard code the size and it o...
by Zarty55
Tue Nov 17, 2015 2:36 am
Forum: General
Topic: What motivates you ?
Replies: 21
Views: 10899

Re: What motivates you ?

In the moment I'm a undecided person that is bouncing from a concept of a game to another concept. I'm really bored with programming right now, I'm not sure what to do. I had something to say, but I don't think I'm in the position to be the person that says something good right now hahaha Procastina...
by Zarty55
Tue Nov 17, 2015 2:27 am
Forum: General
Topic: physics library?
Replies: 3
Views: 1988

Re: physics library?

It really depends. I mean, if you need a precise physics simulation you should use Box2D, unless you want to bother with making your own physics engine. Use if you want, but keep in mind it's pretty complex (not hard to learn, though) and it takes a bit of work to make it do things the way you want ...
by Zarty55
Tue Nov 17, 2015 2:22 am
Forum: Games and Creations
Topic: (PL)ANT LIFE - Our entry for Indie Speed Run 2015
Replies: 7
Views: 4319

Re: (PL)ANT LIFE - Our entry for Indie Speed Run 2015

Really cool! I remember playing a game that was pretty similar in the past.

Great art, great music. A complete game missing a ending! I'm impressed, really.
by Zarty55
Fri Aug 28, 2015 1:19 am
Forum: General
Topic: Returning an angle
Replies: 4
Views: 2414

Re: Returning an angle

Telecorpse wrote:
bio1712 wrote:You can use this:

print(math.atan2(A,B)) --radians
Thanks a lot!
Just a small reminder: the function is defined as math.atan2(Y, X). If using in a cartesian plane, the coordinates are flipped (Y first then X).
by Zarty55
Thu Aug 27, 2015 11:39 pm
Forum: Games and Creations
Topic: The Blueprints Machine
Replies: 52
Views: 29691

Re: The Blueprints Machine

I'm loving your video updates! You're being my inspiration for sometime now :D Here's the video on how to blow a gorilla up :D mV2m9w3kIKE I guess that if you have squared root it wouldn't be soooo hard. I think it is a great idea for a advanced physics-based level. Problem would be obstacles and th...
by Zarty55
Thu Aug 27, 2015 9:47 pm
Forum: Libraries and Tools
Topic: LÖVE Hints for Brackets.io
Replies: 8
Views: 6681

Re: LÖVE Hints for Brackets.io

God! Brackets is such a nice editor! Feels so nice to use it. I guess I will use it to edit my code, and ZeroBrane Studio to debug it. It's so good looking and easy to use.
by Zarty55
Tue Aug 18, 2015 10:20 pm
Forum: General
Topic: Tips to be aware of game performance?
Replies: 8
Views: 5135

Re: Tips to be aware of game performance?

Sticking to your notebook is probably a good idea for development. That's what I did and it taught me lots. Thing is, even without anything being processed it only reaches 100 fps tops. Add some simple objects and it goes to 40 real fast. Now, my main computer can run everything with 900+ fps. It's...
by Zarty55
Mon Aug 17, 2015 11:07 pm
Forum: General
Topic: Tips to be aware of game performance?
Replies: 8
Views: 5135

Tips to be aware of game performance?

Hi guys. I just wanted to know what are your tips to be aware if your game uses too much processing power. Is there even a way to measure this? I'm currently switching between my fucking-beast-8000-computer to my flipplity-doo-1997-notebook, and I'm having some trouble trying to get this right. I'd ...