-
Nov 28th, 2006, 10:58 AM
#1
Thread Starter
New Member
-
Nov 28th, 2006, 03:01 PM
#2
Re: (VB6) Need Help With Resolution Problem
Looking at your overlayed image, I'd say it would be easy make the whole overlay out of several single images during runtime. so you need to keep only one small image and use it to create an overlay of the actual screensize during runtime.
You're welcome to rate this post!
If your problem is solved, please use the Mark thread as resolved button
Wait, I'm too old to hurry!
-
Nov 28th, 2006, 07:40 PM
#3
Thread Starter
New Member
Re: (VB6) Need Help With Resolution Problem
i think you dont understand... or i dont....
no disrespect intended..
the first image (800x600) is at display res 1920x1200
the second is were i matched the screen width with the image width to show the problem i will have on higher res machines or ones running higher res.
-
Nov 28th, 2006, 07:45 PM
#4
Thread Starter
New Member
Re: (VB6) Need Help With Resolution Problem
oops! i didnt understand hehe...
thats the thing i have no idea how to use multiple single images to match the res. im using timers and bitblt...... this is truly my first venture into graphic/image manipulation.
i know of no examples either, i will be eternally greatful if there is any!
-
Nov 28th, 2006, 07:57 PM
#5
Re: (VB6) Need Help With Resolution Problem
Stay away from timers. They are really bad.
Take a look at my signature on Managed Game Loops. As for multiple images, it would be wise to stick with one image and use stretchblt instead of bitblt to stretch the image according to your resolution. Personally I'd be using DirectX, and have real 3D lighting going on, which can even lighten the background objects and windows.
-
Nov 28th, 2006, 08:22 PM
#6
Thread Starter
New Member
Re: (VB6) Need Help With Resolution Problem
has anyone ever seen twinkle bulbs or holiday lights?
basicly im trying to duplicate what they did.
so far failing miserably..... im wondering if anyone would like to help into the project or possibly show a custom example to make this possibly work....
-
Nov 28th, 2006, 08:24 PM
#7
Re: (VB6) Need Help With Resolution Problem
That's why I'm here to help you out. Did you see my post?
-
Nov 28th, 2006, 08:29 PM
#8
Thread Starter
New Member
Re: (VB6) Need Help With Resolution Problem
yes, im just flying blind with graphic programming.
-
Nov 28th, 2006, 10:24 PM
#9
Re: (VB6) Need Help With Resolution Problem
You think graphics are hard, try working with Rigid Body game physics.
This should help you get some stretching going:
http://www.allapi.net/apilist/StretchBlt.shtml
-
Nov 29th, 2006, 02:21 AM
#10
Re: (VB6) Need Help With Resolution Problem
I wouldn'T use any stretching, since you probably don'T want your image strechted (the number of your red "things" will stay the same, but they get thicker) instead for a greater resolution you want to see more of those red "things" [don't have the english word for that,sorry]
So take one of those things (lets say an image of 10*10) and create a loop that sets them in a oicture side by side until the width of your new picture has the actuasl screen size. The API for that would be bitblt.
You're welcome to rate this post!
If your problem is solved, please use the Mark thread as resolved button
Wait, I'm too old to hurry!
-
Nov 29th, 2006, 08:37 AM
#11
Thread Starter
New Member
Re: (VB6) Need Help With Resolution Problem
yeah i was thinking that would happen as well, streching just makes it look nasty
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|