Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

786 Good

About mk.jr.fan

  • Rank

Personal Information

  • Interests
  1. mk.jr.fan

    Making an in game shop?

      1) It is a 2D game. The items that the player has will have instant effect as there will be no place to hold the items. I could make it so the player can visit the store to swap out previously bought items for no cost. 2,A) He will not have a list as bucket upgrades are direct and provide no trade off, so there would be no reason to switch to an older one. 2,B) He will have the latest bucket he purchased. 2,C) The bucket is not in any inventory. The inventory is meant to hold just caught fish. 3) I am currently unsure if there will be a point of switching, but I'm going to say there will be no reason to downgrade as new boats will always be direct upgrades.    Also I'm starting to understand the idea behind having different classes that hold the item's data. I actually think I was somewhat starting to develop that when I was first trying to make the store.
  2. mk.jr.fan

    Making an in game shop?

    Thank you guys so much for the help! As what Servant of the Lord said about my question, we kinda did get a little off topic. But I guess I also forgot the original question after  reading some of the replies. Since I do not know how many items I plan on selling, it seems best that I fully plan that out first.    I really like the idea of breaking things down into parts as suggested by switfcoder:   But I'm just a little unsure how this works. Like if it was buying an item from a store switching from tap to hold, what would be executed once it was bought? Also @Servant_of_the_Lord I am planning on having multiple stores, but I do not understand your second example that well.  For example, I am not sure what this means because I'm not familiar with the language. struct Hook { /* etc... */ }; struct Rod { /* etc... */ }; struct Propeller { /* etc... */ }; struct FishingNet { /* etc... */ }; struct Bucket { /* etc... */ }; And how the shop code works. Could you please explain it a little more?
  3. mk.jr.fan

    Making an in game shop?

    Thank you Onigiri Flash for the illustrations, they really helped! I like both ideas, but Onigiri's seems more practical in my case because controlling the boat might change. For example, I'm going to have a row boat that requires a constant press to keep moving and speed boat that can move by holding a button.   But I might do both if I'm going to have many boats in different subclasses. 
  4. mk.jr.fan

    Making an in game shop?

    Thanks for the reply! Wow I haven't thought about polymorphism in a while, I think I'm going to need to refresh myself on it.   I use java, but I don't really understand your example that well. Are StarterBoat and MegaBoat two objects that extend the class boat?
  5. mk.jr.fan

    Making an in game shop?

    I am currently making a fishing game and I wanted to know what would the best approach to making a shop. In the store it will sell boats (to increase speed in the ocean), hooks (increase the number of fish that can be caught), rods (increase how far the hook can go), and buckets (increases the inventory space). Should I be making classes for each individual item? Or have a list of stats that change the starting items?   Thanks for any help!
  6. mk.jr.fan

    Making a simple drawing game in browser?

    Just a quick question, if I were to create the drawing app for html5 will it work for mobile devices? When searching online for tutorials, the examples wouldn't work for my tablet.
  7. Hi I want to make a simple drawing game that I can use for a class project. The idea is that I post a url on the screen and people type it in on their personal device (very much like Kahoot!). Once I feel like everyone has joined I'll start the game. The main purpose for this demonstration is making a collaborative drawing, so I would like it to update people's drawing on the board as they draw.   My main experience is programming in java and using that to program small games. Any idea on how to make the website and/or drawing app? Thanks for any help!
  8. mk.jr.fan

    To scale or not to scale?

        If it was more cartoony or pixelated style, would it look weird if a bass was the size of a boat? Or could it possibly make sense that underwater the fish look bigger and then once they are reeled up they become smaller?
  9. mk.jr.fan

    To scale or not to scale?

    Hi, I'm currently trying to create a fishing game and was having trouble determining a scale in which to make the fish and player. For example, would it look out of place if a goldfish were bigger than the boat trying to catch it? Or should I make the goldfish smaller than the boat?   The problem I'm having with scale is that the bigger the fish are, the bigger the world, which could lead to optimization problems. I also don't want to make the fish too small as that would make it harder to see. (As an aside question: If I'm working to make a game for PC is there a size I should stay above so it's not too small for the player to notice?)   Does it make a game look better if it's too scale (or close) or does it not matter?
  10. @TheChubu: Thank you for providing me with a base for my research.   @braindigitalis: That's an interesting post I'll definitely be looking through that.
  11.   I'm having  trouble looking for tutorial or information on how i would be able to go through each pixel in an image. Is there somewhere you can point me to or give me a key word to look up?     No problem, it's basically going to be a fishing game that I was going to use to work on making collision checks more efficient.  The game world is divided up into a grid that is used to detect collision. The collision grid basically sorts where the location of each object to make a collision detection more efficient for smaller moving objects.
  12.     Would you have any tips on how I could dissect an image in java to use it as a level?         Are you suggesting I make a text map that has numbers and letters to represent what each block on the map represents?
  13. Hi I am currently making a fishing game in Java and I wanted to know how I could make a level editor for my game. The game world is divided up into a grid that is used to detect collision. The collision grid basically sorts where the location of each object to make a collision detection more efficient for smaller moving objects.But for solid objects that players can walk on and bump into (like land and sea walls), I plan to make it different where one block of land fills one unit on the grid. The only problem is that I'm not sure how I can place these blocks in a more visual way.   I understand that I could possibly use a text editor and fill the map with 1s and 0s, but I would like the possibility of making a map/level editor. Would it be possible to make an image and let the program interpret that from a file or should I make a level editor in game? Is there any other way to make a level editor?   Any suggestions or help would be appreciated! 
  14. mk.jr.fan

    Sfml or Libgdx (C++ or Java)?

    @rip-off Yeah I guess your right. If I want to make it the best I possibly can I should go with what I'm familiar with. But I was wondering does it make sense to continue learning C++ while working on the game in Java?   @Glass_Knife Although I probably wont be buying the book (I'm broke), that is a pretty nice compilation of tutorials!
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!