Page 2 of 3

Re: My new Game

Posted: Fri Jul 17, 2015 9:48 pm
by CanadianGamer
qubodup wrote:
http://youtu.be/ZcZ_peQbr30

I won!
Yeah I still need to add obstacles and enemies

Re: My new Game

Posted: Fri Jul 17, 2015 9:50 pm
by CanadianGamer
Guard13007 wrote:Image

Hmmm... :/
the new version should work :)

Re: My new Game

Posted: Sun Jul 19, 2015 4:14 am
by Guard13007
Wait..is the link in the first post not updated?

Okay so I tried the new version, which runs...but nothing spawns. I assume something is supposed to spawn, I'm just in a tunnel going left to right.

Re: My new Game

Posted: Wed Jul 29, 2015 3:11 am
by CanadianGamer
Guard13007 wrote:Wait..is the link in the first post not updated?

Okay so I tried the new version, which runs...but nothing spawns. I assume something is supposed to spawn, I'm just in a tunnel going left to right.
sorry that it took me so long to respond but I was at the International music camp for the last week but anyway.

the reason that nothing spawns is because I haven't got to that point yet I was just wondering If anyone had Ideas

Re: My new Game

Posted: Wed Jul 29, 2015 4:44 pm
by Guard13007
CanadianGamer wrote:
Guard13007 wrote:Wait..is the link in the first post not updated?

Okay so I tried the new version, which runs...but nothing spawns. I assume something is supposed to spawn, I'm just in a tunnel going left to right.
sorry that it took me so long to respond but I was at the International music camp for the last week but anyway.

the reason that nothing spawns is because I haven't got to that point yet I was just wondering If anyone had Ideas
At this point it doesn't really matter what spawns, you just need to have some difficulty. Enemies that move in a straight line against you are the most obvious. What about enemies moving at different speeds? Enemies that shoot? (in a line? Horizontally? At an angle? Fire outwards in a circle burst? Shotgun-style? There are many options.) Enemies moving along a sine curve?

(Additionally: Power-ups? Power-downs? Something increasing your speed, something decreasing your speed, something that only increases or decreases speed on one axis?)

Maybe give the player a gun? Maybe no? Maybe that's a power-up? Or removing a gun as a de-buff? Just start trying stuff!

Re: My new Game

Posted: Thu Aug 06, 2015 1:10 am
by CanadianGamer
Guard13007 wrote:
CanadianGamer wrote:
Guard13007 wrote:Wait..is the link in the first post not updated?

Okay so I tried the new version, which runs...but nothing spawns. I assume something is supposed to spawn, I'm just in a tunnel going left to right.
sorry that it took me so long to respond but I was at the International music camp for the last week but anyway.

the reason that nothing spawns is because I haven't got to that point yet I was just wondering If anyone had Ideas
At this point it doesn't really matter what spawns, you just need to have some difficulty. Enemies that move in a straight line against you are the most obvious. What about enemies moving at different speeds? Enemies that shoot? (in a line? Horizontally? At an angle? Fire outwards in a circle burst? Shotgun-style? There are many options.) Enemies moving along a sine curve?

(Additionally: Power-ups? Power-downs? Something increasing your speed, something decreasing your speed, something that only increases or decreases speed on one axis?)

Maybe give the player a gun? Maybe no? Maybe that's a power-up? Or removing a gun as a de-buff? Just start trying stuff!

sorry it has been taking me so long to reply again but I am now almost successfully dual booting windows 8 and ubuntu mate

But any way that is actually exactly what I had in mind but I'm having some trouble getting things to spawn still and getting them to draw is also proving to be quite difficult does anyone have suggestions.

Re: My new Game

Posted: Fri Aug 07, 2015 4:19 pm
by CanadianGamer
why is this not working?

Code: Select all

function love.update()

	--enemy spawn code
	if game == true and
	beenThereFor == 20 then
		newEnemy = {x = 1000, y = math.random(200, 340)}
		table.insert(enemies, newEnemy)
	end


	--update enemy positions
	if game == true then
		for i, enemy in ipairs(enemies) do
			enemy.x = enemy.x + (level * 20)
			if enemy.x < 0 then
				table.remove(enemies, enemy)
			end
		end
	end
end

function love.draw()

	--enemy draw code
	for i, enemy in ipairs(enemies) do
		love.graphics.draw(enemyImg, enemy.x, enemy.y)
	end
end


Re: My new Game

Posted: Fri Aug 07, 2015 8:28 pm
by CanadianGamer
Nevermind I finaly got the spawning and drawing working now working on the collisions here is the .love file

Re: My new Game

Posted: Sat Aug 08, 2015 6:55 pm
by Kasperelo
Just a suggestion: You should make the goal a little bit more to the left, so you can see if any enemies are going to hit you. It's a bit unfair if you die to an enemy that you didn't even see at the edge of the screen

Re: My new Game

Posted: Sun Aug 09, 2015 3:26 am
by CanadianGamer
Kasperelo wrote:Just a suggestion: You should make the goal a little bit more to the left, so you can see if any enemies are going to hit you. It's a bit unfair if you die to an enemy that you didn't even see at the edge of the screen
Thanks for suggestion I think I wont put the goal to the left but rather put the spawn point to the left.

Edit: I just realized that that would not fix the problem so I will put the goal to the left after all