Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Need help with a Galaxians Style Game

Author
Message
Daedelous
19
Years of Service
User Offline
Joined: 21st Jul 2005
Location:
Posted: 29th Jul 2005 21:16
Sorry, a re-post of an earlier request, didn't get an answer



Sorry if it's a little messy but I'm going to try and add stuff later.


The problem here is the bullets won't move when space is pressed, they are created but they won't move.

Anyone know what I am doing wrong?
Daedelous
19
Years of Service
User Offline
Joined: 21st Jul 2005
Location:
Posted: 29th Jul 2005 22:09
Update, managed to sort it but I got another problem now, collision detection is not working



Thanks in advance
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 30th Jul 2005 07:18
There was only 2 bugs.

In the function game you need an "endif" right before loop.



In the function Collision_Dection you need to change delete object to use "e" instead of "t".



You might want to add a "sync" right after calling Show_Menu(). I only saw a blank screen instead of the menu.

Hope this helps.
Daedelous
19
Years of Service
User Offline
Joined: 21st Jul 2005
Location:
Posted: 30th Jul 2005 20:26
Thanks for the response,

The problem is now that it CANNOT detect collision between the two objects. It just passes right through. Here is the code as it is


Comment out the lines relating to the stars image if you like, or change it (the background) with one of your own.

Thanks again
ZioNz
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location:
Posted: 31st Jul 2005 05:36
Hi i tryed your code, i modified it a bit but it seem to work now:



I commented the parts i changed.
Daedelous
19
Years of Service
User Offline
Joined: 21st Jul 2005
Location:
Posted: 31st Jul 2005 11:37
Bullets still go flying through the enemies, you guys getting this problem?

Login to post a reply

Server time is: 2024-11-27 20:46:42
Your offset time is: 2024-11-27 20:46:42