Quick Search for:  in language:    
AGAIN,MIDI,VOTE,19MB,PSC,UPDATED,more,major,b
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 3,011,557. lines
 Jobs: 117. postings

 How to support the site

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Visual Basic.
Click here to see a screenshot of this code!A Simple Database WIth XP Design ( Without XP )
By Osen Kusnadi on 7/1

(Screen Shot)

Fractional Addition
By SAEED HASSAN on 7/1


Defrag at certain time
By Michael Nipper on 7/1


Click here to see a screenshot of this code!Extended Find Ver 2
By Roger Gilchrist on 7/1

(Screen Shot)

Y! Module
By NightCrawler on 7/1


Files Comperator (the right way)
By Jarry Claessen on 6/30


Simple UDP example
By Mick Walton on 6/30


CAPS Trigger
By Trevor Burley on 6/30


Auto clip picture
By Kenneth. Jakobsen on 6/30


Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

engineX beta demo 1 by Simon Price

Print
Email
 

Submitted on: 1/20/2001 9:02:24 PM
By: Simon Price  
Level: Advanced
User Rating: By 20 Users
Compatibility:VB 6.0

Users have accessed this code 11872 times.
 
(About the author)
 
     UPDATED AGAIN: 3 more major bugs fixed! UPDATED: many bugs fixed already ! *** engineX beta demo 1 *** engineX was designed to be as simple and reusable as possible. It uses DirectX 8. It features: - 3D graphics with support for hardware acceleration - dot, line and triangle primitives - materials - texture mapping with transparency - lighting - frame hierarchies - loads .x files - loads .exf files (a custom file format, made specifically for engineX, has it's own editor, not released yet) - collision detection - 2D and 3D sound (mono wave file only) - input from keyboard and mouse - MIDI music This demo was designed to demonstrate most of these features, as quickly and simply as I could. There are 2 sample worlds to choose from (see screenshots). In the demo you can just walk and look around, and bump into objects in your way. I need as much feedback and bug reports as possible, it's very hard to get DirectX to work on all OS's and hardware, I especially have problems with Windows 2000. PLEASE DO VOTE if you find the code to be useful/well written/cool in some way The demo is 1.9MB, so I couldn't upload it to PSC, please instead use this direct link to the zip file stored on my website. http://www.VBgames.co.uk/downloads/exdemob1.zip If you just need the source code because you've already got the resources, use : http://www.VBgames.co.uk/downloads/exdemob1src.zip

 
code:
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.

'**************************************
' Name: engineX beta demo 1 by Simon Pri
'     ce
' Description:UPDATED AGAIN: 3 more majo
'     r bugs fixed!
UPDATED: many bugs fixed already !
*** engineX beta demo 1 ***
engineX was designed To be as simple and reusable as possible. It uses DirectX 8. It features:
- 3D graphics With support For hardware acceleration
- dot, line and triangle primitives
- materials
- texture mapping With transparency
- lighting
- frame hierarchies
- loads .x files
- loads .exf files (a custom file format, made specifically for engineX, has it's own editor, Not released yet)
- collision detection
- 2D and 3D sound (mono wave file only)
- input from keyboard and mouse
- MIDI music 
This demo was designed To demonstrate most of these features, as quickly and simply as I could. There are 2 sample worlds to choose from (see screenshots). In the demo you can just walk and look around, and bump into objects in your way.
I need as much feedback and bug reports as possible, it's very hard To Get DirectX to work on all OS's and hardware, I especially have problems With Windows 2000. PLEASE DO VOTE If you find the code to be useful/well written/cool in some way
The demo is 1.9MB, so I couldn't upload it To PSC, please instead use this direct link to the zip file stored on my website. 
http://www.VBgames.co.uk/downloads/exdemob1.zip
If you just need the source code because you've already got the resources, use :
http://www.VBgames.co.uk/downloads/exdemob1src.zip
' By: Simon Price
'
'This code is copyrighted and has' limited warranties.Please see http://w
'     ww.Planet-Source-Code.com/vb/scripts/Sho
'     wCode.asp?txtCodeId=14587&lngWId;=1'for details.'**************************************

Sorry, couldn't upload, please use http://www.VBgames.co.uk/downloads/exdemob1.zip


Other 17 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
1/20/2001 9:06:29 PM:Simon Price
Why can't we use HTML formatting 
anymore? That didn't come out right. 
Never mind. Here's the link once again: 
http://www.VBgames.co.uk/downloads/exdem
ob1.zip 
Please give feedback and vote 
for me. Thanks.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/20/2001 9:08:36 PM:Simon Price
Note: I'm uploading the file once again 
with slight changes, so come back in 5 
mins if this is the last message in the 
feedback.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/20/2001 9:23:22 PM:Simon Price
OK, upload #2 complete, the file size 
has gone up to 1919 KB, sorry, but I 
thought it's better to be safe and 
resize all textures to 256 x 256 
pixels, in case other sizes caused 
problems.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/20/2001 9:38:49 PM:Wazerface
The only reason i clicked the link to 
this was it said "by simon price" I 
knew it would be good and im right!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/20/2001 10:14:19 PM:Jon
Awesome! 5 of 5!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/20/2001 10:48:59 PM:Mike Canejo
Very good simon. I'm working on 
something similar and hope to submit it 
this week. Good job. 5/5
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/21/2001 2:58:40 AM:Nathan Chere
My engine of choice is Revolution3D by 
Dream-X. It's an awesome complete 
DirectX 8 engine which you should have 
a look at, it doesn't include code but 
you still might learn something about 
how to improve your own effort.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/21/2001 4:58:00 AM:Simon Price
Nathan, I heard of that engine but I 
didn't realise it had been upgraded to 
DX8, so I'll have a good look at 
that.
Jon and Mike, thanks for the 
votes.
Wazerface, thanks (if it's 
good, why not vote that it's 
good?).
I've spotted a 3 bugs already, 
one major one pointed out by Robert 
Rayment (thanks Rob!), so another 
update is in order soon.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/21/2001 5:44:14 AM:Simon Price
OK, I've udated it again, fixing 2 
bugs. I put an end statement in there 
because Robert said that the program 
didn't left some of itself behind when 
unloading. I also fixed a bug which 
caused the car to get stuck when 
turning around.
170 downloads and 2 
votes, that's like 1%! Please remember 
to vote and give feedback.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/21/2001 5:46:04 AM:Simon Price
Hmm, that car looks as if it's floating 
though the air on that screenshot. 
Looks like another bug to fix! At least 
no fatal errors have been reported yet, 
I take it everyone who downloaded it 
got it running?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/21/2001 11:43:37 AM:Richard Hayden
WOW. I think we can guess who will win 
this month's code of the month! Well 
done Simon, I'm looking forward to the 
next version/game! It ran very well, if 
not too fast on my 950MHz (I was 
running faster than Linford Christie!). 
Anyways, 5 from me!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/21/2001 2:16:26 PM:Wazerface
Sorry,
I thought i did... 5 globes!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/21/2001 2:35:55 PM:Christian Bergman
As always simon, GOOD WORK!
you get 5 
globes from me =)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/21/2001 2:36:30 PM:Simon Price
Richard (and Kostas, if you see this?), 
I don't understand why the demo runs 
too fast. As you can probably see, 
every single movement in the engine is 
multiplied by the time - so I figured 
it would run the same speed on all 
PC's. I even tested this by slowing 
down my PC until my demo ran at a slow 
frame rate, and the actual speed of 
objects remained the same. Any ideas? 
As for code of the month, maybe, but I 
think people are a bit bored of the 
same old thing. The collision detection 
is a major improvement though. Next 
time it will be a game I promise, I'll 
have to make it free source yet again 
if I want to put it on this site 
though. Wazerface, thanks for the vote. 
Strangly, it says I've got 4 votes, but 
the list there contains 5 people... 
Thanks and keep the votes coming in.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/21/2001 5:09:49 PM:Richard Hayden
The speed thing must just be me 
thinking it's too fast.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/21/2001 6:37:33 PM:Simon Price
Richard, I don't think so, I trust you 
if you say it's too fast then it's too 
fast. I see what you mean about the 
fact that our definitions are fast are 
maybe different, but Kostas also 
emailed me to say it ran to fast. Do 
objects such as the car shoot across 
the scene, or is it just a problem with 
walking? I purposefully made the car go 
slowly so that you could see the wheels 
turning around.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/21/2001 6:40:30 PM:John Scalup
Hey again simon, It's a shame i voted 
for this project before I actually 
checked out the coding...looks are 
deceiving ;]  I got two bugs in the 
Mars sub and/or the village sub when 
they were called from the 'Start Demo' 
button. A 'bad file mode' error when it 
tried to open to the error log file and 
I also got a out of range substring 
error on "Set cam1stPerson = Camera(1)" 
and couple more like the above.  I'm 
sure it's not my computer, it has dx8.0 
and i dont know if its just me because 
no one seems to be getting this error?  
Thanks.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/21/2001 6:45:49 PM:Kristen
Yeh mike I got the same errors. I voted 
this poor because I didn't get to see 
it! Which I really want to. So when i'm 
able to see it you'll have my excellent 
vote.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/21/2001 6:47:59 PM:Mike Canejo
I got these errors also but the screen 
shot looks good so thats good enough :]
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/21/2001 6:55:23 PM:Simon Price
John and Kristen
The reason you are 
getting errors: the program isn't 
loading the .exf files, for some 
unknown reason, and so when it tries to 
set variables pointing to objects 
laoded from the file, you get more 
errors there too. I'll have to change 
the code to use the FreeFile() 
function, but I've never used that 
before. Thanks for your feedback, this 
is just the type of bugs I need to know 
about. I think if you try to run the 
demo again, it might even work 
sometimes but not others. Does anyone 
know alot about file input in VB? Maybe 
you could help me. Thanks.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/21/2001 8:51:57 PM:Mike Canejo
hmm... Simon someone here is 
namespoofing me...Kristen? I never 
submitted that "I got these errors also 
but the screen 
shot looks good so 
thats good enough :]" hmmm  Anyway good 
job again Simon i voted excellent just 
now because i remembered that i forgot 
to . Welcome.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 2:17:38 AM:Mike Canejo
	For everyone here who wants to see 
