Search:
Type: Posts; User: Arie
Search:
Search took 0.27 seconds.
-
You might want to use the function Int over the Random function.
-
You're 100% right. With the sizes today.. what's 7MB for us???
-
New!!!
I added a Map Adder to the game, and added some maps to play.
Enter my site (first post) and see.
Arie.
-
If I understand your question right, You must use StretchBlt.
With BitBlt you cannot resize any picture...
Arie.
-
Now I understand...
That "bug" was ment to be. The reason for that is that when you release the "little guy" (Micro Player) it appears in the center of the big player.
That's why he cannot be...
-
I did not really understand the bug you described...
Can you explain it more?
Thank you for the "nice game"... :)
Arie.
-
I want some more opinions. Just building another game, a new one.
I want to know what to improve...
Try the game at: skull.pctip.biz
Thank you in advance,
Arie.
-
Very simple and very smooth game you have there..
Cool!
Add some colors to the game.. that will improve it a little.
Arie.
-
Thank you for the reply, NoteMe. Anyhow, I resolved it a long time ago.
Just forgot to say it here...
Thanks anyway!
Arie.
-
Make a type of objects:
Public Type myObject
objX As Integer
objY As Integer
objDC As Long
objHeight As Integer
objWidth As Integer
End Type
objDC is the variable that stands for...
-
Use simple functions like: Line, Circle and so on.
Or use some API functions like: Rectangle, Line...
Arie.
-
You could use ImageBox. Not Recommended.
Use this WinAPI:
Public Declare Function StretchBlt Lib "gdi32" Alias "StretchBlt" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As...
-
This is from one of my games:
Public Sub PrintText(iText As String, iX As Long, iY As Long, Optional iColor = 0)
Dim P As Integer, S As String * 1
For P = 1 To Len(iText)
S = Right(Left(iText,...
-
About the two lines thing, you are right, and nothing can be done.
You cannot know which line is over the other.. no 3D here.. eh. :p
Now, the code I gave you there is not full. You'll need to...
-
Try to create a universe of lines... like that:
First, declare this:
Public Type tMyLine
myLineX1 As Integer
myLineY1 As Integer
myLineX2 As Integer
myLineY2 As Integer
End Type...
-
Nice..
As first tip, try to highlight the mouse's selection when the mouse is moving.
I couldn't play because I have a home network. If someone could help me.. please do.
Arie.
-
Now it's much better, don't you think?
So far, game looks fine.. Go on and work on it!
Arie.
-
These two files, does not work. They give an error!
Check this out...
Arie.
-
Oops!! Sorry about that..
Arie.
-
Did you use:Set MyBuffer = Nothing
Arie.
-
Graphics are pretty good. Very poor Gameplay. There is no sound..
The player moves slowly when starting to move (one example).
Arie.
-
Very simple game. Very cool implementation.
Still, Hard Level is not that hard.. heh. :p
Arie.
-
No.. I ment the pictures in the ImageList.
P.S.
I'm gone for 12 days now... see ya'll later.
Arie.
-
Some notes:
1) The text you are searching for should be written in Upper case..
2) tmp is a String.
Arie.
-
This code I posted tells you if you have 2 or MORE images that are the same.
More detailed:
This IF condition returns TRUE on the next cases:
1) If 1 and 2 are the same.
2) If 1 and 3 are the...
-
You really got it now... :p
Arie.
-
If you want to check if image 1,2 and 3 are the same you can use this code for example:
If (ImageList1.ListImages(1).Tag = ImageList1.ListImages(2).Tag) Or _
(ImageList1.ListImages(1).Tag =...
-
I gave a solution in this post: http://www.vbforums.com/showthread.php?s=&threadid=311776
Arie.
-
There are two ways of adding images to the ImageList:
1) On project building (not runtime), manually.
In this case, you put the path yourself, manually.
Example:
You added a picture taken...
-
There's no formal way to do it.
But, you can try this next way:
Everytime you add an image to the ImageList add to the Tag property the file path.
Example:ImageList1.ListImages(1).Tag =...
-
Very good..
I didn't test it, but it looks like code that really works.
P.S.
Edit the topic subject and add "[RESOLVED]" to it.
Arie.
-
I want Dekade's opinion about that...
Arie.
-
Well?? Comments about my TIP??
Arie.
-
How about:
CurrentPos.X = CurrentPos.X - 5
Hmmm?? If I'm wrong, I didn't understand your question...
Arie.
-
I don't know exactly how to do it but it should be something with
CreateCompatibleDC and FillRect or Rectangle API functions.
Arie.
-
Your question was not clear enough...
You want to draw a box directly into a DC??
Arie.
-
Tip: Speed up soldiers speed.
Arie.
-
I'm very impressed!! It's so easy...
Very cool tutorial you made there, Fox! :thumb: :thumb: :thumb:
Arie.
-
Enter Here to learn some cool stuff!
That's Fox's site... very cool site. Learned a lot about bitblting and tile myself from this site.
Arie.
-
Use these:
Public Declare Function GetDesktopWindow Lib "user32" Alias "GetDesktopWindow" () As Long
Public Declare Function GetDC Lib "user32" Alias "GetDC" (ByVal hwnd As Long) As Long
And use...
|
Click Here to Expand Forum to Full Width
|