Search found 9 matches

by blackout_alex
Thu Jul 26, 2012 5:29 pm
Forum: Support and Development
Topic: Sound error
Replies: 1
Views: 1452

Sound error

For some reason, love will not understand my sound file. It is a .ogg file, and I can play it in windows media player. But whenever I run the game, the sound will not load, and the error message is "Could not read ogg bitstream". What should I do?
by blackout_alex
Tue Jun 19, 2012 8:02 pm
Forum: Support and Development
Topic: AI acting weird
Replies: 4
Views: 2388

AI acting weird

I have been working on some AI, it doesn't do much but walk around and change direction every few seconds, but it seems to be acting weird. All of the AI end up near the bottom of the screen, even though it should be random. The random number assigned to "down" it 1. Is there a way that ma...
by blackout_alex
Mon Jun 11, 2012 4:29 pm
Forum: Games and Creations
Topic: Cardboard. Mutliplayer card game board
Replies: 2
Views: 8854

Re: Cardboard. Mutliplayer card game board

How does one go about connecting to a server?
by blackout_alex
Mon Apr 30, 2012 9:52 pm
Forum: Support and Development
Topic: Easy way to split gifs?
Replies: 2
Views: 1859

Easy way to split gifs?

I am wondering if their is a simple way to take a gif and turn it into a tiled image, that I could then use in LOVE. I could split it into frames and arrange them in photoshop, but i am wondering if there is a better/faster way before I do that.
by blackout_alex
Sun Apr 29, 2012 3:20 pm
Forum: Support and Development
Topic: Not sure what is wrong with my table
Replies: 6
Views: 2703

Not sure what is wrong with my table

Hi all,

So I have been working on some code for bullets, but something is wrong with the table that contains the bullets. I initialize it in love.load(), but it will not allow me to modify any of the variables from love.update(). Any ideas?

Here is the code:
pigeon.love
(32.61 KiB) Downloaded 285 times
by blackout_alex
Sun Apr 29, 2012 3:00 pm
Forum: Support and Development
Topic: Moving an image towards a Point
Replies: 7
Views: 6060

Re: Moving an image towards a Point

Here, did that for you: You had to set the globals in the beginning of the code (altough I prefer setting them in love.load() ), also the bullet resetted its position everytime in love.update since you used originx and add the velocity of the bullet. Hope you'll understand it, I commented all my ch...
by blackout_alex
Sat Apr 28, 2012 8:56 pm
Forum: Support and Development
Topic: Moving an image towards a Point
Replies: 7
Views: 6060

Re: Moving an image towards a Point

Still doesn't work, also, there is not keyPressed function, only a mousePressed on, is that what you meant?
by blackout_alex
Fri Apr 27, 2012 6:32 pm
Forum: Support and Development
Topic: Moving an image towards a Point
Replies: 7
Views: 6060

Re: Moving an image towards a Point

The method has errors, but I will summarize what I am trying to do. Basically, when the user clicks, the x and y position of the click are stored in variables. The origin of the bullet is the player location, also stored in variables. The game subtracts the origin x value from the destination x valu...
by blackout_alex
Thu Apr 26, 2012 11:45 pm
Forum: Support and Development
Topic: Moving an image towards a Point
Replies: 7
Views: 6060

Moving an image towards a Point

So, in my game, when the player clicks, I want an image to spawn somewhere, and then move towards the point where the player clicked. I have a player image set up, and my plan is to spawn a bullet near him when the player clicks. The bullet should then move towards where the mouse clicked. I have no...