Hello again,
Since the last video, I have completed my first XNA Game, called "Beethoven's Matching". It's a simple matching game that you play using the XBOX 360 Joystick on the PC. You could technically play the game on the XBOX 360, but the game has not been uploaded to my XNA Creators club account so you cannot purchase it using that service at the moment.
My next project is something along the lines of a traditional "top down" style RPG. The player mainly goes about an adventure by moving the "Hero" about the screen using the D-Pad and interacts with other people, monsters, and objects in that world. So far, this game uses a variety of classes that work together that aren't really being shown off in this video. Perhaps future video updates will allude to the amount of setup I've done to get this game where it is. Up next, I think, will be to include some sort of boundary system that ensures that the player can't walk on particular areas of a map. This is very closely related to interaction with NPC's on the map, as well as map transitioning, so I'm sure I'll have something to say about those features as this progresses.
That's all for now. Feel free to contact me if you have any questions or comments.
Using "random" numbers in code like in "_itemLocationsIndex = 9" is poor coding style and will give you headache later if you will need to change max possible items, for example. Also its weird why you even have it in your code because normally you would have some class like "Inventory" containing List or array of "Item" and then would use array.Length or list.Count to get your bounds. You would probably create constant int variable in your inventory class describing maximal item count
Storm336 2 years ago
@Storm336
Thanks for the suggestion! I addressed this issue already, but I'm always open for critique. As for the number, _itemLocationsIndex is used to index my way through the Items array in the HeroInventory class. So your thoughts on my Item and inventory classes were spot on.
-Bob.
bioniclebert 2 years ago
do you draw your own graphics?
sodafountan 2 years ago
@sodafountan
At the moment, I am drawing everything except the hero. The hero was drawn by a guy I found that provides free graphics to use in other peoples game projects. I'm not any good at it, but there's a lot of simple stuff that's easy to do in Paint and GIMP. Hope this helps.
bioniclebert 2 years ago