Why so few posts?
Why so few posts?
Why so few posts?
Why so few posts?
Why so few posts?
Why so few posts? Why so few posts? Why so few posts? Why so few posts? Why so few posts? Why so few posts? Why so few posts? Why so few posts?
Why so few posts? Why so few posts?
Why so few posts?
Go Back  Xtreme Visual Basic Talk > > > Why so few posts?


Reply
 
Thread Tools Display Modes
  #1  
Old 01-04-2004, 09:25 AM
ProfessorKill ProfessorKill is offline
Newcomer
 
Join Date: Jan 2004
Location: Frederick, MD
Posts: 6
Question Why so few posts?


Why so few posts in VB.NET game programming? Is there a good reason to choose VB6 for game coding over VB.NET?

Thanks for any advice guys
Reply With Quote
  #2  
Old 01-04-2004, 09:34 AM
reboot's Avatar
rebootWhy so few posts? reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,614
Default

a) .Net is just now really taking off, the masses aren't really using it yet.

b) We just opened these .Net forums a couple of weeks ago.
Reply With Quote
  #3  
Old 01-04-2004, 10:30 AM
ProfessorKill ProfessorKill is offline
Newcomer
 
Join Date: Jan 2004
Location: Frederick, MD
Posts: 6
Default Makes sense, sprite question

Quick follow up question: Have you ever tried to create a transparent sprite (transparent anything!) in VB.NET? Am I missing something or is this unbelievably difficult?

Ok, here come the replies...

"Just put a transparent image (PNG, GIF, etc.) in a container and set it's background to transparent!"

Nooooope. BTDT.

So does anyone know how to move a sprite over a background in VB.NET?

Thanks guys
Reply With Quote
  #4  
Old 01-04-2004, 03:58 PM
ProfessorKill ProfessorKill is offline
Newcomer
 
Join Date: Jan 2004
Location: Frederick, MD
Posts: 6
Lightbulb Ok, so DirectX 9.0

Just downloaded and installed DirectX 9.0 SDK for VB.NET.

The included samples won't work with my current version of VS. Guess I need to upgraded to VS 2003. That kinda blows goats.

Time to shell out some cash.

Reply With Quote
  #5  
Old 01-04-2004, 06:54 PM
JimCamel's Avatar
JimCamelWhy so few posts? JimCamel is offline
Mostly Absent

* Expert *
 
Join Date: Jun 2002
Location: Christchurch, New Zealand
Posts: 2,006
Default

Are you sure about that? I had trouble getting it to work as well. Check my post at http://www.xtremevbtalk.com/t130960.html , and see if that works.
__________________
Sometimes it happens feelings die, Whole years are lost in the blink of an eye
We once had it all but event conspired, Sometimes
Now that it's over, it is through, It gets me everytime I think of you
Sometimes It happens, feelings die, Sometimes
Reply With Quote
  #6  
Old 01-05-2004, 01:42 AM
AndreRyan AndreRyan is offline
Contributor
 
Join Date: Jan 2002
Posts: 489
Default

If you want .Net games, try the .Net forums www.dotnetforums.com there are a few over there, most are in C# however. If the DirectX9 samples comes up with a 'this file is not compatible with this version of Visual Studio' just open the Solution file in Notepad and change the first line from "8.00" to "7.00" then open the Project file and change "schemaversion" from "2.0" to "1.0", then it should start without too much trouble, some code may need to be edited if it's not compatible.
__________________
If you're a beginner or have little experience don't launch into something beyond your abilities, for example don't start game programming by trying to make a 3D first person shooter if you have no idea how to use DirectX and/or OpenGL or how to keep track of objects in a 2D plane let alone a 3D one.
Reply With Quote
  #7  
Old 01-05-2004, 01:08 PM
Bucky's Avatar
BuckyWhy so few posts? Bucky is offline
A+ Certified Nerd

Retired Leader
* Expert *
 
Join Date: Dec 2001
Location: East Coast
Posts: 1,763
Default

Quote:
Originally Posted by ProfessorKill
Quick follow up question: Have you ever tried to create a transparent sprite (transparent anything!) in VB.NET? Am I missing something or is this unbelievably difficult?

