Search:
Type: Posts; User: metalmidget
Search:
Search took 0.25 seconds.
-
Bad news :(
The files are no longer retrievable from where I used to store them, and the originals were on an old computer that's long since become trash.
So I don't have any way of getting it...
-
Note that I said if you wanted to draw the 10x10 square of pixels from the bottom right of a 100x100 square. The coordinates (90,90) is where such a square would begin.
-
Sorry, can't help you with this. All I can do is suggest you look up the documentation for bitblt, and see what it says is required in the newer versions of VB.
-
Hire purchase is when you buy something in retail, but don't have to pay straight away. For example, you've probably seen those ads on TV (usually for expensive things like furniture, TVs, Hifi stuff...
-
Glad to hear you liked it! If you're still looking for articles on 2D collision detection, I recommend this one. Just change the last part of the URL to tutorialB.html for the second article in the...
-
This is the first version of this game that I made. Go check out the red link in my sig to see the final version with powerups, AI, nicer graphics etc. Let me know what you think!
cheers,
metal
-
Erm... Just change the code slightly so you're using .Top and .Y values instead of .Left and .X.
What do you mean? Try to elaborate a bit more on your question. If it's not something related to...
-
Not to dishearten you, but games programming can be pretty difficult. It's generally a good idea to learn the language before wanting to make a game. You're going to need to have a firm grasp of...
-
I was about to launch into a justification of why I wanted to do it this way, then I had a epiphany.
A slight change to my program's structure will take care of what I'm trying to achieve, so...
-
Note that this is C, not C++.
I have a function declared as inline which basically amounts to something like:
inline void funct()
{
//some stuff
if (something)
continue;
else
break;
}
-
So you're working the streets of St. Kilda these days? :p
-
Thankyou muchly Mr. Mod:)
-
In my C program, I've allocated memory using this:
printf("Sorting.\nSort how many numbers? ");
scanf("%ld", &n); //get input for number of numbers
int *pIntArray; //declare pointer, which will...
-
well that's not what we're here for. You come up with the ideas, try them, then ask us specific questions if you're struggling with something. We won't tell you what to do, or just give you source...
-
Both true, but also keep in mind that most (if not all) the tutorials in the G&G FAQ are done in VB6. In theory it shouldn't be too hard to convert them though.
-
:eek: I'm honoured that our new mod would recommend my work!:p
Are you talking about my full game, or one of my tutorials? I hope you don't mean Blast Away, I don't know if a true beginner would...
-
Ah right, yeah. I forgot about that. Stupid twips.:mad:
-
I can't see anything wrong with that line itself... What do you mean by "he only hides"? Does he just disappear as soon as he goes off the edge of the screen and not come back?
metal
-
Chem is right. You should be using bitblt for your graphics rather than image or picturebox controls.
Allow me to point you in the direction of my signature, which has a tutorial on how to implement...
-
In a word, yes.
Just a word of caution- I've noticed that twice you've posted code with the gameloop and /gameloop lines in it. Just making sure you realise that those aren't real lines of code,...
-
When you get errors, it helps if you tell us the exact error. Hopefully we can understand it and use it to solve the problem- that's why the compiler describes the error to you.
Looking at those...
-
Please check the FAQ before posting. You'll find your answers there.
-
I refuse to believe that there's anything bitblt can't manage at 3 FPS, however, if you want to use DX, go for it! It's a great tool, and something you'd probably end up using anyway if you take...
-
If you have any questions about my code feel free to ask and I'll explain it. I think most of it's pretty well organised and done efficiently, but I do recall there being a few things where I just...
-
-
int input;
scanf("%d", &input);
If I understand correctly, the first parameter of the second line of code is the abbreviation for an integer variable. What's the abbreviation for a long?
cheers,...
-
Even if that was true, it would then leave the problem of me trying to write something in C and it not compiling because I put something from C++ in there.
metal
-
Yeah I realise that autoredraw creates the backbuffer, but the point is that using bitblt with the buffer will mean that everything gets presented at the same time.
-
OK so I had a lab for this subject today, and the woman taking us for the lab said that the set text was OK, but that this was a better book. I think this is what I was after when I referred to...
-
I see what you're getting at here. Because of the line-by-line nature of code execution, you'll see one section of graphics move, then the next, then the next. I have 2 answers to this:
Firstly, if...
-
You're welcome! What was the other forum you asked at, out of curiosity? And what turned out to be the slow piece of code?
-
I just realised I don't know whether you're using VB6 or .net. Which are you using?
-
Nah I don't think I need OOP, it was just in some extra sections of the set text for this subject. I'll ask the subject convenor tomorrow whether or not the OOP in the book will actually be used.
...
-
Ahh, if I'd been even slightly less lazy and even glanced over your project I would've been able to give you some tips that will improve performance dramatically.
For starters- timers are evil. You...
-
Out of curiosity, I made a test project. I was going to push it until it started to lag, but when it easily did 2500 sprites moving at random speeds across the screen at the fastest rate a standard...
-
That's all good advice, but I was hoping for some titles... :p
cheers,
metal
-
As far as I know the course sticks to C at first. THe subject it's for is called "Robotics and Mechatronics Project", so I think the programs should be fairly basic procedural type stuff to guide a...
-
Bitblt is fast. If you don't believe me, you can check the game in my sig, which was done entirely with bitblt. It can do stacks of fast-moving sprites at up to 100 FPS. Taking 20 seconds to draw...
-
Today I started an Engineering/Science double degree and the language we focus on for first year is C. I knew this already so I don't know why I've left it this late to ask the question...
The set...
-
Periodically add some value to the .Top value of each shape
I believe I already answered your question about collision detection. All you have to do is find the collision and then set .Visible to...
|
Click Here to Expand Forum to Full Width
|