more screen shots of this program taken 
with a GeForce 256 bit 3d card or wants 
to download at a faster speed, goto: 
http://server45.hypermart.net/mike3d/VB/
main.html               There also as a 
seperate download is a modified version 
of simon's project to include more 
screen resolutions up to 1600x1200 
because I myself have a 21 inch monitor 
and the x-engine looks like quake3 at 
1600x1200 for me :)  -Welcome  and 
Simon, tell me what you think because 
I'll take the site down if you want :] 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 2:19:29 AM:Mike Canejo
http://server45.hypermart.net/mike3d/VB/
main.html
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 2:20:00 AM:Mike Canejo
http://server45.hypermart.net/mike3d/VB/
main.html
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 2:21:11 AM:Mike Canejo
Darn PSC, it screws with the text sorry 
about that, html can't be done now for 
some reason.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 4:25:07 AM:Richard Hayden
Hi again Simon. The car moves quite 
slowly and I can clearly see the wheels 
moving. It's just the camera's movement 
speed that seems a bit 
disproportionate. When I get more time, 
I might have a look and try and get it 
to slow down on my machine. Mike, I am 
going to download your modified 
version, and try it in 1600x1200 
resolution. That's what I usually run 
all my D3D things in. Maybe Simon, you 
could re-upload to PSC a modified 
version which supports very high res 
modes?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 4:45:16 AM:Richard Hayden
Simon, I know a bit about file access 
in vb. FreeFile is simply a function 
which returns the next unused file 
number. An example of how you could use 
it could be:
Dim intFreeFile As 
Integer
intFreeFile = FreeFile
Open 
"filename" For Output As 
#intFreeFile
'do file stuff
Close 
#intFreeFile
Hope this helps 
:-).
It's very weird people are 
getting 'Bad file mode' errors. They 
mean that statements used in 
manipulating file contents were not 
appropriate to the mode in which the 
file was opened. Ie. the 'Input #' 
statement was used for a mode other 
than 'Input' etc... I can't understand 
how people could be getting this error, 
if no one else is (You and I certainly 
aren't, and obviously nor are a few 
other people.) The 'Subscript out of 
range' error means an array has 
attempted to be accessed out of its 
defined range, which is probably simply 
a result of a problem caused by the 
file access errors. Anyway, I'm sure 
you'll figure it out.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 7:14:36 AM:Mike Canejo
Thanks richard. Now I know i'm not the 
only one who uses the 1600x1200 
resolution ;)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 1:30:47 PM:Chris
Now THIS is more like it; it 
rocks!
Everything runs fine here, and 
I didn't need to wear sunglasses to 
view it. Great job.
Can we expect a 
S.P. "DOOM"!?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 2:34:19 PM:Simon Price
The code has been updated again! If you 
don't want to download the whole demo, 
just the source (100KB), use 
www.vbgames.co.uk/downloads/exdemob1src.
zip . This one includes high res 
(thanks Mike!), which I couldn't test 
on my cheap PC. I also used the 
FreeFile function (thanks Richard!) to 
fix file error problems. I hope John 
and Kirsten can get it working now. And 
for those of you with fast PC's - 
Linford Christie is dead! Yes, I fixed 
the camera speed bug too! Mike, you can 
keep your website there, the animated 
gif looks cool. Did you just make that 
site now? It had > 800 visitors 
already! Thanks for the help everyone, 
I apologise for all the bugs. I rushed 
the release to get it done for the 
21/01 as I promised on my website. I 
kept to the deadline :) , now if only I 
could do that with my school work. 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 3:22:04 PM:Mike Canejo
Nah simon, i didnt have time to get 
another Counter account so i just 
borowed the code from one of my old 
sites and pasted it on the new 
one...forgot to reset it ;]  It was at 
749 when i put it on so i guess it went 
up a few ;] Anyway, simon if you would 
like to redirect links on yur website 
to the screen shots or need them, help 
your self since you dont have a 
1600x1200 capable res or the gif 
:)Thanks for the compliment also. I was 
very bored as you could see, so it 
wasn't much out of my time. -Mike
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 3:26:14 PM:Mike Canejo
Simon have you been working on creating 
a "textured person" or thinking about 
it in future 'free source' games 
because i would like to see it. I'm 
trying to learn dx8.0 as you did but 
your obviously fast at surpassing 
others. I hope to also submit something 
like this soon. KeyWord "soon" ;]  
Also, maybe a weapon would be nice, 
maybe a rocket launcher or machine gun 
::heh::  -Mike
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 3:50:21 PM:Mike Canejo
 Simon, I couldn't get yur updated code 
