Food eater is a game that I was making during the development of Shapes of Doom
It's basically a game where you have to get the white squares but you can't hit into any of the red rectangles. The rectangles are the enemies of all shapes
I haven't added any highscore keeping but that will soon be added. There are also a few more things that I'll need to add.
Since this game was made during the time that I was developing Shapes of Doom all of the code is in the main.lua
itch.io download
SourceForge Download(for windows)
Food Eater
Food Eater
- Attachments
-
- FoodEater.love
- Food Eater - Beta
- (61.53 KiB) Downloaded 223 times
My itch.io page is:
http://roggie.itch.io/
Twitter:
https://twitter.com/RoggieGaming
Website:
http://roggiegaming.comxa.com/
Blog:
http://urnet.net78.net/RoggieGaming
http://roggie.itch.io/
Twitter:
https://twitter.com/RoggieGaming
Website:
http://roggiegaming.comxa.com/
Blog:
http://urnet.net78.net/RoggieGaming
Re: Food Eater
Still using pictures for menus The circle/rectangle collision is off by a LOT.
Other than that, the game's pretty good! You can use love.graphics.rectangle() to draw the platforms. This will save you some space and you can cut the game's size down. It will also give you more flexibility in terms of creating the platforms.
A couple of questions about the source.
What does this mean?
Why so many shortcuts for functions man? XD You can just have lg so you can use lg for all love.graphics methods and stuff, instead of having lgni for just love.graphics.newImage().
Add more spaces between lines of code (Seriously XD It's pretty messy. How are people supposed to be able to read your code?), and comment it a little bit. A comment every 5 lines or so doesn't hurt
I know you said that separating your code into separate files and requiring them gives you errors, but PLEASE look into fixing it. It'll help you out a ton and it will help people on the forum read you code to help you
Very simple. Other than the collision I can't find any bugs.
Good game
Other than that, the game's pretty good! You can use love.graphics.rectangle() to draw the platforms. This will save you some space and you can cut the game's size down. It will also give you more flexibility in terms of creating the platforms.
A couple of questions about the source.
What does this mean?
Code: Select all
xx = 100,
yy = 200,
xxx = 200,
yyy = 350,
xxxx = 400,
yyyy = 500,
Add more spaces between lines of code (Seriously XD It's pretty messy. How are people supposed to be able to read your code?), and comment it a little bit. A comment every 5 lines or so doesn't hurt
I know you said that separating your code into separate files and requiring them gives you errors, but PLEASE look into fixing it. It'll help you out a ton and it will help people on the forum read you code to help you
Very simple. Other than the collision I can't find any bugs.
Good game
"In those quiet moments, you come into my mind" - Liam Reilly
Re: Food Eater
How require "" works you make a new .lua file call it what ever you want and then you go into main.lua and type require "filename" but don't include .lua in require.Eamonn wrote:I know you said that separating your code into separate files and requiring them gives you errors, but PLEASE look into fixing it. It'll help you out a ton and it will help people on the forum read you code to help you
and Eamonn is right about the picture stuff for menus, it use up extra memory(Both ram and space) and makes the game load slower just use fonts
Re: Food Eater
Nice game, but it is kind of mean, that the left red block start already in the screen, while right ones start outside of the screen. Also you made a typo in the help: "lies" -> "lives".
Xeldas Saga - my ca. 10min action-platformer (contains sound effects, music, graphics and a boss fight)
Re: Food Eater
Yep, as I said,Eamonn wrote:Still using pictures for menus
Food eater is a game that I was making during the development of Shapes of Doom
Food eater was a side project and since I used pictures for menus then, there are pics for menus now. But I am going to add buttons.
Since this game was a side project it needs a lot of work done to it
Last edited by roggie on Sun Jun 08, 2014 1:01 pm, edited 2 times in total.
My itch.io page is:
http://roggie.itch.io/
Twitter:
https://twitter.com/RoggieGaming
Website:
http://roggiegaming.comxa.com/
Blog:
http://urnet.net78.net/RoggieGaming
http://roggie.itch.io/
Twitter:
https://twitter.com/RoggieGaming
Website:
http://roggiegaming.comxa.com/
Blog:
http://urnet.net78.net/RoggieGaming
Re: Food Eater
Haha, thanks I'll fix thatDrCicero wrote:Also you made a typo in the help: "lies" -> "lives".
My itch.io page is:
http://roggie.itch.io/
Twitter:
https://twitter.com/RoggieGaming
Website:
http://roggiegaming.comxa.com/
Blog:
http://urnet.net78.net/RoggieGaming
http://roggie.itch.io/
Twitter:
https://twitter.com/RoggieGaming
Website:
http://roggiegaming.comxa.com/
Blog:
http://urnet.net78.net/RoggieGaming
Who is online
Users browsing this forum: No registered users and 0 guests