Jump to content

My Game Programs made with Visual Basic

Featured Replies

5b7feeff146b8_TenisRaketagame.PNG.09f4b472e89f8150a5a2c73b74f4c216.PNG

My FIRST program !!!...

 

5b7fef3410d27_Tetrisgame.PNG.a89f909c644f21804a632c141ccecdee.PNG

 

5b7fef6084041_Frutakiagame.PNG.4b0b8d9526492e71b1917b5b7d180f4b.PNG

 

5b7fefc4e9b39_MEMORYgame.PNG.19cd8f110ef8f4d01636487c90562edf.PNG

 

Dinos.thumb.PNG.9829d5fb6ec6250061219eebfbc95128.PNG

 

5b7ff02beccf8_ChristmasTree.PNG.75252372de9f07c40462a38c792c188d.PNG

 

5b7ff06624328_PACMANgame.thumb.PNG.6bc1dad850adcd93833cc2bf6bf0d90a.PNG

The RED is running very fast and get you !!!...

The GREEN eats your 4 BIG Circles !!!...

The BLUE make NEW o o o o o points - after you have eaten them !!!...

 

 

5b7ff1be18d45_QuiclyProductFIRTSNumbersShortcut.thumb.PNG.bdc3dab448cc82d4492e4cdf2eda61d7.PNG

 

Domino.thumb.PNG.f581c40cb7044bcf6a3f45fb9b2c6d1c.PNG

 

5b7ff206d332f_StarsWargame.thumb.PNG.af12483403fa7fbb7b1aaaca555926b7.PNG

 

Ball.thumb.PNG.5b0b70274d5fa9e905d82ea56b5a0e46.PNG

 

5b7ff2548f192_xVyRadical.PNG.69378976f10ae9081307c5c3324bd386.PNG

 

5b7ff29f5b02d_BirdCharacterCalculator.PNG.8d50499f85be97e2d712c81ca57cc84e.PNG

This Calculator is made NOT with { arithmetic VARIBLES } - but with { character VARIABLES }  !!!

The Character-Variables are { very Large } but you cannot make calculations with them !!!

So ... I had to give with code ... the addition ... the supstraction ... the multiplication ...

2_4096.PNG.32a4c20a4ec81d7dacbd3363de0ea975.PNG

With my Character-Calculator , I made:

2 * 2 = 4

4 * 4 = 16

16 * 16 = 256

and so on ....

I could after 2 + 1/2 Hours calculate 2^4096 = a Number with 1234 Digits !!!  (look Image)

Koni

 

 

Edited by Koni

Why are you using such crazy colors? Later people think/say that programmers have no good artistic taste.. ;)

Applications/games should be designed such a way that they are pleasant to eye of user.

Edited by Sensei

  • Author

They are MY programs !!! - They are NOT for sale !!!... - and I like Colors !!!...

Hahahahaha!!!... 

 

This weekend assignment (to improve your skills :) ):

What Visual Basic can offer in 3D visualization? Make box rotating in 3D, with shading.. It could be done with couple (actually 6) draw polygon commands..

Do you know how to rotate vector in 3D? And how to transform from 3D to 2D screen display (perspective projection).. ?

Do you heard about scan-line algorithm? (you will have to check Visual Basic if drawing pixel-by-pixel is not too slow.. will depend on your machine specification a bit)

Are you using double-buffering? (to have no flickering of fast changing animations, obviously)

 

 

If you will master 3D visualization, you will be able to make 3D versions of your games.

 

  • Author

Sorry !!!... But at age 40 ( I am now 55 ) I went to a 2 years afternoon school to learn a little Computer !!!...

The { Visual Basic 6 } programs which we made in school had only 10-20 Lines of Code !!!...

I bought a book and learnt something more !!!

I had from nobody a HELP !!!...

I made ALL on my own !!!...

So ... I don't know very well programming !!!... I have only the skills to make my own simple programs !!!...

( I think that "Delphi" has 3D visualization ) !!!...

Koni1963

 

 

 

 

 

