Search found 10 matches

by enderspike
Thu Nov 10, 2011 11:56 pm
Forum: General
Topic: I want to see if one number is divisible by another number
Replies: 13
Views: 2839

I want to see if one number is divisible by another number

I haven't included a file because I believe my question is rather simple: how do I say "See if X is divisible by Y?" I'm a noob trying to make a simple flexible timer like love.update(dt) timer = timer + dt ... And then be able to make events happen at various times like if timer //is divisible by//...
by enderspike
Thu Oct 27, 2011 9:50 pm
Forum: Support and Development
Topic: Particle Systems and images
Replies: 2
Views: 363

Particle Systems and images

Newb here, So now I'm trying to figure out how to use particle systems. My first issue: I have no idea how to generate or find the kinds of images that go into particle systems. Just some examples would be lovely. I feel like I could generally figure out how to manipulate particle systems from the w...
by enderspike
Thu Oct 27, 2011 9:43 pm
Forum: Support and Development
Topic: Why is table.remove making my program crash?
Replies: 13
Views: 1076

Re: Why is table.remove making my program crash?

Got it fixed! Thanks guys. Now I just have to figure out why sometimes multiple enemies get deleted when I hit one. Only sometimes.
by enderspike
Thu Oct 27, 2011 6:36 pm
Forum: General
Topic: How do I use a Sprite Map in Love?
Replies: 11
Views: 2742

Re: How do I use a Sprite Map in Love?

Totally got it, thanks to you! I am a better programmer than before.
by enderspike
Thu Oct 27, 2011 6:35 pm
Forum: Support and Development
Topic: Why is table.remove making my program crash?
Replies: 13
Views: 1076

Why is table.remove making my program crash?

Newb here,

So I have collision checks for entities down, but I'm having trouble removing entities from tables when I want. I remove enemies or bullets from thier respective tables, and everything explodes. Why? What's going wrong? How can I fix it?

Thanks!
by enderspike
Tue Oct 11, 2011 8:50 pm
Forum: General
Topic: How do I use a Sprite Map in Love?
Replies: 11
Views: 2742

Re: How do I use a Sprite Map in Love?

How do I do that? This is the image: (couldn't upload it): http://www.google.com/imgres?um=1&hl=en&biw=1353&bih=839&tbm=isch&tbnid=GRgebBGXvP2rHM:&imgrefurl=http://blackmageent.webs.com/sprites.htm&docid=vGobvMZNJxdHjM&w=434&h=1077&ei=_6uUTozXEpHJiQLH94z4BA&zoom=1&iact=hc&vpx=340&vpy=128&dur=325&hov...
by enderspike
Tue Oct 11, 2011 8:43 pm
Forum: General
Topic: How do I use a Sprite Map in Love?
Replies: 11
Views: 2742

Re: How do I use a Sprite Map in Love?

Sub-question: do I have to cut out every single image I want to use as a quad?
by enderspike
Tue Oct 11, 2011 8:35 pm
Forum: General
Topic: How do I use a Sprite Map in Love?
Replies: 11
Views: 2742

Re: How do I use a Sprite Map in Love?

Bad ass. Progress is being made! Now, how do I know which co-ordinate is what in the image? Like, how do I figure out what numbers to put in to get the part of the map I want?
by enderspike
Tue Oct 11, 2011 7:25 pm
Forum: General
Topic: How do I use a Sprite Map in Love?
Replies: 11
Views: 2742

Re: How do I use a Sprite Map in Love?

Excellent! Any pointers on using those?
by enderspike
Tue Oct 11, 2011 6:47 pm
Forum: General
Topic: How do I use a Sprite Map in Love?
Replies: 11
Views: 2742

How do I use a Sprite Map in Love?

Hello, I am new to both Love and programming in general, and I am trying to learn the basics of game programming. Today's project is sprites. How does one make a sprite do what it is supposed to in Love? I know there is a thing called a "spritemap" (I have one for good ol' Crono) and I know there is...