My First Official Program Being A Professional Developer

Discuss popular GCS tools like ZZT, Megazeux and Adventure Game Studio, as well as programming and other topics related to game design.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

My First Official Program Being A Professional Developer

Post by tienkhoanguyen »

Do not laugh at me. hehe Well, I had to laugh at myself. However I skipped like a thousand pages to find this graphics package in my Borland C++ 2.0 manual. Anyways, I am not making it up. The graphics stuffs are like at the end of the Borland C++ 2.0 books hehe Go figure. I guess they save the best for last. I had to look at the indexes and search hard for them. However after a lot of headaches I found it. So this is my first graphics accomplishments. This one only works in DOSBox 0.74, and maybe MS-DOS 3.0 and up according to the manual. However it is my first lesson. I do not know who makes these stuffs up however I am a nobody. I wish I was good enough to be a leader however seeing I am so inadequate with these routines I have to be humble. Thank you my The LORD of all hosts I enjoy my work and study while supporting my entire family-unit until I die!

http://www.mediafire.com/view/w7bgxi38o ... NAME00.CPP

http://www.mediafire.com/download/zjk4o ... NAME00.EXE

Please let me know if the graphics shows up. I am new to this and do not know if this graphics will show up on other people's computers. The first screen should be regular text while the second screen should be a single changing color circle.

Thank you!
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

God, Jesus Christ, is number one!hehe

Post by tienkhoanguyen »

Jesus Christ!hehe

God wins! I have been studying and researching all day long. I tried and found out my program has a glitch.

Here is the program.

I cannot give out Borland's source code, however, I can give out the executable.

This one should work.

I have a headache trying to figure out how to pack everything into one program instead of many separate parts.

http://www.mediafire.com/download/9s7b6 ... TPRO02.EXE
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

only GOD could make me this good!!!!!!!!!!!!

Post by tienkhoanguyen »

Well, here is a cool drawing program. You have to use my preferred key since I always wanted to be a typist hehe (i.e. J-left, L-right, K-down, and I-up). The numbers key relates to the Borland color palette. I give you what I can since I cannot release the source code. So I give you a professional application.



http://www.mediafire.com/download/9vm46 ... 2NDPRO.EXE
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

only GOD could make me this good!!!!!!!!!!!!

Post by tienkhoanguyen »

Here is an update with a name, 'MOVING THE CIRCLE: FIRST PREMIERE EDITION'.

http://www.mediafire.com/download/bq0mu ... vndcir.EXE
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

only GOD could make me this good!!!!!!!!!!!!

Post by tienkhoanguyen »

Well, it has been a fun work day. I have had this much fun in a while. Normally it is a dull day. However I am doing something new as you could see hehe

Instead of a game it is an application!

Pretty nifty heh!? Yep. hehe
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

only GOD could make me this good!!!!!!!!!!!!

Post by tienkhoanguyen »

Well, my doctor told me I could not work because I am bipolar. So I get minimum wage to do the little things I can do at home. Thank you GOD for this blessing. My mother is retired and I know being both out of work we could not afford to pay the house off without my disability money!!
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
MrFlibble
Demoniac Demo maniac
Demoniac Demo maniac
Posts: 3744
Joined: Sun Dec 05, 2010 11:39 am

Post by MrFlibble »

The last one draws stuff very smoothly! Congratulations! ^_^
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

Thank you MrFlibble...

Post by tienkhoanguyen »

You are always very kind. I always find your constant testing to be a source of inspiration. You are hard working. I guess it benefits both you, me, and the public. Those who want a drawing program gets it for free. I get work that keeps me busy and feeling useful even though I cannot get paid for it. You get to be one if not the first one to see the program itself.

There is a second benefit: I get to be verified and that someone has tested my program to be good enough to download! After all, I would not want to put viruses in my program seeing it is the only place that people normally download DOS games and such.

In fact, a long time ago I looked around a DOS board to talk about my DOS programming and found that this is the ONLY one that really existed for DOS. Isn't that amazing? I think so. WWW.DOSGAMES.COM really has a niche.

With God's blessing, I will be developing many more games and such until the day I pass away at 100 years old. So MS-DOS (i.e. DOSBox 0.74) is not dead. hehe
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
MrFlibble
Demoniac Demo maniac
Demoniac Demo maniac
Posts: 3744
Joined: Sun Dec 05, 2010 11:39 am

Re: Thank you MrFlibble...

Post by MrFlibble »

tienkhoanguyen wrote:In fact, a long time ago I looked around a DOS board to talk about my DOS programming and found that this is the ONLY one that really existed for DOS. Isn't that amazing? I think so. WWW.DOSGAMES.COM really has a niche.
There's also RGB Classic Games Forums. For some reason, the search engines do not index the forums themselves (the main site, RGB Classic Games, does appear in searches), this is (probably) why the community is quite small.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

God, Jesus Christ, is number one!hehe

Post by tienkhoanguyen »

Jesus Christ!hehe

Did you know that certain towns are about the size of 500 people or less?

So although it is not 3000+ like WWW.DOSGAMES.COM which is quite huge in my opinion, it is still good enough.

Did you know that small communities are often better than big ones?

In small communities everyone knows everyone else.

