Search found 130 matches

by bgordebak
Mon Mar 13, 2017 5:40 am
Forum: Games and Creations
Topic: Resized
Replies: 5
Views: 3619

Re: Resized

Thanks zorg, I didn't know that LÖVE has its own random generator.

I always used math.random() by seeding with os.time(). But from now on I'll use LÖVE's.
by bgordebak
Mon Mar 13, 2017 5:18 am
Forum: Games and Creations
Topic: Resized
Replies: 5
Views: 3619

Re: Resized

I enjoyed it. Mechanics seem fine. What is the reason for the multiple randoms in love.load()? math.random(); math.random(); math.random() Thanks a lot! I read somewhere that the first math.random() in lua isn't random, so you need to use it at least once to get a really random number after that. I...
by bgordebak
Mon Mar 13, 2017 1:06 am
Forum: Games and Creations
Topic: Aim Hockey
Replies: 9
Views: 5424

Re: Aim Hockey

Added some visuals and replaced the puck image. The puck image I used was from some google search, and it bothered me to use copyrighted material. Also, the line length and maximum speed is fixed now, when mouse is beyond maximum length.

Updated the file in the OP.
by bgordebak
Sat Mar 11, 2017 12:55 am
Forum: Games and Creations
Topic: Hexa-gone
Replies: 0
Views: 1591

Hexa-gone

My prototype for March 10th. I was making some prototypes every day, but I didn't upload them. In this game I tried some keyboard movement mechanic. There are hexagon tiles. You try to reach to the green tile after collecting all the orange tiles. You can rest on a tile at most 2 seconds. Controls a...
by bgordebak
Thu Mar 09, 2017 10:59 pm
Forum: Games and Creations
Topic: Aim Hockey
Replies: 9
Views: 5424

Re: Aim Hockey

Thanks a lot Sir_Silver! You just made the game much better.
by bgordebak
Thu Mar 09, 2017 10:19 pm
Forum: Games and Creations
Topic: Aim Hockey
Replies: 9
Views: 5424

Re: Aim Hockey

Yeah, I think you're right. I also want to make it so that line is in a circle, not a square.

Thank you for your excellent feedback, Sir_Silver!

Update: Done! But I didn't make it in a circle, because it would defeat the purpose of the line. There's a maximum x and y velocities. So...
by bgordebak
Thu Mar 09, 2017 9:50 pm
Forum: Games and Creations
Topic: Aim Hockey
Replies: 9
Views: 5424

Re: Aim Hockey

There was a bug, I took it down to fix it. It must be fixed now, I hope.

EDIT: You were so right! It feels much better with the mouse.
by bgordebak
Thu Mar 09, 2017 9:19 pm
Forum: Games and Creations
Topic: Aim Hockey
Replies: 9
Views: 5424

Re: Aim Hockey

Thanks a lot Sir_Silver! I didn't make the music, it's some CC0 licensed music from freesound. I thought with the mouse you couldn't make finer adjustments to the speed/direction. But now you said it, I will make it both ways. You will be able to use the keyboard or the mouse. Thanks a lot for the g...
by bgordebak
Wed Mar 08, 2017 1:56 pm
Forum: Support and Development
Topic: Simple game with ipairs (for school)
Replies: 11
Views: 8311

Re: Simple game with ipairs (for school)

I can't write the game for you, but I can give some pointers. Pong is a really simple game, you can figure it out easily. Basically, all you do is make the ball move and bounce, and check if ball collides with a paddle or moved to the edge of the screen. Bouncing is done at the top and bottom of the...
by bgordebak
Tue Mar 07, 2017 5:48 pm
Forum: Games and Creations
Topic: Aim Hockey
Replies: 9
Views: 5424

Aim Hockey

My prototype for March 7th. I couldn't make a game yesterday. In this game, you're trying to put the green disk in the goal (red circle). The goal is reaching the maximum score in given time (240 seconds) If the disk gets inside the goal totally, you get more points. The less moves you make, the mor...