Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

n0p3x

Please have a go of my game.

This topic is 6656 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, Check out my game and let me know what you think. Please don''t criticise it to badly as i''m pretty new to the world of DirectX. As for the opponent sprites just ignore them, I''m working on getting ''real'' ones done. It''s less than 400k so it wonttake any time to download. Oh, if it crashes or anything then please email me the file errors.log to root@cod3r.cjb.net here it is Thanks all Regards, David Stubbs

Share this post


Link to post
Share on other sites
Advertisement
Your game works perfect on my machine. It''s a bit simple, but it isn''t that bad considering you''re new to DirectX. Just keep adding features (maybe let the player have an decreasing energy bar so (s)he has to pick up items), graphics etc. to make the game more interesting.

Share this post


Link to post
Share on other sites
Cool game
The little ship is from Lamothe''s TOTWGPG, right ?
Got 30fps (Why are you locking the frame rate?)



The road to success is always under construction

Share this post


Link to post
Share on other sites
Yeah the ship is stolen from his book. The frame rate is locked to stop the game running too fast onother computers. I''ve got loads I want to add to the game, im just working on them slowly.

Thanks for checking it out

Regards,
David Stubbs

Share this post


Link to post
Share on other sites
Why stollen ? Borrowed...
You can make the game run at the same speed on any computer w/o locking the fps.
You update the position of your characters on screen according to the current FPS.
You count the time it takes for the game to finish one frame and go to another and you make your ships move by units-per-second.
So, if the difference between the frames is 0.1s (pretty slow but whatever...) and the ship's speed is 20 units-per-sec the ship will move 2 pixels in the next frame.
Much better
BTW, Why when I press Space this weird stuff come out of the ship and the game shuts down a sec after ?

Edited by - Tornado on August 28, 2000 5:08:13 AM

Share this post


Link to post
Share on other sites
I was hoping to code the game like that so it would always run at the same speed. It just takes a while to get these things done as their is so much I want to do.

I am curent;y working on an explosion sequence. Rather than having tokeep dieing I have it so pressing RETURN (you meant that key didn''t you Tornado?) it does the death sequence. However, it''s very buggy and usually crashes soon after

Thanks for all the help anyway.

Regards,
David Stubbs

Share this post


Link to post
Share on other sites
about 3 seconds into the game it starts going reallly slow... like 1 frame every 3 seconds

i get these errors in error.log:
(down the bottom)

ERROR: FillScreen, Blitting colour to surface
ERROR: Locking back buffer

i have a celeron433, tnt2 32mb m-64, 64mb ram

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!