Search found 28 matches

by qrux
Thu Apr 26, 2012 8:04 pm
Forum: Support and Development
Topic: "Adding" a number to an variable
Replies: 12
Views: 8646

Re: "Adding" a number to an variable

Got it working. Thank you :)
by qrux
Wed Apr 25, 2012 11:13 pm
Forum: Support and Development
Topic: "Adding" a number to an variable
Replies: 12
Views: 8646

"Adding" a number to an variable

Hello! I have a problem; Let's say i have an variable of the number 250. I want to modify this number by adding digits after it. Like, if i press my "1" button i have created, i want the variable to be 2501 (not 251). If i do variable+1, it will (of course) just become 251, which is not wh...
by qrux
Sun Dec 25, 2011 12:33 pm
Forum: Support and Development
Topic: Compiling?
Replies: 20
Views: 13129

Re: Compiling?

So basically just use some kind of license instead of making it hard for the user? That's a way of doing it :awesome:
by qrux
Tue Dec 20, 2011 10:08 pm
Forum: Support and Development
Topic: Gamestates
Replies: 3
Views: 4101

Re: Gamestates

Got it. Thanks!
by qrux
Tue Dec 20, 2011 7:36 am
Forum: Support and Development
Topic: Fine tile scrolling with Tiled
Replies: 4
Views: 3697

Re: Fine tile scrolling with Tiled

Your movement actually is per-pixel. The blocky movement is a combination of love.graphics.scale() and flooring your love.graphics.translate() values. Since your pixels are 4x larger this will makes your screen move 4 pixels at a time. This is easier to see if you slow down your speed a lot. Instea...
by qrux
Mon Dec 19, 2011 10:20 pm
Forum: Support and Development
Topic: Gamestates
Replies: 3
Views: 4101

Gamestates

Can someone explain the basics of gamestates for me please? I have read some people suggesting stuff like hump and other libraries, but i want to try and build it myself first. I don't quite understand it, like how you "wrap" the, let's say game code, and separate it from the menu code? Do...
by qrux
Mon Dec 19, 2011 10:17 pm
Forum: Support and Development
Topic: Fine tile scrolling with Tiled
Replies: 4
Views: 3697

Re: Fine tile scrolling with Tiled

Ah, i see! Thanks!
Ellohir wrote:PS: Why the sound file? You don't play it and it's quite a big file.
I did use it in the past but i don't anymore, and never got around to deleting it. Done now though :)
by qrux
Sun Dec 18, 2011 11:33 am
Forum: Support and Development
Topic: Fine tile scrolling with Tiled
Replies: 4
Views: 3697

Fine tile scrolling with Tiled

Hey, i'm using Advanced Tiled Loader to load maps, and it's working great. However, i wanted the map to scroll when i moved and wrote this piece of code: if love.keyboard.isDown("up", "w") then ty = ty + 250*dt end if love.keyboard.isDown("right", "d") then tx...
by qrux
Fri Dec 02, 2011 5:27 pm
Forum: Support and Development
Topic: Collision not working
Replies: 13
Views: 10493

Re: Collision not working

Sorry for this bump, but i really need a clue on this :( it's nice you be doing progress. just a small alert/advice. it's preferable that you soon "separate" the collision code from the key detection. Is advisable that the key detection turns only it into a variable movement = "right...
by qrux
Sun Nov 27, 2011 5:47 pm
Forum: Support and Development
Topic: Collision not working
Replies: 13
Views: 10493

Re: Collision not working

bump? :o: Ouch, that one hurted me, I kind leaved you hanged sorry but I was expecting first that someone with more experience with that kind of map tiling like the helpful Robin or Kikito (that "invented" the tutorial/system you following) give their incomparable help. My fault but seems...