Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


LennyLen

Member Since 20 Apr 2010
Online Last Active Today, 04:12 PM

Posts I've Made

In Topic: Health bar graphics instead of text

Yesterday, 08:12 PM

You're going to have to be alot more specific if you want somebody to show you in code, since we don know what graphics library or language you are using.

 

The simplest way is to first draw a background rectangle of a certain width (we'll call the width w).  Then on top of that you can draw another rectangle in a different colour.  The width of this rectangle will be w * total_life / current_life.


In Topic: Anyone using the Open Source "Brackets" Code Editor (By Adobe)?

26 November 2014 - 08:38 PM

It all comes down to which tool you can increase your efficiency the most in.

 

My memory is too poor to remember keyboard shortcuts, and I'm so uncoordinated with a keyboard, that I'm actually faster with a graphical interface than a keyboard only one, so I'm far more efficient with an IDE.  But as Ravyne has said, someone who can master Vim and a few other tools can work incredibly fast.


In Topic: Page Can Not Be Displayed - Via google

23 November 2014 - 02:47 PM

The link works fine for me, using Opera.


In Topic: My Pokemon Game

23 November 2014 - 02:42 PM

I hope you realize that despite the fact that you state on your site that the Pokemon IP belongs to Nintendo, and that you also say you don't intend to infringe on it, you still are infringing on it, and they will very likely get your site taken down if it ever gets big enough to get their intention.

 

Save yourself the hassle and come up with your own idea instead of taking someone else's.


In Topic: Proper C++ header file?

21 November 2014 - 09:19 AM

Okay.. that means following standards their teachers set them. What I'm writing is an application of good programming standards, not commonly followed standards. I certainly wouldn't recommend everyone go around throwing macros in everything just because a student comes in here with their teacher having asked for some giant macro horror page for their next assignment.


Just to clarify, I wasn't refering to the arbitrary stylistic standards that some institutions expects students to adhere to, but actual official standards (ie ISO).

 

 


I certainly appreciate the point you're trying to make, but I'm also trying to make one that we shouldn't just go "Okay, everyone do it the old fashioned way."

 

What I'm hoping people will be able to take away from this, is that there are two ways this can be done - one which should always be good enough and which most compilers will support, and one which is the official sanctioned method which is universally supported (at least by standards compliant compilers).  Which should be used is up to the individuals needs.


PARTNERS