Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

113 Neutral

About marcjoel

  • Rank
  1. I got the Clearance-based Path finding. BUT the agents/units there are always square. 1x1, 2x2, 3x3.. What if I have 2x3 or 2x4 agent/unit?
  2. Hmmm, so basically, A* tile map 01 for HERO, A* tile map 02 for monsters with 3 by 3, A* tile map 03 for monsters with 4 by 4. hmmmmmm. then i will update those 3 tile maps based of their summation? so that no one will be overlapping anyone?
  3. First of all, I already know A* algorithm. I would like to make/test a walking hero character on a map made in a level editor(also made by me). What I have done before is manage to walk my hero on a map with the given information: -Texture tile size is same as A* tile size. -The hero stands on 1 A* tile. That's a bit straight forward isn't it? It's just applying the A* algorithm posted in the tutorials found in the internet. My problem is.. Given: -Texture Tiles: 100 x 100 pixels (the actual texture that will be rendered) -A* Tiles: 25 x 25 pixels (determines whether walkable or unwalkable) (4 by 4 A* tiles in 1 texture tile) -Hero character eats 2 by 2 A* tiles (that's 50 x 50 pixels) -Monsters eat different amount of A* tiles like a big one stands on a 5 by 5 A* tiles while a smaller one on a 3 by 3 A* tiles. How to go with this?
  4. that's the position/movement,but when to shoot?
  5. is this the way the jamestown made?
  6. Hello guys! I'm thinking of making a bullet-hell game like Sky Force or Jamestown. My question is how do you create the levels? What I mean is how is the level data structured or how will be the level editor look like for games like this? This is my first time to hit this game genre.
  7. marcjoel

    C++ best way to create a timer for my game

    GetTickCount() is a low resolution timer. Here, I have a class that uses HIGH RESOLUTION TIMER. [source lang="cpp"]// -- timer.h /** * A high resolution timer class. */ class Timer { private: LARGE_INTEGER mFreq; LARGE_INTEGER mStart; LARGE_INTEGER mEnd; double mElapsedTime; public: /** * Constructor. */ Timer(); /** * Destructor. */ virtual ~Timer(); /** * Marks the timer. */ void StartTimer(); /** * Gets the elapsed time in milliseconds. * @return Time in milliseconds. */ double GetTimeInMillis(); }; // -- timer.cpp Timer::Timer() { QueryPerformanceFrequency ( &mFreq ); } Timer::~Timer() { } void Timer::StartTimer() { QueryPerformanceCounter ( &mStart ); } double Timer::GetTimeInMillis() { QueryPerformanceCounter ( &mEnd ); mElapsedTime = ((mEnd.QuadPart - mStart.QuadPart) * 1000.0f / mFreq.QuadPart); return mElapsedTime; }[/source]
  8. try Popcap's Game Framework.
  9. marcjoel

    Managing Game States

    Make a base class of the States, let's say class BaseState. then inherit every state in it. for example: class MainMenuState : public BaseState. then make a class that handles the state, i.e. class StateManager. This class will just have a pointer to a BaseState. Register your real states to this manager then act accordingly. Heres a sample code. class BaseState { public: virtual void Update() = 0; }; class MainMenuState : BaseState { public: void Update(); }; class StateManager { private: BaseState* current_state; public: void SetState(BaseState* state) { current_state = state; } void UpdateCurrentState() { current_state->Update(); } }; Something like that I hope it helped you Good day!
  10. I got your point guys. Thanks for your opinions/suggestions.
  11. Ahh I see you point. I'm just wondering how this "KonsolScript" got its community? Im not being sarcastic here, I'm sorry. It's just that I'm not good in english. Anyways, hmmmm.. So you're telling me that there are no other benefits here aside from just learning to make one? Are there still any other options?
  12. I actually made the game engine though it needs some adjustments and tweaking. as for the ide and vm, not yet. as well as the compiler. Yes I agree with you that it's hard to sell tools today. But do you think I can at least manage to build a community(considering I give it for free) and use it for my upcoming games? You know, the advertising and marketing stuffs. It will be easier to announce games to the audience if I have a community right? hmmmm..
  13. Hi to all! First of all, I would like to introduce myself. I'm Marc, a game developer since 2009. I have made my own 2d game engine(not like game maker that has its own scripting and editor) using C++ and directx 9/openAL. Now, what my plan is to make my own Compiler that compiles my own scripting language that accesses my game engine. Those scripts are written in my own IDE which can directly run the compiler and launch the game. My current purpose here is to help my friends(game designers) to make games they design without learning C++. BUT there are game engine there that is far better than mine(i.e. mine is only for 2d). So what features can I add or should I say, what can be the selling point of this package I'm planning on. Since developing these stuffs will eat lots of my time and effort and I don't want to reach the end and tell myself, "wow! I wasted all that time and effort for this crap! and there's no way this can compete with others". What do you think guys?
  • 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!