Search found 11 matches

by Foppy
Thu Nov 21, 2019 10:10 pm
Forum: Games and Creations
Topic: Max Downforce - arcade racer
Replies: 15
Views: 20036

Re: Max Downforce - arcade racer

That sounds great, please let me know if you have questions about the code or my game. It is my first game in Lua/Love2d and I struggled a bit with the setup of something resembling 'classes'. (Where other languages tend to have a nicely defined syntax for that 'out of the box'.) So it may not be th...
by Foppy
Thu Nov 21, 2019 1:28 pm
Forum: Games and Creations
Topic: Max Downforce - arcade racer
Replies: 15
Views: 20036

Re: Max Downforce - arcade racer

Thanks! @LesbianHam I have made the source code public to show others how I made this game, and for them as inspiration and/or to use parts of the code to make their own games. In writing this game I have myself also used examples and code from other places, such as from this website: http://www.ext...
by Foppy
Sat Nov 02, 2019 12:18 am
Forum: Games and Creations
Topic: Max Downforce - arcade racer
Replies: 15
Views: 20036

Re: Max Downforce - arcade racer

Thanks everyone! I am in the progress of adding gamepad support and also a second race track.

I am also looking forward to making a new game at some stage, again using LÖVE. Possibly a rogue like, not sure yet.
by Foppy
Thu Oct 17, 2019 8:59 pm
Forum: Games and Creations
Topic: Max Downforce - arcade racer
Replies: 15
Views: 20036

Re: Max Downforce - arcade racer

Thank you! No I have not tried on mobile. It seems like on the PC it is very difficult to make a game go slow these days! Or a 2d game at least. While I can imagine creating an Android build, the controls would be a bit tricky, with on-screen touch controls. I may have a look into it.
by Foppy
Wed Oct 16, 2019 10:15 pm
Forum: Games and Creations
Topic: Max Downforce - arcade racer
Replies: 15
Views: 20036

Max Downforce - arcade racer

A few days ago I completed a new racing game called Max Downforce. It uses pseudo 3d techniques similar to 80s games such as Pole Position and Outrun. I started writing this in 2017 to learn about Lua and Love2d. It has one track, and the goal is to complete 10 laps. For every next lap you get less ...
by Foppy
Sun Oct 13, 2019 1:18 pm
Forum: Games and Creations
Topic: Floppy Box
Replies: 5
Views: 6935

Re: Floppy Box

It is fun to play and has a nice minimal design. Sometimes the next target is almost impossible to reach; you have to go from the bottom to the top but cannot go steeper than a 45 degree angle. But on the other hand it makes for short challenging games. Top score 10. :P
by Foppy
Sun Sep 24, 2017 10:10 am
Forum: Support and Development
Topic: Creating a Letterbox Style Fullscreen Window
Replies: 8
Views: 6231

Re: Creating a Letterbox Style Fullscreen Window

I am also working on a game in C64 resolution and added this in Love.load() to get nice image scaling without blur:

Code: Select all

love.graphics.setDefaultFilter("nearest","nearest",1)
by Foppy
Thu Sep 21, 2017 11:45 pm
Forum: Support and Development
Topic: Window one pixel higher than expected
Replies: 4
Views: 3550

Re: Window one pixel higher than expected

you're supposed to specify the pixel centers
This explains it! I ran into this because I am writing a pseudo 3d racing game which consists mostly of horizontal lines and saw a few unexpected empty lines. Thanks for your help!
by Foppy
Thu Sep 21, 2017 11:36 pm
Forum: Support and Development
Topic: Window one pixel higher than expected
Replies: 4
Views: 3550

Re: Window one pixel higher than expected

Thank you, you are correct in that the window is of the requested height. I didn't think of checking it like that! The problem or my confusion then seems to be in how the line is drawn using love.graphics.line(). The following still leaves a row of empty pixels below the line: love.graphics.setLineS...
by Foppy
Thu Sep 21, 2017 11:01 pm
Forum: Support and Development
Topic: Window one pixel higher than expected
Replies: 4
Views: 3550

Window one pixel higher than expected

In the game I am writing a window mode is set like this: love.window.setMode(1024,768) It seems that the window is one pixel higher than expected. Since the top row is at y = 0, I thought the bottom row should be y = 767. But drawing a horizontal line at y = 767 still leaves a line of pixels below i...