I made that little game to can working better with lua/love2d, my hope it is complete the project. I want you people tell what a add to the project and maybe tell me how i make something then complete the project. For I finishing: Some one tell me how I can restart the game in the end.
Image https://love2d.org/imgmirrur/2Ij6OO6.jpg
Moviment: Arrow keys
Shoot: X
Asteroid Per Outro - Simple Game to my studies
Asteroid Per Outro - Simple Game to my studies
- Attachments
-
- Asteroid Per Outro v.0.0.1.love
- (1.07 MiB) Downloaded 404 times
Last edited by modog on Tue Mar 29, 2016 1:02 am, edited 1 time in total.
lua-chan falling in love with löve-senpai
- Luke100000
- Party member
- Posts: 232
- Joined: Mon Jul 22, 2013 9:17 am
- Location: Austria
- Contact:
Re: Asteroid Per Outro - Simple Game to my studies
Hello,modog wrote:I made that little game to can working better with lua/love2d, my hope it is complete the project. I want you people tell what a add to the project and maybe tell me how i make something then complete the project. For I finishing: Some one tell me how I can restart the game in the end.
Image https://love2d.org/imgmirrur/2Ij6OO6.jpg
I made v0.0.2 by accident I just wanted to check the code to tell you a possible solution to restart the game, but I found some small bugs and I had to fix them. I also added waves.
To restart the game I made a function which reset all vars. That's all.
I hope you can learn something from it
changelog:
added restart button
added waves
fixed explosion sound when hitting too fast in a row
fixed high of enemies
game now uses deltatime
recreate game over message
ideas
more types of enemies (more health, faster, moves around, ...)
enemies can shoot (already in progess I think)
points
effects like explosions
boss battle
bugs
player should start in the middle
player can move out the screen
Re: Asteroid Per Outro - Simple Game to my studies
Well, i had to look into the source code to figure out how to shoot. XD
Also, the restart didn't work for me. It just does absolutely nothing.
But looks good for an exercise. I suggest you try adding effects now, like particles, tweening...
<br>(Also, -- As bala da 38 do cara? Eu não vi cara nenhum mano HAHEUA)</br>
Also, the restart didn't work for me. It just does absolutely nothing.
But looks good for an exercise. I suggest you try adding effects now, like particles, tweening...
<br>(Also, -- As bala da 38 do cara? Eu não vi cara nenhum mano HAHEUA)</br>
https://github.com/Sulunia
Re: Asteroid Per Outro - Simple Game to my studies
@Luke100000 Thanks mate! I played for see how looks now, but I don't see the code yet, I wanna see the code and try fix somethings, maybe adding effects on screen or in the characters.
[PT-BR]
@Sulunia AHSEUAUHSE Fica mais fácil de lembrar. Cara = Nave Azul. And sorry for I dont tell how shoot in the game. xD
[PT-BR]
@Sulunia AHSEUAUHSE Fica mais fácil de lembrar. Cara = Nave Azul. And sorry for I dont tell how shoot in the game. xD
lua-chan falling in love with löve-senpai
Re: Asteroid Per Outro - Simple Game to my studies
Replay not working because wrong key code used.
should be:
A change related to latest version of Love.
Code: Select all
if game.over or game.win and key == ' ' then restart() end
Code: Select all
if game.over or game.win and key == 'space' then restart() end
- Luke100000
- Party member
- Posts: 232
- Joined: Mon Jul 22, 2013 9:17 am
- Location: Austria
- Contact:
Re: Asteroid Per Outro - Simple Game to my studies
oh, I made it for version 0.9.2Ref wrote:Replay not working because wrong key code used.should be:Code: Select all
if game.over or game.win and key == ' ' then restart() end
A change related to latest version of Love.Code: Select all
if game.over or game.win and key == 'space' then restart() end
Re: Asteroid Per Outro - Simple Game to my studies
You should start using 0.10.1, there's pretty much no reason to stay behind.
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
- Luke100000
- Party member
- Posts: 232
- Joined: Mon Jul 22, 2013 9:17 am
- Location: Austria
- Contact:
Re: Asteroid Per Outro - Simple Game to my studies
A lot of things have been changed and I need to update all my games. I'm too lazy to do that. Someday maybe.Nixola wrote:You should start using 0.10.1, there's pretty much no reason to stay behind.
Re: Asteroid Per Outro - Simple Game to my studies
I just resolved that. I'm writing and testing something to adding the project, a some time I post here.Ref wrote:Replay not working because wrong key code used.should be:Code: Select all
if game.over or game.win and key == ' ' then restart() end
A change related to latest version of Love.Code: Select all
if game.over or game.win and key == 'space' then restart() end
lua-chan falling in love with löve-senpai
Re: Asteroid Per Outro - Simple Game to my studies
Please, some one have a good place to learn better Love2D?
Log
- I try to adding particle system, but the particles dont show in the enemy place when enemy dies.
Log
- I try to adding particle system, but the particles dont show in the enemy place when enemy dies.
lua-chan falling in love with löve-senpai
Who is online
Users browsing this forum: No registered users and 2 guests