Each person still has to take care of their responsibilities.

If one person slacks off it still affects the whole community.

For instance, when a kid studies and gets good grades everyone is happy.

Something so small like reading 5 pages a day could mean ALL happy!
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

Thank you MY The LORD of all hosts eternal!

Post by tienkhoanguyen »

Here is a little update to the drawing application.

It is mostly credits in this one that I added.

http://www.mediafire.com/download/xacau ... /draw2.EXE
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

God, Jesus Christ, is number one!hehe

Post by tienkhoanguyen »

Jesus Christ!hehe

Here is the next little update. It just adds the gamepad interface so you can use the Microsoft XBOX360 USB controller and also the SONY PSone controller that has the USB adapter.

http://www.mediafire.com/download/s9i0z ... /draw3.EXE
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

God, Jesus Christ, is number one!hehe

Post by tienkhoanguyen »

Jesus Christ!hehe

Well, since I have to compete with 12 billion people on this planet, there is no way I am going to win without God! So what I am going to do is just let my real friends have the say. Anyways, in this version I have re-introduced the WASD keys in addition to my typist standard. So to keep my client base happy I am also planning on re-introducing the arrow keys as well for the next update.

http://www.mediafire.com/download/146ke ... /draw5.EXE
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

Proper Credits to God, then my real parents, and all.

Post by tienkhoanguyen »

Well, in this edition I have implemented pseudocoder's suggestion of the arrow key interrupt that he found. It seems to work out for the best.

I have also updated a few credits.

http://www.mediafire.com/download/h46hv ... /draw8.EXE
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
pseudocoder
Experienced Member
Experienced Member
Posts: 76
Joined: Sun Nov 23, 2014 6:16 pm

Post by pseudocoder »

Image

This is awesome; it's an etch a sketch for sure.... you've done yourself proud Tien. :) The keys all work fine - I knew you could get those arrows working. Great work! :clap:

The pen seems to be bounded by its maximum radius; when it's small, it cannot be moved close to the border, or is it supposed to be that way? A couple of ideas for an update would be having a crosshair at the pen's origin and being able to lift the pen to start to redraw somewhere else.

Is this assembler or C/PP?
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

THANK YOU PSEUDOCODER WITH SMILES AND HAPPY

Post by tienkhoanguyen »

haha You made my day. I am glad you like it.

I am keeping that in my for my crosshair and lift off drawing screen part.

The boundaries are limited by its maximum radius.

I just did not think to add the code in to adjust for radius size.

This is C/PP and built in assembly.

The version of Borland C++ 2.0 that is advertised as for professionals.....

It has its own graphics library and graphics function which is secret UNLESS:

You can order the source codes and have the rights by paying a price.
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

It is well worth it for Borland C++ 2.0 so far!

Post by tienkhoanguyen »

So far the package comes with three thousand pages or so of text which includes the programming language syntax manuals and such.

Since it is the pay version it is considered for professionals according to the printing.

As those of you who have been with me for these training periods up to now know I have been using the preview version which is Borland Turbo C 2.01 which contains minimum instructions. I have found Borland Turbo C 2.01 lacking a lot especially the Microsoft Windows development side. The free preview of Borland Turbo C 2.01 does not automatically contain a built in assembler. You have to purchase it separately.
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

Her is Vietnamese New Years 2015

Post by tienkhoanguyen »

Enjoy... it is a little compromise @pseudocoder.

It implements the mouse function instead of a crosshair.

When you move the mouse to a different location and click there circle also.

http://www.mediafire.com/download/y48yn ... draw12.EXE
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
pseudocoder
Experienced Member
Experienced Member
Posts: 76
Joined: Sun Nov 23, 2014 6:16 pm

Post by pseudocoder »

That is super slick; the mouse motion is really smooth. The only issue I had was once the size was changed, the mouse didn't seem to respond though the pen could be moved using the keyboard. I didn't try the usb gamepad.

It's shaping up nicely. You've gone a long way since PH... from pixels to a working drawing program in such a shortime is nothing short of extraordinary. :)

Keep it up Tien!

As for Borlands' source code; I may have it on my floppy set, what are the file names? For Windows, you cannot go wrong with forger's tutorial. If you need Win 3.1 (16 bit), here's a starting point. A couple other useful resources are freebyte and thefreecountry. Lastly, Borland had a small sized Win32 API guide in .HLP format though I haven't been able to find an active link. You can try downloading Microsofts free MSDN iso, but it's rather large. It's depth of coverage is incomparable though.
User avatar
tienkhoanguyen
PSEUDOCODER
Posts: 2664
Joined: Fri Sep 05, 2014 9:43 am
Location: Texas

Jesus!

Post by tienkhoanguyen »

I notice you have a dusty old set of Borland books that resembles mine. So most likely you have in one of your installation folder a BGI folder? You may also find the graphics.lib file worthy of mentioning.
God, Jesus Christ, is number one!hehe
Jesus Christ!hehe
Bless Jesus Christ!
Then please bless my mom.
Honour to my mom Huong Thi Vu
Honour to my dad Thuy Binh Nguyen
Love to cousin Carl Anh Cuong Cao Vu
Thank you Jesus Christ.
Post Reply