Jump to content

  • Log In with Google      Sign In   
  • Create Account


A directX Issue!! with Visual Basic...


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
10 replies to this topic

#1 chaoticseed   Banned   -  Reputation: 100

Like
Likes
Like

Posted 01 July 2001 - 07:15 PM

I''ve been all over trying to figure out ANYHTING about directx, but its doing me no good, I can try to study the code in VB, but i can only understand bits and pieces leaving me nowhere. I''ve repeatedly read tutorials, but they never explain the essentials(the ones i''ve seen, and i''ve seen alot!) At this point I know NOTHING about directx. im very frustrated, sorry! it just sems like everywhere i go to learn, it offers totally nothing, they mostly just give you the code and tell you to memorize it. Theres way to much to memorize at first, i haven''t even began my learning curve! get it! What im saying is, Can someone plz help me out with this, im gonna die if i don''t learn something soon! How do i start off, where do i start off? I don''t mean to be a nusance, but can someone help me plz! thank u for listening!~

Sponsor:

#2 spillsome   Members   -  Reputation: 122

Like
Likes
Like

Posted 02 July 2001 - 10:08 PM

first of all...

forget Visual Basic, it is not the best tool to use.

get yourself a good book about c++ programming and read.

Get a compiler (visual c++ for example) and try some code.

In a few months, you will start with directx or opengl !!

For now, just read ....




#3 ajoling   Members   -  Reputation: 202

Like
Likes
Like

Posted 02 July 2001 - 10:48 PM

Hey,

We''ve had thousands of discussions about C++ vs. VB, and it just comes down that VB is just as fast (maybe faster to design, slower in FPS) and that it''s _very_ easy to write slow code in VB. I''m author of VB Fibre, a site dedicated to see how you can speed up your VB code, and by how much %. For example x * x is _way_ faster than x ^ 2. (about 10 times). Anyway, the site is currently down because DigitalRice stopped supporting ASP.

VB is a good language, and performs well for games (Let''s face it: All your matrix rotations are done by using a DirectX dll, so it will be as fast in C++, as in VB)

Chaoticseed:
Try: http://www.vbexplorer.com/directx4vb and http://www.rookscape.com/vbgaming These two sites are the best around. The latter also includes a link section with links that will give you even more information.

Also check the games sections... there are new games under development that will even make C++ developers blink their eyes twice.

Almar



#4 chaoticseed   Banned   -  Reputation: 100

Like
Likes
Like

Posted 03 July 2001 - 09:03 AM

thx,

i belive ya, the c language is ok with me, i still want to learn, but i have coded with it before long enough to say vb makes it alot easier, and with directx helping out it makes it competitive with the c coders! Beware!

Thx again!

chaoticseed

#5 Beer Hunter   Members   -  Reputation: 712

Like
Likes
Like

Posted 03 July 2001 - 04:20 PM

Anything calculation intensive is going to be slower in VB than c++... so it''s a good idea to write those bits in c++ and the rest of the program in VB.

#6 ajoling   Members   -  Reputation: 202

Like
Likes
Like

Posted 03 July 2001 - 09:41 PM

I''ll quote myself again...

"It''s easy to write slow code in VB"

There are not many (VB) programmers that know the difference between ''\'' and ''/'', and often make mistakes there... Calculations aren''t that slow, and besides, the CPU speed goes up anyway.

(The first is 550% faster)


#7 Beer Hunter   Members   -  Reputation: 712

Like
Likes
Like

Posted 04 July 2001 - 11:17 AM

Write a program which calculates the sum of all the prime numbers from 2 to an inputted number, and displays the time taken. You do it in VB, I''ll do it in c++. Then we''ll see exactly what the difference is.

#8 Oluseyi   Staff Emeritus   -  Reputation: 1678

Like
Likes
Like

Posted 04 July 2001 - 11:37 AM

It''s only a fair contest if you use the exact same algorithm and equivalent operators/functions. That way, you''re testing the language ''s speed and noth each other''s.

#9 ajoling   Members   -  Reputation: 202

Like
Likes
Like

Posted 04 July 2001 - 07:29 PM

I need prime numbers in all my games... right.

You try to design a complete C++ program with a database backend.

I said before, writing a complete game in VB will take much less time, but will be a bit slower than C++.


#10 Beer Hunter   Members   -  Reputation: 712

Like
Likes
Like

Posted 05 July 2001 - 12:37 PM

Oluseyi: Sieve of Eratosthenes (sp?) - a fairly obvious technique to use, IMO.

ajoling: The issue here is not the prime numbers - it''s the intensive calculations. Like I said, anything calculation intensive would be better written in c++ and linked in. I did not say anything about writing a huge program in c++. Please read my posts more carefully in the future...

#11 Machaira   Moderators   -  Reputation: 1028

Like
Likes
Like

Posted 05 July 2001 - 05:03 PM

First off - if someone wants to write games, encourage them no matter what they want to use. We can fight forever about what''s best. The truth is the best language is the one you want to use at the moment. If someone wants to start with VB, there''s nothing wrong with that. I started with it and it''s helped me. There are good VB games out there, maybe not commercial level, but they''re not professionals writing them. They''re good considering that fact.

Second - if you want to learn VB and DirectX, here''s some sights:
http://rookscape.com/vbgaming/tutorials.php
http://www.vbexplorer.com/vb_game_developer.htm
http://voodoovb.thenexus.bc.ca/progmain.html
http://64.23.12.52/

If you have specific questions, go to the forums at VBExplorer and post them in the DirectX forum. I usually check it at least once a day.

Breakaway Games




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS