Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 I can't win now?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Jorue




PostPosted: Thu Jan 07, 2010 6:46 pm   Post subject: I can't win now?

What is it you are trying to achieve?
Trying to fix my game so that I can win.

What is the problem you are having?
For some reason a variable that should be increasing will not, making it so my game won't end correctly.


Describe what you have tried to solve this problem
I have placed the variable in all the locations where enemies are killed, yet it won't work.


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
Gunna attach the game.

Turing:


<Add your code here>



Please specify what version of Turing you are using
4.1.1


PLEASE help! This game is due tomorrow, and I cannot get an extended date!



Space Invaders.t
 Description:

Download
 Filename:  Space Invaders.t
 Filesize:  16.99 KB
 Downloaded:  83 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Jorue




PostPosted: Thu Jan 07, 2010 7:29 pm   Post subject: RE:I can\'t win now?

bump...
Jorue




PostPosted: Thu Jan 07, 2010 8:23 pm   Post subject: RE:I can\'t win now?

Really? No one has any idea what's wrong?
ecookman




PostPosted: Thu Jan 07, 2010 9:43 pm   Post subject: RE:I can\'t win now?

well, for one, include the pictures so it will run...

Also your lucky someone hasn't killed you yet for bumping.


and finally. I can not find the problem, but are you sure that you are adding to that variable correctly?
Jorue




PostPosted: Thu Jan 07, 2010 9:54 pm   Post subject: Re: I can't win now?

Alright, here is the images.


Enemy Shot.bmp
 Description:
 Filesize:  3.64 KB
 Viewed:  2544 Time(s)

Enemy Shot.bmp



enemy 3.bmp
 Description:
 Filesize:  3.32 KB
 Viewed:  2544 Time(s)

enemy 3.bmp



enemy 2.bmp
 Description:
 Filesize:  3.32 KB
 Viewed:  2544 Time(s)

enemy 2.bmp



enemy 1.bmp
 Description:
 Filesize:  3.32 KB
 Viewed:  2544 Time(s)

enemy 1.bmp



bullet.bmp
 Description:
 Filesize:  974 Bytes
 Viewed:  2544 Time(s)

bullet.bmp


Jorue




PostPosted: Thu Jan 07, 2010 9:55 pm   Post subject: Re: I can't win now?

Atattchments pt2


tank.bmp
 Description:
 Filesize:  2.58 KB
 Viewed:  2542 Time(s)

tank.bmp



tank.bmp
 Description:
 Filesize:  2.58 KB
 Viewed:  2542 Time(s)

tank.bmp



Instruction Menu copy.jpg
 Description:
 Filesize:  312.16 KB
 Viewed:  75 Time(s)

Instruction Menu copy.jpg


Jorue




PostPosted: Thu Jan 07, 2010 9:58 pm   Post subject: Re: I can't win now?

Pt 3 -- Apparently, I can't give the music files, so... just insert whatever music you want? o.o
DemonWasp




PostPosted: Thu Jan 07, 2010 10:02 pm   Post subject: RE:I can\'t win now?

You have 600 lines of code, haven't included images so we can't run your program, haven't included a description of what "winning" means in your game, haven't specified which bit of code is suppose to do it, and expect help within 45 minutes (time between OP and bump)?

Yeah, right.

I did actually take a brief look at your code, but the fact that you have a grand total of 5 one-liner comments in 600 lines of code (all of which explain completely obvious things) didn't help me enough to explain your problem.
Sponsor
Sponsor
Sponsor
sponsor
andrew.




PostPosted: Thu Jan 07, 2010 11:31 pm   Post subject: RE:I can\'t win now?

What they're trying to say is:
1. Make your code in blocks and put good, descriptive comments explaining what each block does.
2. Post your entire program.
3. Explain your whole problem and the area that we should look at.
4. Try to refrain from bumping threads unless it's completely necessary.

P.S. Next time, zip everything, the sizes will be smaller and in one neat package.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 9 Posts ]
Jump to:   


Style:  
Search: