With a bunch of help from other people like Zilarrezko and WindMill Games, I present BloxDodger!
Right now, BloxDodger is in Version 1.0
What do you do? Well, you move your character around a constantly randomized environment of red spawning blocks. They spawn translucent, but eventually turn solid, and are lethal at that point. After a few seconds, the world will turn black, but you still aren't safe. A new batch will be in soon!
Controls are WASD based.
There are a few bugs. If you press Play! quickly after starting up, your character turns red, until the first batch of baddies spawn. Just make sure you move around during this time, otherwise, you'll be killed by idleness.
Right now, there is no real goal, or end of the game. You just play and play until you can't anymore.
To download the current version in the .love format, it is attached at the bottom of this post. If you want an EXE, go here: http://bit.ly/1k8piT8
BloxDodger - My First Game!
- MicroMacro
- Citizen
- Posts: 92
- Joined: Fri May 30, 2014 2:30 am
- Location: Boston, MA, USA
- Contact:
BloxDodger - My First Game!
- Attachments
-
- BloxDodger.love
- Version 1.0, June 8, 2014
- (13.08 KiB) Downloaded 310 times
https://github.com/ebernerd- where you can find all my work.
-
- Prole
- Posts: 49
- Joined: Thu May 29, 2014 10:56 am
Re: BloxDodger - My First Game!
I tried it but it throws me back to the main menu after the first batch.
--
My OOP implementation:
https://github.com/stefanstr/class-by-gestaltist.git
My dungeon / tiled map generator:
https://github.com/stefanstr/lua_maps_by_gestaltist
My Love2D experiments:
https://github.com/stefanstr/Small-Love2D-Projects
My OOP implementation:
https://github.com/stefanstr/class-by-gestaltist.git
My dungeon / tiled map generator:
https://github.com/stefanstr/lua_maps_by_gestaltist
My Love2D experiments:
https://github.com/stefanstr/Small-Love2D-Projects
Re: BloxDodger - My First Game!
I'm having the same problem. Other than that, looks like a good game Well done! I really like the simple menus as wellgestaltist wrote:I tried it but it throws me back to the main menu after the first batch.
EDIT: Have you looked into love.graphics.rectangle?? You only have 2 textures, so if you want you could use love.graphics.rectangle to draw them. You already know how to draw images with transparency, so you'll be familiar with how do it with love.graphics.rectangle.
An (untested) example:
Code: Select all
function Enemy:draw()
if self.age < 2 then
love.graphics.setColor(255,255,255,100)
love.graphics.rectangle("fill",self.x, self.y, 32, 32)
else
love.graphics.setColor(255,255,255,255)
-- 32x32 are the dimensions of the square. You could have these in variables like width and height or something.
-- "fill" means the square will be filled
love.graphics.rectangle("fill",self.x, self.y, 32, 32)
end
love.graphics.setColor(255,255,255,255)
end
Great game I tried to find out why go you back to the main menu after you die, but I can't seem to figure it out! Sorry!
"In those quiet moments, you come into my mind" - Liam Reilly
- MicroMacro
- Citizen
- Posts: 92
- Joined: Fri May 30, 2014 2:30 am
- Location: Boston, MA, USA
- Contact:
Re: BloxDodger - My First Game!
You're supposed to be thrown back to the menu.
I know there are a few bugs, and I do need to come up with a point to the game, but other than that, thanks for the approval!
I know there are a few bugs, and I do need to come up with a point to the game, but other than that, thanks for the approval!
https://github.com/ebernerd- where you can find all my work.
Re: BloxDodger - My First Game!
Don't do love.graphics.rectangle, it was removed in 0.9.0
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
Re: BloxDodger - My First Game!
No it was not, https://www.love2d.org/wiki/love.graphics.rectangledavisdude wrote:Don't do love.graphics.rectangle, it was removed in 0.9.0
Re: BloxDodger - My First Game!
Right, my bad, that was love.graphics.quad
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
- jasper.davis
- Prole
- Posts: 24
- Joined: Fri Oct 25, 2013 2:32 pm
Re: BloxDodger - My First Game!
until I read the code for player.lua, I had no idea you died if you didn't continually move around, like move or die. I added some lines of code to give me alittle help. I like it . you might consider putting them in as well. here they are:
I look forward to your other projects. keep it up!
Code: Select all
--put these into the playerdraw() function. it adds a bar that indicates the time still.
love.graphics.setColor((c.timeStill*63.75), 255-(c.timeStill*63.75),0,200)
love.graphics.rectangle("fill", love.graphics.getWidth()- 600, love.graphics.getHeight()- 80, c.timeStill * 100, 40)
love.graphics.setColor(255,255,255,255)
Re: BloxDodger - My First Game!
idea: nice.
realization: bad.
I voted 'yes'
realization: bad.
I voted 'yes'
Who is online
Users browsing this forum: No registered users and 2 guests