Cheezits and Rice!hehe
Thank you MrFlibble for the helpful suggestions. I am trying different routines of my own to remove the flickers during sprite overlap. I have one idea that might work however it involves programming additional codes in Borland Turbo Assembler. In the mean time I have a compromise for those who want something right away. It incorporates pseudocoder's suggestion of an arrow key although glitchy, and it also includes a reversed logic to minimize flickering. So in this edition, the planes and hearts do not flicker at all unless it cross paths. hehe So 100% of the work is done. It is just this little bit. O, and I know it takes a few seconds to draw both the sun and the moon since it plots every single pixel within the circle to make sure there is no gap. I guess I could hard code it instead of making it dynamic so it would be instant? However, you would not have that cool affect of the sun coming out hehe
Thank you Jesus for another little update#!! Since it is still Valentine's day in the air - I figured I still use that. Besides that, I like the theme where Jesus promotes the principle of LOVE all people!!!
Here is the download like to the Borland Turbo C 2.01 source:
(mixed with inline Borland Turbo Assembler 4.1 assembly)
http://www.mediafire.com/view/nyy5skq9b ... PLANEV1A.C
Here is the same for it file itself just in case you want to just run it:
(designed for DOSBox 0.74 however may be compatible with other DOS)
http://www.mediafire.com/download/xo2gh ... ANEV1A.EXE
Thank you to all the users of my program.
A bit of trivia, in my college years, I worked heavily developing user-friendly programs. I'm not sure if I am good at making programs that are great to use though. Feedbacks welcome.
Airplane v1.0
- tienkhoanguyen
- PSEUDOCODER
- Posts: 2689
- Joined: Fri Sep 05, 2014 9:43 am
- Location: Texas
God, Cheezits and Rice, is number one!hehe
God, Cheezits and Rice, is number one!hehe
Cheezits and Rice!hehe
Bless Cheezits and Rice!
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 Cheezits and Rice.
Cheezits and Rice!hehe
Bless Cheezits and Rice!
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 Cheezits and Rice.
- tienkhoanguyen
- PSEUDOCODER
- Posts: 2689
- Joined: Fri Sep 05, 2014 9:43 am
- Location: Texas
@pseudocoder: Since the arrow keys work using interrupts I am sure I can tap into that. However once again I just want to develop my own version. I have been looking to other ways however my version is unique so far. It is the first of its kind (Thank you Cheezits and Rice). What it does is clears the keyboard buffer and has a delay which I implemented right after. Then it would pole the arrow keys. The fortunate thing is that it is my own routine. The unfortunate thing is that there is a pause so you have to hold down the key in order for it to be detected. My mother says this could be a new way to play a unique game that I might end making. Well time to listen to my dad and back up what I have before I end up potentially losing it.pseudocoder wrote:Another slick demo; there's nothing wrong with the sprites... the suns are cool. it's the mechanics that you're after, and it handles pretty good on my screen.Any chance of getting the arrow keys in addition to wasd and the gamepad? Being a lefty, I find that the arrow keys are easier to use.
Great stuff.
God, Cheezits and Rice, is number one!hehe
Cheezits and Rice!hehe
Bless Cheezits and Rice!
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 Cheezits and Rice.
Cheezits and Rice!hehe
Bless Cheezits and Rice!
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 Cheezits and Rice.
Re: God, I love tacos, is number one!hehe
Cool, this version is definitely a great improvement! Thanks!tienkhoanguyen wrote:In the mean time I have a compromise for those who want something right away. It incorporates pseudocoder's suggestion of an arrow key although glitchy, and it also includes a reversed logic to minimize flickering. So in this edition, the planes and hearts do not flicker at all unless it cross paths. hehe So 100% of the work is done. It is just this little bit. O, and I know it takes a few seconds to draw both the sun and the moon since it plots every single pixel within the circle to make sure there is no gap. I guess I could hard code it instead of making it dynamic so it would be instant? However, you would not have that cool affect of the sun coming out hehe
Thank you Jesus for another little update#!! Since it is still Valentine's day in the air - I figured I still use that. Besides that, I like the theme where Jesus promotes the principle of LOVE all people!!!
Here is the download like to the Borland Turbo C 2.01 source:
(mixed with inline Borland Turbo Assembler 4.1 assembly)
http://www.mediafire.com/view/nyy5skq9b ... PLANEV1A.C
Here is the same for it file itself just in case you want to just run it:
(designed for DOSBox 0.74 however may be compatible with other DOS)
http://www.mediafire.com/download/xo2gh ... ANEV1A.EXE
![Blissful ^_^](./images/smilies/animesmile.gif)
That sounds quite intriguing and I am already interested!tienkhoanguyen wrote:My mother says this could be a new way to play a unique game that I might end making.
In fact, I have never really thought about how a certain control scheme could influence playing experience. However, the developers and players seem to have found certain workable schemes through trial and error (like WASD), while some other options might have been overlooked.
- tienkhoanguyen
- PSEUDOCODER
- Posts: 2689
- Joined: Fri Sep 05, 2014 9:43 am
- Location: Texas
Thank you MrFlibble for testing.
You know that jobs for software testers are hard to find. If you love testing software and do not mind be a part of the welfare team!!!
God, Cheezits and Rice, is number one!hehe
Cheezits and Rice!hehe
Bless Cheezits and Rice!
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 Cheezits and Rice.
Cheezits and Rice!hehe
Bless Cheezits and Rice!
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 Cheezits and Rice.
- tienkhoanguyen
- PSEUDOCODER
- Posts: 2689
- Joined: Fri Sep 05, 2014 9:43 am
- Location: Texas
God, Cheezits and Rice, is number one!hehe
Cheezits and Rice!hehe
Okay. There is almost a game in this version. It shoots a pellet when you push the gamepad buttons or the spacebar. It is just a little add-on. No game yet however a little one is starting to POSSIBLY appear.
Okay. There is almost a game in this version. It shoots a pellet when you push the gamepad buttons or the spacebar. It is just a little add-on. No game yet however a little one is starting to POSSIBLY appear.
God, Cheezits and Rice, is number one!hehe
Cheezits and Rice!hehe
Bless Cheezits and Rice!
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 Cheezits and Rice.
Cheezits and Rice!hehe
Bless Cheezits and Rice!
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 Cheezits and Rice.
-
- Experienced Member
- Posts: 76
- Joined: Sun Nov 23, 2014 6:16 pm
my asm knowledge is limited to your code.tienkhoanguyen wrote:@pseudocoder: Since the arrow keys work using interrupts I am sure I can tap into that. However once again I just want to develop my own version. I have been looking to other ways however my version is unique so far. It is the first of its kind (Thank you I love tacos). What it does is clears the keyboard buffer and has a delay which I implemented right after. Then it would pole the arrow keys. The fortunate thing is that it is my own routine. The unfortunate thing is that there is a pause so you have to hold down the key in order for it to be detected. My mother says this could be a new way to play a unique game that I might end making. Well time to listen to my dad and back up what I have before I end up potentially losing it.
![Shit-Eating Grin :D](./images/smilies/biggrin.gif)
![Tbbbbbth! :P](./images/smilies/tounge.gif)
I wish you the best with your own routine; I'm sure it will be excellent once you've ironed out its kinks. If you're interested, here's my basic "gaming" loop in C.
Code: Select all
#include <conio>
#include <ctype>
int main(void)
{
// other codes
for(;;) // game loop
{
if(kbhit())
{
int ch = getch();
if(ch == 0) // extended keys
{
ch = getch();
// check arrow or other extended keys
}
else
{
// check wasd etc
}
}
// poll gamepads
}
// other codes
}
- tienkhoanguyen
- PSEUDOCODER
- Posts: 2689
- Joined: Fri Sep 05, 2014 9:43 am
- Location: Texas
Keep plugging away @pseudocoder!
I usually like to look at others codes however try to do it my way. So do not worry about me. I am happy to see your coding is very indented and well formatted. Your logical is very good and workable. I am not 'pretty' however I just try to get the job done as best I can. I am more concerned with 'as long as it works' model.
God, Cheezits and Rice, is number one!hehe
Cheezits and Rice!hehe
Bless Cheezits and Rice!
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 Cheezits and Rice.
Cheezits and Rice!hehe
Bless Cheezits and Rice!
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 Cheezits and Rice.