Search found 48 matches

by meoiswa
Mon Aug 13, 2012 6:47 pm
Forum: Support and Development
Topic: Scaled up retro low res graphics issues.
Replies: 10
Views: 5458

Re: Scaled up retro low res graphics issues.

Try this:

W to increase, S to decrease fake pixel size:
pixelize.love
(592 Bytes) Downloaded 154 times
Is this what you want?

Basically I divide every coordinate by a fake pixel size, round that to get rid of any decimal, then multiply by fake pixel size again.
by meoiswa
Mon Aug 13, 2012 6:05 pm
Forum: Support and Development
Topic: Arcs and angles
Replies: 8
Views: 5205

Arcs and angles

I'm trying to create an arc using mouse position. The idea is that the arc begins where you start pressing the mouse button, and ends where the mouse is currently at However I'm having some troubles because the angle is normalized or something, Click then start dragging the mouse: http://puu.sh/UXAL...
by meoiswa
Thu Mar 29, 2012 6:53 pm
Forum: General
Topic: Hitbox checks (NOT point checks)
Replies: 8
Views: 5240

Re: Hitbox checks (NOT point checks)

Post your game in a .love and people will gladly play it: Windows: 1) Put all your game files in a folder, 2) Select all the files, right click, and select Move to zipped folder 3) Rename the zipped folder to have .love extension 4) Upload as attachment :) Others: Same trick, different procedure, ch...
by meoiswa
Thu Mar 29, 2012 6:48 pm
Forum: Support and Development
Topic: Bus error when colliding with sensor
Replies: 5
Views: 2116

Re: Bus error when colliding with sensor

There's a callback for "a colliding with b" and "b colliding with a". There's also no reliable way to predict which shape will be "a" and which will be "b", that's why I suggest adding a reference to the object in the shape's data, so you can do conditionals f...
by meoiswa
Thu Mar 29, 2012 3:41 pm
Forum: Support and Development
Topic: Some basic questions about tables in lua
Replies: 28
Views: 12594

Re: Some basic questions about tables in lua

I don't think a book can be of much help nowadays, the Lua introduction and Lua crash course are very good ways to start, and the Lua pil has an insane ammount of good, properly explained content for further learning.
There's always the Lua documentation online!
by meoiswa
Thu Mar 29, 2012 3:30 pm
Forum: Support and Development
Topic: Bus error when colliding with sensor
Replies: 5
Views: 2116

Re: Bus error when colliding with sensor

AFAIK this is completelly normal, those triggers always return the shapes in a "random, but orderly" manner. What I mean is that when two shapes collide, you get the hook called for shapes a and b without knowing which is which, however, every time this two shapes collide, the hook is call...
by meoiswa
Thu Mar 29, 2012 3:23 pm
Forum: Support and Development
Topic: Saving[Please helpDD:]
Replies: 4
Views: 2726

Re: Saving[Please helpDD:]

Writing a file is without a doubt your best option, it will allow you to store data between programs with ease. As mentioned before, you can make and read your own file (Something simple like a line for each variable with its value) like I used to do on my java classes projects. However, if you want...
by meoiswa
Wed Mar 28, 2012 2:30 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1796
Views: 1568839

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

Those look pretty nice :o
How do you make them? (As in, what love.graphics shape, if any, are you using?) Polylines?
by meoiswa
Wed Mar 28, 2012 2:27 pm
Forum: Games and Creations
Topic: microCrawler, a tamagotchi-like game
Replies: 10
Views: 6739

Re: microCrawler, a tamagotchi-like game

Those are the kinds of things that I need to figure out, what's an appropiate player speed, whats a good attack formula, etc. I haven't put any work on this since I made this post and that makes me feel terribad :cry: , been too busy with work :( As you may have noticed if you inspected the code, th...
by meoiswa
Tue Mar 27, 2012 1:49 pm
Forum: Support and Development
Topic: Some basic questions about tables in lua
Replies: 28
Views: 12594

Re: Some basic questions about tables in lua

There's a very handy pair of Love libraries that let you summon the lua interactive prompt from within a love window, like This one, for debugging or This one, for live coding