5b7ffd12c833e_PACMAN2.thumb.PNG.341b409f4b43067513925fd72c5a38cc.PNG

The secret behind my Pac-Man game !!!...

At each point (square) the 4 NUMBRES indicate in which Directions can they play !!!...

Then ... with "randomize" is choosen the one Direction of them !!!...

Koni :)

 

Edited by Koni

It's good that you have passion, and enthusiasm to learn something new. I just gave you idea what can be done later. Don't give up. The more you're programming, the better you're in it. It doesn't matter at what age you started. More matters if you want to learn something new and improve your skills or prefer watching TV or other works.. :) (I am programming and watching TV at the same time ;) ).. Do it on daily basis, and you will be master. One day, one (small) application. Pick up subject by yourself. 3D visualization is natural thing in modern times, so I wrote about it. You would learn matrix multiplication, how to create projection matrix etc. etc..

 

 

In the first year of programming, I believe so, students at university are learning how to program OpenGL, and make some "boxes and spheres" (rotated in animation or spin by mouse or keyboard by user). These two things can be joined easily and made ball-n-stick model of chemical compound. Two sciences (computer programming and chemistry) at the same time.

 

Edited by Sensei

  • Author

The Problem is that my "Visual Basic 6" is 32 bit and plays only on Windows-7 and NOT more on Windows-10 !!!...  :angry::(:wacko:

And now I have NO other NEW ideas to make something !!!... ( and forget bit-by-bit all that what I had learnt ... )

( I have made my 9 chess-boards ) - ( look at my other article : "Evolutionary Transformers Chess" )

I am HAPPY with THAT what I could make for myself !!!...

Have a nice Day my Friend !!!... - EVERY Day of your Life !!!

Koni

 

Download Visual Studio 2008 Express ISO from this link:

https://www.google.com/search?q=download+visual+studio+express+2008

(Do you know how to burn ISO?)

Then install it.

It has Visual C/C++/C# .NET Framework. Try it instead of Visual Basic.

Watch this video "how to make calculator in C# in Visual Studio":

There is couple parts of this video.

Simply install VS, and follow this tutorial.

 

 

  • Author

5b8002bc910ca_SystemsCalculator1.PNG.4c3fd9a6a839ce5ac6b3255239fa48a6.PNG

 

5b8002c75e8dc_SystemsCalc1.PNG.f9b1567364c4707aca503e36d1d0069a.PNG

 

5b8002cfbf56c_SystemsCalc2.PNG.103c9e8b0da0945f0cc08b9412e1b489.PNG

5b8002e05e583_SystemsCalc5MasterMind.PNG.998c76535fa438c1fa5ff25cff8b9fac.PNG

 

5b8002f003c09_SystemsCalculator2.PNG.f329e6b89344d5362364a902b8379da3.PNG

 

5b8002fe28511_SystemsCalculator4.PNG.fd171c9a654c88794606c9ae04d05cd6.PNG

 

5b80030ac42b8_SystemsCalculator7.PNG.9f451615e20fa3f52166ad4053581a85.PNG

 

5b80031e995e4_SystemsCalculator6.PNG.16bccd0907a56c9f610ad4df58dff3fd.PNG

 

5b8003321d582_SystemsCalculator8.PNG.09ccf9bf8a7f37449acf16bcfcab615f.PNG

 

5b80033fb506c_SystemsCalculator9.PNG.bddabc79f06e1b51f1cecc9750f4ee31.PNG

THANK YOU very-very much Sensei !!!

I will try it !!!

 

5 minutes ago, Koni said:

And now I have NO other NEW ideas to make something !!!...

You can ask this forum for ideas what to make this "day of programming".. ;)

Google for "programming job challenges" etc. There are websites which are checking candidates for job in IT software company. Exercises from the simplest one to the hardest one.

Forget that you're not applying to job in IT, and use them as exercises ("inspirations") what to program today. They are not programs with GUI though. But your brain might hurt by some of them.. ;)

 

 

 

  • Author
24 minutes ago, Sensei said:

 

 

