Added: 3 years ago
From: aldex123
Views: 2,775
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (9)

Sign In or Sign Up now to post a comment!
  • How do you handle multiple shots? 5*

  • actually there's just 5 bullets, and when one of them goes off screen it's re-used.. I used an array of Bullets (Bullets is a class I made for that game.. pretty simple..)

  • @aldex123

    Could i see this class?

    (I can prog. but i don't check this )

  • I don't have that project anymore.. I think it was two ints with positions, (x and y) and a boolean (onScreen)

  • hey nice game, I'm looking to put a dev team together and was wondering if you'ld like to join. we'ld be using c++ and win32 but not allegro or sdl. send me a message if you're interested!

  • Hey... Well what will you use? OpenGL or DirectX?

    You should check y others videos XD this is totally pathetic XD

  • that's awesome man! I've been thinking about doing a game like this except i started allegro a bit to early lol so once i learn a little more C++ i hope to make a game as good as this :P

  • Thanks man =) you should check my other vids =D my platform games, they are way better than this one!

    If you have any question just ask!

    ;)

  • Pretty good, one thing I would say is try to implement pointers. Basically they are alot faster and more efficient, the way your doing is just using a . for instance "ship.MovePlayer();" the reason thats bad is when ever you pass any parameters through it creates a copy of them, pointers send the address of the object therefore not creating a copy. Making a copy of alot of objects slows down the game.

    Check out my stuff :)

  • Hey thanks for the comment! yeah I know about pointers!

    A lot of my functions use Reference instead...!

    Yeah the game ran slowly! But it's because I'm working on Parallels on a Mac, so I just have 368 MB of Ram, and also, using the hyper cam makes it a lot laggy, it runs really smooth heh!

    But well! I'll take your advice on a next project!

    Thanks for the comment again! I'll check your stuff!

  • In a game of that scale, don't expect any performance increase whatsoever.

  • Well thats true, however he may wish to expand on it a bit. Its also good to get into a good habit straight away.

  • Well I lost all the code and the game... My computer lost all the information while trying to make a windows partition... XD so well... I'm learning DirectX so I'll wait to make a better one with it! heh!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more