12-23-2001, 08:12 PM
Okay, I heard Direct X was even better than Bitblt when it came to side scrolling, so I want to give this a shot, does anyone know of any side scrolling demos on this site, or at a website that I could use as an example to get me started? when I say side scrolling, I mean like Mario Bros., or Double Dragon or something, thanks
12-24-2001, 04:13 AM
I think there are examples which certainly use the same sort of functionality as side-scrolling games in the DirectX SDK.
01-06-2002, 08:31 AM
that's not to hard with vb, i did some of that as an experament. i made a bouncy ball bounce off the screen sides. not full screen mind you, vb does not enjoy fullscreen. if you're still having probz/questions, email me.
01-06-2002, 01:35 PM
Rather than continuing it private by email, why not continue posting here. I'm sure we would all be interested to see what you've done.
01-06-2002, 02:59 PM
no just email me, and i'll reply, then if it's good we can post it. here's the reason: i just spent about 40 minutes writting about a 15 page guide and when i hit submit it said i wasn't logged on. then when i hit back, it was gone. if it happens again, bad things will happen. the fate of the universe is in jeoperdy, so just email me.
01-06-2002, 03:09 PM
I have had similar problems before. The way I get around it when writing long posts is to write it in notepad (and possibly save it to disk) and then just copy it into the post window.
01-06-2002, 04:04 PM
VB does not enjoy fullscreen.......
Hahaha :) Oh, my sides, stop it! :rolleyes: :p
VB absolutely LOVES being in control, without having to wait for other programs to do their business. Ive found fullscreen runs a lot faster, and with less errors, than windowed mode. Plus fullscreen is a LOT more powerful in terms of what you can do.
Ive seen over a hundred working fullscreen DirectX games in VB (a few made by yours truly ;) ) and only a couple in windowed mode.
What ever put such an idea into your head? :confused:
01-06-2002, 06:46 PM
well Squirm, maybe you could help me out. what put the idea in my head is the fact that it took me quite a while to ever get DirectX to even work, and quite a lot longer messing around with fullscreen getting countless errors until finally it just said that the mode (referring to exclucive mode) was not supported.
tell you what, send me a couple of yo best progys and tell me how they work, cause i spent 3 years trying to create a better alternative to DirectX (i'm a do-it-from-scratch guy), and after realizing i would have to design my own video card for it to even work, decided that it would have to be a long term goal, and spent another 3 years or so trying to figure out how DX works, quite unsuccessfully i might add. to date, my DirectX achivements are a bouncing ball (strait lines, elastic collisions) on a window using vb, and a program that just changes the screen resolution in c.
help me out bro, someone help me. god, and i wanna be a professional game programmer! ain't it ironic i can code just about anything in asm but when it comes to high-level oop i'm lost.
01-06-2002, 07:01 PM
Today must be your lucky day, my friend, because I have attached what started out to be a 3D RTS-style game (but as you will see didnt get very far due to lack of 3D artists, but thats another story). It doesnt do much, just rotates a grid of tiles. Move the mouse to the top, you move up, move it to the bottom you move down, move it to the left... you getting the picture yet?
The 1 pathetic graphic is supposed to be grass, well it took me about 10 seconds using MSPaint. A log file is also included, and a compiled EXE just incase the code wont run. Oh, and you'll also need to have DirectX 8 installed. I didnt add any kind of checking in yet, so I just hope you have it when you try to run it hehehe.
I offer no support of any kind for this program, do with it what you must, credit where its due etc. etc. Anything you dont understand just forget it please dont PM me about this. Most of it you can get from these sites, listed in order of greatness:
DirectX 4 VB (http://188.8.131.52//index.asp)
Lucky's VB (http://www.rookscape.com/vbgaming/)
Voodoo VB (if its up) (http://voodoovb.dnsalias.net/)
01-07-2002, 07:36 AM
that's awsome! you should make a game seriously. graphic artists.... i know a few graphic artists though i doubt they'd be willing to do anything. but that's no excuse, i think it would be good, specially rts!
01-07-2002, 07:54 AM
You think thats awesome? Heh, that started off as a conversion of a game from DirectX 7 to DirectX 8. The original game I was porting from was much larger, 4 form files, 10 modules, and 3 class modules. Its a bit too big to post here, and not commented so of little use to anyone, it is so large. Eventually I just dropped the whole thing. I made a fatal mistake before I started out on it, I picked a game to make which didnt spark enough personal interest inside me, so I quickly lost interest. I am now contemplating creating a 3D space sim Elite-style, much easier, and something which I have been thinking about for a long time. But, as always, I can only ever be as good as a coder, I am no artist, and certainly no 3D artist/modeller. All I have been doing for the past 6 months is making game engines and then putting them on the shelf, mostly unused.
I am glad you liked the 'game' I posted. It took about 4 or 5 days to code on and off, plus a few weeks ironing out the many bugs I was experiencing. The original one that it was being based on took some 3 months to write and had a fully working GUI, much like (though nowhere near as good as) Windows itself.
Good luck with DirectX, I hope you can make sense of my code, I sure cant...... ;)