Hi guys,
I took an example on the internet and added a few features to a little shooting game.
I used an object oriented library called "classic".
Is it any good?
Do you notice any flaws in the code?
Do you recommend the object oriented approach? Why?
Little shooting game
Little shooting game
Last edited by xNick1 on Mon Dec 12, 2016 3:26 pm, edited 1 time in total.
Re: Little shooting game
new version:
now there's a high score visible in the main menu
sorry for deleting the post and then posting again, there was a bug in my code
now there's a high score visible in the main menu
sorry for deleting the post and then posting again, there was a bug in my code
Re: Little shooting game
Loads of questions here. I haven't used classic myself, but from what I can tell its a fairly simple OO library. I use 30log but frankly I dont think it matters all that much. Use whatever you're comfortable with.xNick1 wrote: I used an object oriented library called "classic".
Is it any good?
Do you notice any flaws in the code?
Do you recommend the object oriented approach? Why?
I probably use OO a bit too much, but its very useful in many situations. For instance in a game, representing entities with classes and objects can be very helpful. Again, I'd say do what you're comfortable with. I recommend a combination of OO and procedural programming.
You don't have to delete your post, you can edit it and upload the new file.xNick1 wrote: sorry for deleting the post and then posting again, there was a bug in my code
Good luck on your programming!
Computer science student and part time game dev! Currently working on Depths of Limbo!
Check out the game website DepthsOfLimbo.com!
And my personal website with all my projects evgiz.net!
Check out the game website DepthsOfLimbo.com!
And my personal website with all my projects evgiz.net!
Re: Little shooting game
evgiz wrote:Loads of questions here. I haven't used classic myself, but from what I can tell its a fairly simple OO library. I use 30log but frankly I dont think it matters all that much. Use whatever you're comfortable with.xNick1 wrote: I used an object oriented library called "classic".
Is it any good?
Do you notice any flaws in the code?
Do you recommend the object oriented approach? Why?
I probably use OO a bit too much, but its very useful in many situations. For instance in a game, representing entities with classes and objects can be very helpful. Again, I'd say do what you're comfortable with. I recommend a combination of OO and procedural programming.
You don't have to delete your post, you can edit it and upload the new file.xNick1 wrote: sorry for deleting the post and then posting again, there was a bug in my code
Good luck on your programming!
Yeah I know, everyone uses different libraries.
This is just one of my first attempts, classic is the first OO library I've ever used.
I found a tutorial about it, so I picked that one for the game.
But I guess I'll find the right tools for me as the time goes on.
I'll take a look at 30log then.
Thank you =)
The same goes for me, the more OO it is, the better for me
Re: Little shooting game
Updated with the spawning of a random enemy instead of the same one everytime.
I'm trying to figure out how to make you choose it from the menu :/
Here's the updated game:
I'm trying to figure out how to make you choose it from the menu :/
Here's the updated game:
Re: Little shooting game
Little update.
Fixed a bug and the game is now organized better
Feel free to give me suggestions about how to organize the code better
Fixed a bug and the game is now organized better
Feel free to give me suggestions about how to organize the code better
Re: Little shooting game
Updated version:
You can now choose the enemy from the menu
You can now choose the enemy from the menu
Re: Little shooting game
Reorganized the code a little, new feature in the game.
Who is online
Users browsing this forum: No registered users and 1 guest