13 minutes ago, Sensei said:

You can ask this forum for ideas what to make this "day of programming".. ;)

Google for "programming job challenges" etc. There are websites which are checking candidates for job in IT software company. Exercises from the simplest one to the hardest one.

Forget that you're not applying to job in IT, and use them as exercises ("inspirations") what to program today. They are not programs with GUI though. But your brain might hurt by some of them.. ;)

 

 

 

THANK You Sensei !!! 

It is very nice your consern about Me !!!

But since 5 years I buy and read "Biology Books" and have NEW interests !!!...

Biology is more "complex" -  compering with Computers !!!...

You have the Proteins-Enzymes the "Molecular Machines" of the Cell !!!...

It is a REAL and "fantastic" micro-world !!!...

( At age 33 I got shizophrenia and then cancer too !!!...

So ... I lost my Job and I had not the opurtunity to make my own Family !!!...

So... I have to do always something ... to forget my problems !!!... )

Koni

  • Author

THANK You Sensei !!!...

But "artificial Life" is NOT of mine interests because my oppinion is that Computers cannot be alive !!!...

From a Computer you need consistently to always get the same result !!!...

Life requires flexibility to change when changing external environmental conditions !!!...

That are two(2) very different thinks !!!

Koni

 

  • Author

But Live is NOT a random process !!!...

Life has Biological and Biochemical rules !!!... :)

Only Life is very-very more "complex" than anything Humans have made !!!...

Koni

Edited by Phi for All
No advertising, please

On 24.08.2018 at 2:39 PM, Koni said:

The secret behind my Pac-Man game !!!...

At each point (square) the 4 NUMBRES indicate in which Directions can they play !!!...

Then ... with "randomize" is choosen the one Direction of them !!!...

It's called bitfield/mask/flag:

https://en.wikipedia.org/wiki/Bit_field

You could reduce amount of data which is required to inform which direction is "clear", and which is wall, using bits, instead of decimal digits.

It can be done with just 4 bits. 1 bit for up, 1 bit for down, 1 bit for left, 1 bit for right. 2^4 = 16 possible states (from 0...15).. Suppose so 1 is left, 2 is right, 4 is top, and 8 is bottom.

To check bitfield there is needed to use bitwise operation

https://en.wikipedia.org/wiki/Bitwise_operation

AND bitwise operator is &

OR bitwise operator is |

so checking if object can go left/right/top/bottom could be done using:

	if( field & 1 ) printf( "Object allowed to move left\n" );
	if( field & 2 ) printf( "Object allowed to move right\n" );
	if( field & 4 ) printf( "Object allowed to move top\n" );
	if( field & 8 ) printf( "Object allowed to move bottom\n" );
	

 

Edited by Sensei

  • Author

THANK You Sensei !!!...

It is very kind of you to share your knowledge with me !!!...

1 = 0001

2 = 0010

4 = 0100

8 = 1000

5b83e36a34fb6_Aliens16.PNG.5cd772100a5c13646dec50007ee1f64f.PNG

If we Humans ... had 8 fingers in our 2 Hands ( 2*8=16 ) we could also easy write the Numbers

from our Hexadecimal arithmetic system >>> to the Binary system ... without "calculations" !!!...

K:)ni

53 minutes ago, Koni said:

1 = 0001

2 = 0010

4 = 0100

8 = 1000

To disallow making mistake there is typically added % character prior binary number

e.g.

1 = %0001

2 = %0010

4 = %0100

8 = %1000

Hexadecimal number should have prefix $ or 0x

e.g.

255 = $FF = 0xFF

 

  • Author

THANK You Sensei !!!...

 

IF i had you as my Teacher THEN

i would be a GOOD Programmer !!!...

END IF

 

K:)ni

encryption.PNG.6eaa764d4edeb5956b8d661175f17547.PNG

  • Author

5b840b653fcf4_minutes2.PNG.9c4978d508db31c97f7e3e1fd8b57d5f.PNG

"THAT" meen I with "LARGE"  Numbers !!!

  K:)ni

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.