Jump to content
  • Advertisement

Archived

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

Xnin

Help me with my game plz.

This topic is 5482 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 Im making a small game for the fun of it. So far ive got 1 car moving up/down/left.... and another car (for player2) moving too (Just accelerating so far). Anyway, the problem is too dificult to explain with actually having a look at the code. Basically, when the purple car is moving forward, and then i get the the yellow car to move too, once it hits the boundary of the game (end of the ground/road), the purple car moves back. This sounds very stupid but i only explained it like that so u understand whats happening when u try it out. Here is my code (u might need the Glut dlls etc...) http://home.iprimus.com.au/ninos85/CarGame-0.82.zip Thanks For any Help

Share this post


Link to post
Share on other sites
Advertisement
I just downloaded your game and am going to give it the once-over. I also made a game similar to this so I may be able to help. Will respond in a while.

"Donkey, if it were me, you''d be dead."
I cna ytpe 300 wrods pre mniute.

Share this post


Link to post
Share on other sites
The boundary code was commented out. When putting that code back in the only thing that happens is that the yellow car will bounce back - nothing seems to go wrong with the purple car...

Share this post


Link to post
Share on other sites
I downloaded and played it, pretty cool, I liked it. I don''t really understand what you''d like us, the testers, to respond on. What do you want to know? Anyway, it seems like it could become a fun game, just give it some direction, like Grand Theft Auto 1, or Driver. Maybe just have races wih checkpoints, and when you go off the road you slow down. Just ideas, great program so far!

"Donkey, if it were me, you''d be dead."
I cna ytpe 300 wrods pre mniute.

Share this post


Link to post
Share on other sites
Wow, u guys really think its good? cool! I will turn it into a game once i get rid of these problems.

Anyway, the boundary code was comented out just 4 testing. I wanted to know why is the purple car moving back when the yellow car gets past the boundary. Its really killing me, not sure what else to do.

Ok, heres what i want u guys to try out. Run the game then accelerate the purple car (home button). It wont slow down so just let it go straight and dont worry about it. Now, move the yellow car outside the boundary and watch the puple car come back from no where. lol, thats the problem i want to figure out.


Thanks for you help so far guys!

Share this post


Link to post
Share on other sites
Tried it again - still can''t duplicate the problem with the boundary collisions ???

Share this post


Link to post
Share on other sites
quote:
Original post by lp23
Tried it again - still can't duplicate the problem with the boundary collisions ???


Was the purple car moving while u moved the yellow car into the boundary?

When the purple car is moving (Home key to accelerate it), and u smash the yellow car into the boundary. The purple car will appear in its original position again and move from there.



Hope someone can help me with this. I have no idea what to do left.

Thanks

[edited by - xnin on June 22, 2003 7:19:15 AM]

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!