Yeah I still need to add obstacles and enemies
My new Game
- CanadianGamer
- Party member
- Posts: 132
- Joined: Tue Jun 30, 2015 1:23 pm
- Location: Canada
- Contact:
Re: My new Game
My serious itch.io page:
https://pentamonium-studios.itch.io/
My less serious itch.io page:
http://canadiangamer.itch.io
https://pentamonium-studios.itch.io/
My less serious itch.io page:
http://canadiangamer.itch.io
- CanadianGamer
- Party member
- Posts: 132
- Joined: Tue Jun 30, 2015 1:23 pm
- Location: Canada
- Contact:
Re: My new Game
the new version should workGuard13007 wrote:
Hmmm... :/
My serious itch.io page:
https://pentamonium-studios.itch.io/
My less serious itch.io page:
http://canadiangamer.itch.io
https://pentamonium-studios.itch.io/
My less serious itch.io page:
http://canadiangamer.itch.io
- Guard13007
- Party member
- Posts: 134
- Joined: Sat Oct 25, 2014 3:42 am
- Location: Internet, USA
- Contact:
Re: My new Game
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.
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.
- CanadianGamer
- Party member
- Posts: 132
- Joined: Tue Jun 30, 2015 1:23 pm
- Location: Canada
- Contact:
Re: My new Game
sorry that it took me so long to respond but I was at the International music camp for the last week but anyway.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.
the reason that nothing spawns is because I haven't got to that point yet I was just wondering If anyone had Ideas
My serious itch.io page:
https://pentamonium-studios.itch.io/
My less serious itch.io page:
http://canadiangamer.itch.io
https://pentamonium-studios.itch.io/
My less serious itch.io page:
http://canadiangamer.itch.io
- Guard13007
- Party member
- Posts: 134
- Joined: Sat Oct 25, 2014 3:42 am
- Location: Internet, USA
- Contact:
Re: My new Game
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?CanadianGamer wrote:sorry that it took me so long to respond but I was at the International music camp for the last week but anyway.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.
the reason that nothing spawns is because I haven't got to that point yet I was just wondering If anyone had Ideas
(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!
- CanadianGamer
- Party member
- Posts: 132
- Joined: Tue Jun 30, 2015 1:23 pm
- Location: Canada
- Contact:
Re: My new Game
Guard13007 wrote: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?CanadianGamer wrote:sorry that it took me so long to respond but I was at the International music camp for the last week but anyway.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.
the reason that nothing spawns is because I haven't got to that point yet I was just wondering If anyone had Ideas
(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.
My serious itch.io page:
https://pentamonium-studios.itch.io/
My less serious itch.io page:
http://canadiangamer.itch.io
https://pentamonium-studios.itch.io/
My less serious itch.io page:
http://canadiangamer.itch.io
- CanadianGamer
- Party member
- Posts: 132
- Joined: Tue Jun 30, 2015 1:23 pm
- Location: Canada
- Contact:
Re: My new Game
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
My serious itch.io page:
https://pentamonium-studios.itch.io/
My less serious itch.io page:
http://canadiangamer.itch.io
https://pentamonium-studios.itch.io/
My less serious itch.io page:
http://canadiangamer.itch.io
- CanadianGamer
- Party member
- Posts: 132
- Joined: Tue Jun 30, 2015 1:23 pm
- Location: Canada
- Contact:
Re: My new Game
Nevermind I finaly got the spawning and drawing working now working on the collisions here is the .love file
- Attachments
-
- dodge.love
- (12.52 KiB) Downloaded 71 times
My serious itch.io page:
https://pentamonium-studios.itch.io/
My less serious itch.io page:
http://canadiangamer.itch.io
https://pentamonium-studios.itch.io/
My less serious itch.io page:
http://canadiangamer.itch.io
Re: My new Game
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
- CanadianGamer
- Party member
- Posts: 132
- Joined: Tue Jun 30, 2015 1:23 pm
- Location: Canada
- Contact:
Re: My new Game
Thanks for suggestion I think I wont put the goal to the left but rather put the spawn point to the left.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
Edit: I just realized that that would not fix the problem so I will put the goal to the left after all
My serious itch.io page:
https://pentamonium-studios.itch.io/
My less serious itch.io page:
http://canadiangamer.itch.io
https://pentamonium-studios.itch.io/
My less serious itch.io page:
http://canadiangamer.itch.io
Who is online
Users browsing this forum: No registered users and 4 guests