Register    Login    Forum    Search    FAQ

Board index » Everything




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post Posted: June 17th, 2017, 8:27 pm 
 

Joined: June 17th, 2017, 5:46 pm
Posts: 8
Location: Sweden
Hello and welcome to myself. My name is BerlingSwe, and I've been watching Chili's YouTube tutorials for a couple of months now. I made it to about tutorial 14 before I decided to join the forums too and interact with other programmers and get feedback from the community. I recently subscribed to Chili's patreon because, let's face it, Chili's tutorials are beyond amazing. (Thank you very much)

Anyway, here is my first project I uploaded to GitHub:
https://github.com/BerlingSwe/GridGame

Attachment:
File comment: Here is the game download :)
ReleaseGridGame.rar [467.65 KiB]
Downloaded 10 times


It is a simple box game, based on a grid. At the time, it is very similar to the Snek Game, but I plan to add a lot of features;
[-] = not implemented [X] = implemented
[-]Collecting and placing "blocks/boxes" with the player (with collision)
[-]Simple level design (with collsion)
[-]Drawing blocks with your mouse (click on the screen anywhere and it fills in the empty box you
clicked over)

[-]Enemies (killable)
[-]Health
[X]Sound effects (recently added sound support and sound file for collecting the coin

One thing I am also planning, is to pretty up some of the poorly written code, and implement current features a little better. But don't take that into consideration when giving feedback down below, the more feedback and critique I receive, the more I progress in my programming life.
Thank you for checking this thread out!


Top 
 Profile  
Reply with quote  
 Post Posted: June 18th, 2017, 5:11 am 
Site Admin
User avatar

Joined: December 31st, 2011, 4:53 pm
Posts: 3486
Location: Japan
Looks like a good start bro. The first thing I'm going to say is, you should have the Location variables as part of the game entity classes. So Coin should store its own location as private member data, and it should not need location passed in in order to draw itself.

_________________
Chili


Top 
 Profile  
Reply with quote  
 Post Posted: June 18th, 2017, 6:34 am 
User avatar

Joined: February 14th, 2017, 7:32 pm
Posts: 170
How did Chili access the code? It was just a .exe file with audio with it for me?

Anyways, seems like you've understood the grid! I haven't yet... So I'll have to rewatch that episode.


Top 
 Profile  
Reply with quote  
 Post Posted: June 18th, 2017, 7:57 am 
 

Joined: June 17th, 2017, 5:46 pm
Posts: 8
Location: Sweden
Zedtho wrote:
How did Chili access the code? It was just a .exe file with audio with it for me?

Anyways, seems like you've understood the grid! I haven't yet... So I'll have to rewatch that episode.

There is a github link :)


Top 
 Profile  
Reply with quote  
 Post Posted: June 18th, 2017, 7:57 am 
Site Admin
User avatar

Joined: December 31st, 2011, 4:53 pm
Posts: 3486
Location: Japan
github master race 8-)

_________________
Chili


Top 
 Profile  
Reply with quote  
 Post Posted: June 18th, 2017, 8:07 am 
 

Joined: June 17th, 2017, 5:46 pm
Posts: 8
Location: Sweden
chili wrote:
Looks like a good start bro. The first thing I'm going to say is, you should have the Location variables as part of the game entity classes. So Coin should store its own location as private member data, and it should not need location passed in in order to draw itself.

Okay, I see what you mean.

I also spent 4 hours trying to get drawing blocks to work, and I finally did it, but my plan to do it with arrays didnt work too well (ended up corrupting my whole project lol) so I had restart from the git code. But anyways, the code for drawing blocks right now is in my opinion horribly written, so I would need some guidance on how to write it better. I will update it as soon as I can


Top 
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 6 posts ] 

Board index » Everything


 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: