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

Username:   Password: 
 RegisterRegister   
 Black Triangle
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
USEC_OFFICER




PostPosted: Mon Mar 01, 2010 1:01 pm   Post subject: Black Triangle

A game I was working on. It's been a while and I'm propbably not going to work on it much anymore.

WASD to move, mouse to fire your lasers, enter for upgrades.



Black Triangle.zip
 Description:
Black Triangle

Download
 Filename:  Black Triangle.zip
 Filesize:  19.38 KB
 Downloaded:  111 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
SNIPERDUDE




PostPosted: Mon Mar 01, 2010 2:42 pm   Post subject: RE:Black Triangle

Few bugs, I'm sure you know what they are.
Great framework though
USEC_OFFICER




PostPosted: Mon Mar 01, 2010 4:50 pm   Post subject: RE:Black Triangle

Such as not dying? I have no idea what bugs they are. Could you please point them out? (Besides the not dying/going past the screen parts, if there are any other ones.)
SNIPERDUDE




PostPosted: Mon Mar 01, 2010 11:10 pm   Post subject: RE:Black Triangle

I was essentially referring to the not dying, yes. I do think there was something else regarding the purchasing of powerups (wrong amount taken off), but I could be wrong. If I remember right I had about 10K cash, bought an upgrade worth about 2K, and had about 2K cash after the purchase.
Zren




PostPosted: Tue Mar 02, 2010 12:50 am   Post subject: RE:Black Triangle

Most arcade shooters do best with the canvas in portrait versus how you have it landscape. It allows longer time for the enemy to get to you / set up your shot. With this thing being so fast paced. It's really needed.
USEC_OFFICER




PostPosted: Tue Mar 02, 2010 3:45 pm   Post subject: RE:Black Triangle

Right, If I feel like it, I work on it.
TerranceN




PostPosted: Tue Mar 02, 2010 4:25 pm   Post subject: RE:Black Triangle

A few problems I found. The framerate is not capped. On my computer the enemies went so fast it was hard to see them. Adding a Time.DelaySinceLast(delay : int) at the end of the loop would fix this. Also, if the missile spawns above you it it is impossible to get away. Give your variables full names. Sure ey is easier to type then enemyY, but it will really help once you create anything more complicated. Finally, you should consider putting your code into functions (or even objects eventually) to make your code more readable, and more re-useable.

Other than that its good. I am also amazed you got those images looking as good as they do with just vector graphics.

@SNIPERDUDE:
Were you being sarcastic about the "Great framework though"? There is really no framework at all, it is just hard-coded.
SNIPERDUDE




PostPosted: Tue Mar 02, 2010 9:25 pm   Post subject: RE:Black Triangle

The comment was implied at the fact that despite the start, it has the potential to be a fun arcade game - I didn't look at any code.
And I do agree that before you upgrade your speed, the missiles are impossible to dodge. A frame-rate cap would be useful too.
Sponsor
Sponsor
Sponsor
sponsor
USEC_OFFICER




PostPosted: Wed Mar 03, 2010 12:46 pm   Post subject: Re: Black Triangle

Getting the graphics looking so good was easy, I just used another file where nothing happened. Yah, I definitely work on it now. Also I did use functions for my zombie game (Which I will post) So I'll do this here, as well as increasing the size of the field. I did here about capping framerate, although I didn't know about Time.SinceLastDelay, so I'll use that.


Picture_Viewer.t
 Description:
The file I used for checking pictures.

Download
 Filename:  Picture_Viewer.t
 Filesize:  8.7 KB
 Downloaded:  79 Time(s)

Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 9 Posts ]
Jump to:   


Style:  
Search: