DOS Games Message Board
DOS Games Discussion
A message board to talk about DOS games, get help, and find old games.
Do NOT post warez or abandonware requests please
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


My First Official Program Being A Professional Developer
Goto page 1, 2  Next
 
Post new topic   Reply to topic    DOS Games Discussion Forum Index -> Game Creation
Author Message
tienkhoanguyen
PSEUDOCODER


Offline
Joined: 05 Sep 2014
Posts: 2683
Location: Texas

PostPosted: Mon Feb 16, 2015 3:02 pm     Post subject: My First Official Program Being A Professional Developer Reply with quote

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/w7bgxi38oe7dy6v/NONAME00.CPP

http://www.mediafire.com/download/zjk4oycc2en3cq7/NONAME00.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!
Back to top
tienkhoanguyen
PSEUDOCODER


Offline
Joined: 05 Sep 2014
Posts: 2683
Location: Texas

PostPosted: Mon Feb 16, 2015 8:34 pm     Post subject: God, Cheese-its & Rice, is number one!hehe Reply with quote

Cheese-its & Rice!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/9s7b68r2l8551p3/1STPRO02.EXE
Back to top
tienkhoanguyen
PSEUDOCODER


Offline
Joined: 05 Sep 2014
Posts: 2683
Location: Texas

PostPosted: Tue Feb 17, 2015 4:05 am     Post subject: only GOD could make me this good!!!!!!!!!!!! Reply with quote

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/9vm4687x56d9alz/2NDPRO.EXE
Back to top
tienkhoanguyen
PSEUDOCODER


Offline
Joined: 05 Sep 2014
Posts: 2683
Location: Texas

PostPosted: Tue Feb 17, 2015 5:05 am     Post subject: only GOD could make me this good!!!!!!!!!!!! Reply with quote

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

http://www.mediafire.com/download/bq0muf8lnekq018/movndcir.EXE
Back to top
tienkhoanguyen
PSEUDOCODER


Offline
Joined: 05 Sep 2014
Posts: 2683
Location: Texas

PostPosted: Tue Feb 17, 2015 5:08 am     Post subject: only GOD could make me this good!!!!!!!!!!!! Reply with quote

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
Back to top
tienkhoanguyen
PSEUDOCODER


Offline
Joined: 05 Sep 2014
Posts: 2683
Location: Texas

PostPosted: Tue Feb 17, 2015 5:12 am     Post subject: only GOD could make me this good!!!!!!!!!!!! Reply with quote

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!!
Back to top
MrFlibble
Demoniac Demo maniac
Demoniac Demo maniac


Offline
Joined: 05 Dec 2010
Posts: 2362

PostPosted: Tue Feb 17, 2015 9:21 am     Post subject: Reply with quote

The last one draws stuff very smoothly! Congratulations! Blissful
Back to top
tienkhoanguyen
PSEUDOCODER


Offline
Joined: 05 Sep 2014
Posts: 2683
Location: Texas

PostPosted: Tue Feb 17, 2015 11:29 am     Post subject: Thank you MrFlibble... Reply with quote

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
Back to top
MrFlibble
Demoniac Demo maniac
Demoniac Demo maniac


Offline
Joined: 05 Dec 2010
Posts: 2362

PostPosted: Tue Feb 17, 2015 1:27 pm     Post subject: Re: Thank you MrFlibble... Reply with quote

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.
Back to top
tienkhoanguyen
PSEUDOCODER


Offline
Joined: 05 Sep 2014
Posts: 2683
Location: Texas

PostPosted: Tue Feb 17, 2015 4:14 pm     Post subject: God, Cheese-its & Rice, is number one!hehe Reply with quote

Cheese-its & Rice!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!
Back to top
tienkhoanguyen
PSEUDOCODER


Offline
Joined: 05 Sep 2014
Posts: 2683
Location: Texas

PostPosted: Wed Feb 18, 2015 3:22 am     Post subject: Thank you MY The LORD of all hosts eternal! Reply with quote

Here is a little update to the drawing application.

It is mostly credits in this one that I added.

http://www.mediafire.com/download/xacau1wihkxhsbd/draw2.EXE
Back to top
tienkhoanguyen
PSEUDOCODER


Offline
Joined: 05 Sep 2014
Posts: 2683
Location: Texas

PostPosted: Thu Feb 19, 2015 2:42 am     Post subject: God, Cheese-its & Rice, is number one!hehe Reply with quote

Cheese-its & Rice!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/s9i0zir4p2i7aan/draw3.EXE
Back to top
tienkhoanguyen
PSEUDOCODER


Offline
Joined: 05 Sep 2014
Posts: 2683
Location: Texas

PostPosted: Thu Feb 19, 2015 9:27 am     Post subject: God, Cheese-its & Rice, is number one!hehe Reply with quote

Cheese-its & Rice!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/146kecncsxux63s/draw5.EXE
Back to top
tienkhoanguyen
PSEUDOCODER


Offline
Joined: 05 Sep 2014
Posts: 2683
Location: Texas

PostPosted: Thu Feb 19, 2015 10:25 am     Post subject: Proper Credits to God, then my real parents, and all. Reply with quote

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/h46hvwpef94e3sl/draw8.EXE
Back to top
pseudocoder
Experienced Member
Experienced Member


Offline
Joined: 23 Nov 2014
Posts: 77

PostPosted: Thu Feb 19, 2015 1:17 pm     Post subject: Reply with quote



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

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?
Back to top
tienkhoanguyen
PSEUDOCODER


Offline
Joined: 05 Sep 2014
Posts: 2683
Location: Texas

PostPosted: Thu Feb 19, 2015 1:29 pm     Post subject: THANK YOU PSEUDOCODER WITH SMILES AND HAPPY Reply with quote

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.
Back to top
tienkhoanguyen
PSEUDOCODER


Offline
Joined: 05 Sep 2014
Posts: 2683
Location: Texas

PostPosted: Thu Feb 19, 2015 1:40 pm     Post subject: It is well worth it for Borland C++ 2.0 so far! Reply with quote

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.
Back to top
tienkhoanguyen
PSEUDOCODER


Offline
Joined: 05 Sep 2014
Posts: 2683
Location: Texas

PostPosted: Thu Feb 19, 2015 3:25 pm     Post subject: Her is Vietnamese New Years 2015 Reply with quote

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/y48yn57j4k8rc4k/draw12.EXE
Back to top
pseudocoder
Experienced Member
Experienced Member


Offline
Joined: 23 Nov 2014
Posts: 77

PostPosted: Thu Feb 19, 2015 8:19 pm     Post subject: Reply with quote

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. Happy

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.
Back to top
tienkhoanguyen
PSEUDOCODER


Offline
Joined: 05 Sep 2014
Posts: 2683
Location: Texas

PostPosted: Fri Feb 20, 2015 6:10 am     Post subject: Jesus! Reply with quote

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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    DOS Games Discussion Forum Index -> Game Creation All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Free Windows games


Powered by phpBB © 2001, 2005 phpBB Group and Ask an Expert
Also powered by Darren and the other admin and mods' hard work! ;)