Page 1 of 2

7 Day Roguelike Challenge Challenge

Posted: Sat Mar 05, 2011 4:49 am
by furi
Image

This is a roguelike with a new genre mixed in: Time attack.

In this game, you must get to the stairs on the level you're on before it fades away. That's right - the level will fade to nothing, leaving you in the abyss. This is the only thing you have to worry about, as there are no monsters.

You are equipped with a special gadget that allows you to destroy the 8 spaces that are around you. Press left ctrl to activate it. It fills holes automatically, so there's no need for that, either. It does not work on stairs, and it's not worth trying, either.

You aren't just some typical Image. That's degrading, unless, of course, you're a traditionalist. If so, no offense. Hop on over to player.lua and change things up, like the color and symbol. If the background color and game's text color isn't really doing it for you or is hurting your eyes, this is also the place to go to change it.

Don't like the font, either? Picky, picky, picky. Included are more than the default "fixed.ttf" font, which you can change in player.lua as well, along with the size. It has to be monospaced, if you're planning on using your own font.
These are the included fonts.
Image
All are size 8, and the examples were all typed in lowercase.

You can customize the controls in controls.lua.

Re: 7 Day Roguelike Challenge Challenge

Posted: Sat Mar 05, 2011 10:13 am
by EMB
Attachment are preffered on this forum, just to let ya know.
Speaking of that, here it is:
7DRLCC.love
(15.67 KiB) Downloaded 1256 times
Umm, no comment on the gameplay... I don't want to be rude.

Re: 7 Day Roguelike Challenge Challenge

Posted: Sat Mar 05, 2011 10:35 am
by Piggles
Could be a fun idea, but with the small font and everything being bright white, it's a little hard on the eyes (my eyes, at least). Maybe if the font was a bit larger and the walls were a different color to the floor it would be better. Also, a few times I was trapped by walls on all sides when the game started.

Re: 7 Day Roguelike Challenge Challenge

Posted: Sat Mar 05, 2011 8:07 pm
by furi
EMB wrote:Attachment are preffered on this forum, just to let ya know.
Speaking of that, here it is:
7DRLCC.love
Umm, no comment on the gameplay... I don't want to be rude.
Sorry, twice over. Either way, though, I'd appreciate input. It'll help.
Piggles wrote:Could be a fun idea, but with the small font and everything being bright white, it's a little hard on the eyes (my eyes, at least). Maybe if the font was a bit larger and the walls were a different color to the floor it would be better. Also, a few times I was trapped by walls on all sides when the game started.
I could do that, but the thing is that the player is drawn seperately from the map, as is with opened doors. The font that's currently used is exactly 6x10 and monospaced, so I don't have to worry about issues with it.
EDIT: Never mind what I said. 7 days have NOT passed up yet, so I can still get this done, hopefully.

Re: 7 Day Roguelike Challenge Challenge

Posted: Sat Mar 05, 2011 9:13 pm
by EMB
Umm, I don't like using the numpad for controls, it's not normal. Especially with shift as jump...
The only other thing was what I couldn't get it to jump over a hole at all.

Re: 7 Day Roguelike Challenge Challenge

Posted: Sat Mar 05, 2011 9:21 pm
by furi
EMB wrote:Umm, I don't like using the numpad for controls, it's not normal. Especially with shift as jump...
The only other thing was what I couldn't get it to jump over a hole at all.
Hold down shift. Also, the reason it's numpad is, well, roguelikes mostly use the numpad. It allows for diagonal movement.

EDIT: Actually, I should probably edit this, once again, and add in customizable controls. Not too hard to do.
EDIT2: Done.

Re: 7 Day Roguelike Challenge Challenge

Posted: Sat Mar 05, 2011 11:05 pm
by TechnoCat
main.lua:417

Code: Select all

function love.update()
	if player.timer > 0 and start == 0 then
		player.timer = player.timer - 1;
		print(player.timer);
		if player.timer ==0 then
I got so very frustrated playing this game. Now I see why. You aren't using DT to update your timer! I only get about 1.5 seconds to find and get to a staircase.

Re: 7 Day Roguelike Challenge Challenge

Posted: Sat Mar 05, 2011 11:26 pm
by furi
TechnoCat wrote:main.lua:417

Code: Select all

function love.update()
	if player.timer > 0 and start == 0 then
		player.timer = player.timer - 1;
		print(player.timer);
		if player.timer ==0 then
I got so very frustrated playing this game. Now I see why. You aren't using DT to update your timer! I only get about 1.5 seconds to find and get to a staircase.
Oh, goodness. I'm sorry. I completely forgot about that. I'm on it right now.

Sorry, again. Really.

Would I simply replace "- 1" with "- dt"? I'm not sure for sure.

EDIT: Yeah. Updating it. Again, sorry.

Re: 7 Day Roguelike Challenge Challenge

Posted: Sat Mar 05, 2011 11:40 pm
by TechnoCat
wow, colored A is a huge plus.
main.lua:418 needs to be timer <= 0, not timer == 0

Code: Select all

		player.timer = player.timer - 1*dt;
		if player.timer ==0 then
			--love.filesystem.write('highscores.txt',player.name..": "..player.levels.."\n");
			player.gameover=1;
			player.start=1;

Re: 7 Day Roguelike Challenge Challenge

Posted: Sat Mar 05, 2011 11:43 pm
by furi
TechnoCat wrote:wow, colored A is a huge plus.
Kinda forgot to set it back to default. orz
Either way, I needed to update again.

Code: Select all

function love.update(dt)
	if player.timer > 0 and start == 0 then
		player.timer = player.timer - 1*dt;
		if player.timer == 0 then
to

Code: Select all

function love.update(dt)
	if player.timer > 0 and start == 0 then
		player.timer = player.timer - 1*dt;
		if player.timer <= 0 then