to work. It says "found 3d card should 
run nice and fast" but then once its 
clicked nothing happened. Did you 
change anything to have caused this? I 
tried all the resolutions i have 
..about 7 and none worked. -Thanks, 
Mike
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 4:44:03 PM:Richard Hayden
Mike, I had exact same prob with new 
code, and have told Simon exact same as 
you have by e-mail, this just backs up 
the fact that it must be a simple 
mistake in the code, ie. a missed line 
of code etc............
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 4:54:24 PM:Simon Price
OK, I've uploaded AGAIN!!! I think this 
is #5! This time was a stup!d mistake 
by me, I zipped the source code before 
pressing the save button in VB. So 
while I tested it and it worked fine, 
the zip contained partially finished 
code. Please try it again and tell me 
if I have finally got everything right, 
or at least no major blunders!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 5:01:28 PM:Simon Price
Chris (&Mike) : I'm considering a 
shooter as the first game to make with 
this engine, since the bullet can use 
the same collision detection as the 
current demo. But I'm also thinking 
about a flying game, as I think it is 
an easier sort of game to make. Before 
I make a shooter, I will have to add 
BSP trees to the file format and 
engine, which could take months!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 5:08:09 PM:Simon Price
And before any games get made, this 
demo has to run perfectly, my modeller 
and scene editing programs must be 
done, and (yes there's more), engineX 
has to be made into a DLL and 
documented, and I have to do some IT 
project for school (remember the 
landscape generator - think of that 
with wireframe contours and loads of 
geography boring educational stuff 
mixed in).
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 5:19:24 PM:Sami Riihilahti
Nice thing. (I also looked the name 
Simon Price and cliked this link). ps. 
Don't let those C++ gameDev people 
tease you ;)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 5:20:14 PM:Richard Hayden
AAAhhhhhhh! BSP trees! Keep them away! 
:-o
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 5:25:39 PM:Simon Price
Sami, you mean it actually worked 
flawlessly? GREAT! So you're another 
gamedev person. I just joined, but now 
I think I should have waited until I 
was better at C++. I'll be back to 
prove I can make games as well as they 
can :) 
Richard, the people who I 
were talking about who can make games 
better than anything on PSC - well they 
are the type of people who hang around 
www.gamedev.net 
Unfortunately I 
don't fit in well there since I'm a 
VBer!
Anyone else get the demo 
working? More to the point, who can't 
get it to work? I want to crush every 
single bug because I intend on using 
this source as a base for lots of 
future work.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 5:28:57 PM:Simon Price
Richard, what's wrong with BSP trees? I 
can't think of any other ways of making 
huge levels run more than 1 FPS. Can 
you? I'd be interested to hear 
them.
Hey, this page has become a 
chat forum. Sorry Ian!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 5:34:15 PM:Richard Hayden
No, I know that BSPS are musts for big 
shootem ups or whatever, it's just that 
they look pretty complicated from what 
I've seen, and I was just voicing my 
confusion over the subject.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 5:40:09 PM:Simon Price
Either use BSP's or go back to Doom 
style, but that's not proper 3D. I 
understand how BSP's work now, but I 
still think it would take months for me 
to learn. Or I could come up with a 
brand new concept... that would be alot 
more fun.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 8:45:19 PM:Evan Sims
Outstanding code Simon -- exactly what 
I was looking for. Easy to understand 
and manipulate. Please release the EXF 
editor soon, I'd love to get started 
developing a game based off this.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2001 10:23:37 PM:Evan Sims
Simon - I just downloaded the latest 
version you have up there. Now the 
actual 3D rendering is being displayed 
*behind* the form's objects -- that is, 
the readme, buttons, etc. are all still 
visable, but the gameplay is viewed in 
the background instead of the gray form 
-- screenshot of what I 
mean:
http://www.evansims.com/images/st
range_enginex.jpg
I don't know if 
this is just me or what, but it's quite 
odd. This wasn't the case in the first 
version I downloaded, and it was 
working right before I got the new one.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/23/2001 11:41:54 AM:Mike Canejo
Yeh simon, he's right but for me the 
readme just blinks with the game's 
frames... So i just made it invisible 
on the LoadDemo function. Sorry i 
forgot to say something. Seems for him 
its worse. Simon just have all the 
objects invisible when the game starts 
or put it on a seperate form then close 
it. I'm sure this might be a problem 
for others.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/23/2001 1:40:09 PM:Simon Price
OK, I've updated it, thanks for the 
help Evan and Mike. Now all controls go 
invisible upon loading. If you see 
www.VBgames.co.uk/downloads/si3dmodeller
.htm , you'll see a 3D editor I have 
working at the moment. It makes .si3d 
files, which are a more complicated 
version of .exf files, so, to make a 
.exf editor I just need to take some 
features out of the .si3d editor. I 
hope that makes sense. It might take a 
while, I've been thinking of lots of 
improvements but they will be worth 
doing. For example, you'll soon be able 
to get a cCamera or cLight object, and 
call an Attach(ToWhat as Object) to 
attach it to a frame, mesh, camera, 
anything! For example, you could attach 
a camera to follow a car in a racing 
game. I'm open to other suggestions, 
but please note everything takes a long 
time, I can't do things instantly. 
Getting rid of all these bugs is hard 
enough :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/23/2001 1:44:12 PM:Simon Price
If anyone else spots a new bug, please 
do tell me, I suppose lots of other 
people saw controls through the 
graphics and didn't tell me. Thanks!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/23/2001 4:22:55 PM:Mike Canejo
Simon i found a small glitch or bug. 
Goto http://mike3d.cjb.net/  and its 
under the "Bad Shots" section ;] 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/24/2001 2:56:58 PM:Simon Price
Mike, that is not a bug, it's just my 
bent drawing skills. I'm a programmer, 
not an artist, that was the first time 
I've ever used 3DS Max. Thanks for 
pointing it out though, I hadn't 
spotted it. You didn't need to make 
like 16 screenshots of the glitch (I 
only needed 1!).
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/24/2001 3:07:44 PM:Mike Canejo
Simon don't get all crazy... I wasn't 
making a big deal out of it, and it was 
only 4. I got bored and uploaded the 
major screen resolutions, big deal. 
This is a vb community and it was for 
them also to look at.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/24/2001 3:18:16 PM:Evan Sims
Simon, I've started up a new site 
called the EngineX Developer Resource 
Center. I hope you don't mind. I threw 
it together as an alternative to using 
using up PSC's feedback area as a 
message 
board.
http://www.erroneousdata.com/e
nginex/
I've also posted a new code 
bit for a run mode (SHIFT+Arrow will 
run instead of walk) on the 
board:
http://www.erroneousdata.com/e
nginex/cgi-bin/ikonboard/topic.cgi?forum
=3&topic;=1
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/24/2001 4:15:22 PM:Richard Hayden
Blimey Simon, EngineX seems to be 
developing quite a following........ I 
like the EngineX dev centre, Evan, well 
done!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/24/2001 4:45:50 PM:Simon Price
Wow, Evan! That is some cool website, 
I'm chuffed you made all that just 
because of some demo. I'll definately 
have to keep you updated on engineX 
then. As you may have picked up by now, 
engineX will be made into a DLL and 
have documentation written for it, so 
it will be like DX but much easier to 
learn. You'll be able to just add a 
reference to your VB project like you 
do with DX. I'd prefer if people didn't 
start developing games off it and stuff 
until at least the DLL is ready. Then 
people can make games as much as they 
like. I'll make tools such as modellers 
and level editors, and everything can 
be put on your site if you are sure you 
want to maintain it. Maybe I should get 
engineX.com, hmm I wish I had though of 
a more imaginitive name. Thanks for 
your help, please be patient with my 
progress on the engine, I expect it to 
take a month or 2 before I get an alpha 
release, since I have alot of school 
work (boring database stuff).
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/24/2001 4:49:09 PM:Simon Price
Mike, sorry if that sounded like I was 
having a go at you, I wasn't :) thanks 
for your site too.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/24/2001 5:03:26 PM:Simon Price
If anyone else publishes this code 
(edited or not), please do the right 
thing (like Mike and Evan) and tell me 
about it. I want to know where my code 
goes so I can update people when the 
alpha DLL version is ready.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/24/2001 5:08:22 PM:Evan Sims
Thanks Richard and Simon. I'm here to 
help. :)
Also, enginex.com, .net and 
.org are taken - I looked into it :( An 
alternative might be vb-enginex.com 
though? :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/24/2001 5:18:35 PM:Simon Price
I thought engineX was a lame name 
anyway. But I don't want you to have to 
change all the banners on your site. I 
bet I could get engineX.co.uk
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/24/2001 5:36:02 PM:Evan Sims
hehe, hey, don't let me hinder any of 
your decisions - everything can be 
changed should it be necessary :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/24/2001 6:03:13 PM:Mike Canejo
Thanks Simon. My site is just up out of 
boredom but good job Evan ;] Hey Simon, 
would you mind if I touched up some of 
your graphics for the demo and send 
them to you after? I think they look 
like a good alternative for the village 
world. I also fixed that blasted Moon 
which had a hole in it. This was 
because as it rendered you had a black 
spot on the moon.bmp file. Your 
probably already aware of it but I said 
it anyway  ;]  -Mike
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/24/2001 6:12:11 PM:Mike Canejo
Another thing Simon, Is there maybe a 
alternative way of getting the user's 
screen resolutions? Maybe from the 
registry? Because it takes about 20 
seconds to load which I don't think 
should be that necessary. What would be 
a good way to set it up is if you just 
store the user's resolutions into a ini 
file or into the registry on the first 
load this way they don't have to wait 
for it to load so long if they have 
more than 3 resolutions.  Then on 
future loads it will just load the 
values from where it's stored and it 
will be alot quicker. The resolution 
checker on your program takes on 
average 5 seconds for each so since 
there's 4 res. checkers, 4 x 5 = 20 
seconds. I may be wrong but maybe 
someone could agree with me ;] Thanks, 
-Mike
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/24/2001 6:14:36 PM:Mike Canejo
Wait there's 5 checkers in there, i 
forgot about the new 1600x1200 you 
included. So thats 25 seconds. ;]
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/24/2001 10:35:15 PM:Mike Canejo
Simon I just finished doing like 
everything I just said above. I also 
added to the game: Flying, Turbo run + 
Turbo Fly (jetpack), and like i said 
above, it will remember the resolutions 
on the first load and on others will 
load the resolutions from file. It runs 
alot quicker now ;] Check it out Simon 
and others please. 
http://mike3d.cjb.net/
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/25/2001 8:47:50 AM:Mike Canejo
Simon I tried using linear texturing 
and the worlds look much better, 
especially the Mars world. You should 
try it if you havn't already. I just 
reuploaded the project to my website if 
you wish to try it out. -Mike
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/25/2001 10:01:34 AM:Richard Hayden
Mike, you said that EngineX takes 25 
seconds to load!?!? On my computer it 
takes about 2 seconds to load after the 
first load, which takes about 5. Did I 
misread your comment?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/25/2001 1:25:24 PM:Mike Canejo
First load is what i meant. For me its 
more than 5 seconds. Must be because my 
large monitor size ( 21inch) to check 
and checking a resolution probably 
takes longer. 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/25/2001 1:47:33 PM:Simon Price
OK Mike, thanks for the improvements! 
:) I'm sorry it took a long to load, it 
doesn't do that to me. There is a way I 
could speed it up by 5 times, but it 
would need code in the actual frmDemo. 
The point of the engine is that I'm not 
allowed to put any complicated code in 
frmDemo. When I made this demo, I was 
imagining that all the code was bundled 
into a DLL, and I was just calling the 
functions of the DLL from frmDemo. The 
code on frmDemo must be simple, 
otherwise there's no point in making 
the engine. I will make that 
improvement to the loading some time 
though. What you need to understand is 
that I'm not doing any programming on 
the engine for a while now, I'm going 
back to the drawing board to decide if 
any parts need restructuring, I'm 
looking into rewriting cameras and 
lights alot, and definately changing 
the file format. That's why I said the 
alpha version may take 1 to 2 
months.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/25/2001 1:52:50 PM:Simon Price
To Bugaboo : does the demo not work? 
Please tell me if you had a problem. 
Just I saw your rating of 1 and wanted 
to fix that.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/25/2001 3:04:32 PM:Mike Canejo
Welcome Simon. And I understand the 
whole engine coding thing you got going 
on so it's ok. Plus this is why I made 
my own personalized version of it. ;]  
-Mike
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/26/2001 11:10:52 AM:Richard Hayden
Don't know if anyone cares, but there's 
an update avaliable to DirectX 8 (8.0a) 
at
http://www.microsoft.com/downloads
/release.asp?ReleaseID=27398
Not 
much has changed; just some 
improvements to Windows 2K 
international installer process, and 
corrects issues with DInput; disabled 
buttons problem. It's 25Mb.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/27/2001 5:13:45 AM:Mike Canejo
Thanks Richard, I downloaded it just 
now. 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/29/2001 7:29:05 PM:Tom Pickles
here's another comment just  for the 
heck of it ............ BOO :P ... im 
not even gonna bother trying it on this 
non-3d-accelerated super whizz-pop 
machine LOL .. ohh well maybe one day i 
can dream of that Doom-a-like 3D engine 
that works w/out 3D card properly 
*hint* ;) this is just a random rant so 
it may not make any sense whatsoever LOL
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/30/2001 3:17:31 PM:Simon Price
Hey Tom. I haven't forgotten about the 
non-3d-accelerated stuff! But come one, 
this is so much fun, I spend time on 
this instead of that doom game. I have 
actually picked up the old code several 
times and tried to redsign it. For 
example, I have actually tried to 
change it from a ray caster to a 
semi-3d game (with some success, if you 
like games that go at 1 fps). I am also 
learning about BSP's. Once I know how 
to do BSP's, then I'll be able to make 
a pure VB code shooting game that runs 
fast enough. But it will take alot of 
work, for results that aren't anywhere 
as good as DX. That doesn't mean that's 
it's not worth it though. Because once 
I've learnt it, I can then apply BSP's 
to DX, and make some super fast game. 
Making stuff in pure VB code first is 
the best way to make good games with DX 
in my opinion. If you can make it 
without DX, then with DX you should be 
able to make a very good game. That's 
the theory anyway. Thanks for reminding 
me.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/30/2001 4:37:08 PM:Simon Price
And Tom, I would be grateful if you 
could try this demo on your machine. I 
would be very interested in the 
results. I suppose it might be so slow 
that it's useless. But it's the sort of 
thing I need to know. I want to support 
99% of PC's, but most of the time 
things only work on like 80%.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/30/2001 8:23:19 PM:Mike Canejo
Hey Simon,  wish u said something 
sooner... The game wont run on my 
friends cpu.... 450mhzp3 intel and a 
TNT2 16MB no 3d accerlator and my 
uncles...200MHz p1 intel  4MB memory  
no 3d accel.. LOL  But I thought there 
was a software rendering feature on the 
demo here... is that not working also? 
or is it not switching to neither so it 
just freezes. thanks  -Mike
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/31/2001 5:21:45 PM:Simon Price
:( I thought I had everything working. 
It's time to stop fixing bugs now. I'm 
rewriting the whole thing for the alpha 
version and hopefully it will get many 
times better that way. And I'm not 
going to make a deadline, I'll take as 
long as I need to. It will take a long 
time, but I will eventually produce a 
bug free engine. 
The way people 
vote is pretty stange too. I made a 
crappy single cube and got code of the 
month for it, now I make 2 large scenes 
with collision detection, and it's 
worth 19th place.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/1/2001 11:26:24 AM:Richard Hayden
Simon, just to say, I've looked at all 
of the code higher than yours on the 
leader board, and I think yours is the 
best and definetely deserves to be at 
that no. 1 spot! If you don't win this 
month's code of the month, is it 
possible for you to win next month's? 
Maybe next time you should submit @ the 
beginning of the month! Good luck with 
the alpha version.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/1/2001 1:55:21 PM:Simon Price
Thanks Richard. I guess I just got paid 
back for that time I got code of the 
month for making a single cube 
:)
There's always next month :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/10/2001 6:45:26 PM:Simon Price
There are massive bugs in this demo! It 
will only work in R5G6B5 color format, 
which is not what I expected. I took a 
long time for me to work that out. At 
least it will be fixed for the alpha 
demo. The official engineX website is 
ready, although I'm having some trouble 
with url redirection. Go to 
www.engineX.co.uk !
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/11/2001 1:27:30 PM:Simon Price
Cool! This demo just won code of the 
month, that was unexpected. Thanks for 
all the votes! I WILL update this demo 
but do not expect it to happen for at 
least a month. I now have it working in 
all color formats, with fog and alpha 
blending, to name just a few of the new 
features! OK some more, animation is 
done with spline interpolation (curvy 
stuff) and I *hope* to get mesh 
morphing, LOD, heightmaps + quadtrees 
working too.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/22/2001 6:37:50 AM:Ben
Simon,
Just thought I'd let you know 
that
your engine works on the 
following systems:
866MHz PIII 
128 
MBRAM
TNT2 32MB
Windows ME
400MHz 
PII
128MBRAM
VooDoo2 8MB
Windows 98 
SE
266MHz
64MBRAM
(very 
slowly)
Windows 95
Fantastic work, 
few bugs but hey... we can't be 
perfect! 
PS: Pi is  
3.1415926535897932384626433832795
You 
might be able to use that 
Ben
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/23/2001 8:42:11 PM:Warmaster199
Well, It works on all of those systems 
but my Aptiva. Iv'e got an IBM Aptiva, 
Win98, 350MHz, 96MB RAM, ATI RAGE PRO 
TURBO AGP with 8MB VRAM. The demo 
window comes up, I click a setting, 
then start demo. Then I get a message 
saying it should be fast(hardware 
acc.). I'm thinking great! Then I stare 
at a blank, black window with nothing 
on it! Sorry, It doesn't work for me. I 
didn't want to criticize it, so I 
didn't vote. Any ideas?
BTW: I've 
got my own 3D engine on this site. Look 
for I3D. It's like this, only with 
.3DS, .MDL, and some other features. 
It's being ported to C++ for a speed 
increase. If anyone's a C++ programmer 
as well, email 
me:
warmaster199@hotmail.com
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/15/2001 1:30:38 PM:DoomRater
I don't see anything besides a black 
screen!  Help!  I might be a good 
programmer, but I'm not THAT good!  I 
need to know if this thing has load 
time, and if so, how long I should wait 
for it.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/28/2001 4:18:10 PM:Ryan Waliany
Note: Pi is 22/7 That is more 
accurate.
Good job
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/29/2001 9:08:49 AM:Simon Price
Thanks for the tip Ryan.
BTW... I'm 
getting closer to the DLL version of 
this engine... there's about 100 pages 
of documentation to read too.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/29/2001 9:08:57 AM:Simon Price
Thanks for the tip Ryan.
BTW... I'm 
getting closer to the DLL version of 
this engine :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/2/2001 9:49:32 AM:Ivan
Hi, my name is Ivan. I saw your code in 
planet-source-code.com but it's to big 
and i can't download it. However, my 
problem is: How can I control video 
hardware acceleration like MediaPlayer 
does (see View\Options menu of 
MediaPlayer)?
Please, please answer 
this even if you don't know.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/11/2001 3:38:45 PM:Andrew V
Hey, awesome code man.  I love it.  5 
globes for you.
Where can I find 
some cool .X files though?  -Andrew
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/10/2002 9:11:24 AM:M. Highlander
Hi, only 1 question:
when i update 
code on psc, it doesn't get listed in 
the "latest code" nor does it get sent 
to "mailing list"
how can i change 
this
THANX!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/10/2002 3:21:04 PM:Silent Wolf
Hey, i cant find where to download 
this! plz let me know
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/11/2002 12:23:57 AM:m00 i am a cow
you can get it here. 
http://www.vbgames.co.uk/downloads/exdem
ob1.zip but the link is down :'(
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/11/2002 11:47:43 AM:Joseph Hicks
Actually, 22/7 is 'almost' accurate.  
4*atn(1) is right on the money. :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/10/2002 3:53:48 PM:xmetrix
3.1415926535897932384626433832795  - 
pi! 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/14/2002 12:17:06 AM:Michael Heath
Simon, I had this code once before but 
I've since lost it.  I've been tryin to 
download it again but the link you gave 
says the file doesn't exist.  Will you 
please send an updated link to the 
source code for this? Thank you.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/29/2002 8:32:33 PM:Marty
the link to the program is broken. can 
u please post an updated url?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/30/2002 3:03:21 PM:Michael Heath
Simon,
Are you still with us bro?  I'd 
really like to get this code again.. 
it's been one of the best I've seen 
yet.. and now I've finally decided to 
dabble in DirectX and would love to see 
this again.
Thank you.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/31/2002 10:39:19 PM:Zio
Hell yeah man, good work. Would like to 
download it but the screenshots look 
like hardwork was put in.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/5/2002 12:19:58 PM:fl@sh
about the broken URL:
you can find it 
on mike's site 
@
http://server45.hypermart.net/mike3d/
VB/exdemob1.zip
(i don't know how old 
the version is)
btw very nice work, 
simon: 5globes
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/7/2002 4:22:11 PM:
Hey man, you still working on the 
project? You put alot of time and hard 
work into this, but i havnt seen an 
update for a while. I am kinda waiting 
on the engine to be done, because i am 
going to make a game for my senior exit 
project... just let us know if your 
still updated. thanks
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/12/2002 2:04:43 AM:
I can't download it, not even from the 
link on your website. What can i do?? 
HELP!!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/12/2003 10:01:20 AM:
Link is not active
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.