Ok, here come the replies...

"Just put a transparent image (PNG, GIF, etc.) in a container and set it's background to transparent!"

Nooooope. BTDT.

So does anyone know how to move a sprite over a background in VB.NET?

Thanks guys


Actually, this is extremely easy. Just call the MakeTransparent() method
of a Bitmap instance, passing the transparent color as the only
parameter. Then draw the Bitmap with the DrawImage() method of a
Graphics object.

Piece o' cake.
__________________
If you're not part of the solution, you're part of the precipitate.
Reply With Quote
  #8  
Old 01-05-2004, 02:11 PM
ProfessorKill ProfessorKill is offline
Newcomer
 
Join Date: Jan 2004
Location: Frederick, MD
Posts: 6
Default Sweet

Andre: Thanks, I'll try that!

Bucky: Thanks, I'll try that too!


Reply With Quote
  #9  
Old 01-05-2004, 02:45 PM
ProfessorKill ProfessorKill is offline
Newcomer
 
Join Date: Jan 2004
Location: Frederick, MD
Posts: 6
Default

Quote:
Originally Posted by Bucky
Actually, this is extremely easy. Just call the MakeTransparent() method
of a Bitmap instance, passing the transparent color as the only
parameter. Then draw the Bitmap with the DrawImage() method of a
Graphics object.

Piece o' cake.



Ok, you're right piece of cake. Thanks a lot!

However, here's the hard part. I'm betting. Reading the graphics beneath the bitmap before you draw it. Sooooo, you can replace the background and move the image. Think "sprites".

Will this be just as easy?

Thanks Bucky
Reply With Quote
  #10  
Old 01-06-2004, 05:30 AM
AndreRyan AndreRyan is offline
Contributor
 
Join Date: Jan 2002
Posts: 489
Default

I don't completely follow what you're talking about, what do you mean by "read the graphics beneath", do you want to access the memory? or alter the pixels? MakeTransparent allows you to "See Through" any given color or you can create the Bitmap using A1R5G5B5 format and specify A=1, this will cause a transparent pixel.
__________________
If you're a beginner or have little experience don't launch into something beyond your abilities, for example don't start game programming by trying to make a 3D first person shooter if you have no idea how to use DirectX and/or OpenGL or how to keep track of objects in a 2D plane let alone a 3D one.
Reply With Quote
  #11  
Old 01-06-2004, 06:33 AM
ProfessorKill ProfessorKill is offline
Newcomer
 
Join Date: Jan 2004
Location: Frederick, MD
Posts: 6
Default True, but...

Quote:
Originally Posted by AndreRyan
I don't completely follow what you're talking about, what do you mean by "read the graphics beneath", do you want to access the memory? or alter the pixels? MakeTransparent allows you to "See Through" any given color or you can create the Bitmap using A1R5G5B5 format and specify A=1, this will cause a transparent pixel.



That's all true, however if you -move- the transparent bitmap (lets call it a sprite), it will leave a trail. Like a brush. Follow?

I found a "BitBlt" function somewhere on the 'net the other day. It will read and return a rectangular bitmap from anwhere on the current form. I'll use this function to capture the contents beneath the sprite before I draw it. Next, draw the background cap over the sprite, then move the sprite. This eliminates the trail.

I'll write a group of VB.NET functions based on this BitBlt function to manage the sprite movements, animations, and collisions.

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The number of posts Wise_Reeper Forum Questions / Concerns / Comments 4 12-18-2002 06:10 AM
Highlight Posts KidCoder Forum Questions / Concerns / Comments 4 07-18-2002 07:45 PM
Moderater posts orufet Tech Discussions 12 08-29-2001 04:29 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Why so few posts?
Why so few posts?
Why so few posts? Why so few posts?
Why so few posts?
Why so few posts?
Why so few posts? Why so few posts? Why so few posts? Why so few posts? Why so few posts? Why so few posts? Why so few posts?
Why so few posts?
Why so few posts?
 
Why so few posts?
Why so few posts?
 
-->