GPWiki.org
GPWiki.org
It is currently Sat May 25, 2013 3:55 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Dabooda engine help
PostPosted: Mon Dec 01, 2008 3:45 am 
Grand Optimizer
User avatar

Joined: Mon Jan 17, 2005 6:01 pm
Posts: 352
Location: Canada
Is anyone out there familiar with this engine?

I've managed to get it up and running, doing what i want it to do thus far. Great engine as far as I can tell! However, i'm having wierd clipping issues when i try and run the program at higher than 640x480. I thought maybe i was doing something wrong, so i changed the resolution in Dabooda's own example and the same thing happened.

Any help?

Thanks!

_________________
"None are more hopelessly enslaved than those who falsely believe they are free."
"It is no measure of health to be well adjusted to a profoundly sick society."
"Hope is the first step on the road to dissapointment." -Jonah Orion
http://tankzgame.blogspot.com


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 01, 2008 6:53 pm 
Babirusa
User avatar

Joined: Thu Aug 19, 2004 2:55 pm
Posts: 9241
Location: The Netherlands
What do you mean? could you be a bit more specific? :)

_________________
Serious game developer

http://www.persistentrealities.com
http://www.persistentrealities.com/vbfibre
http://www.ambiances.nl


Top
 Profile  
 
 Post subject: hmm
PostPosted: Tue Dec 02, 2008 2:03 am 
Grand Optimizer
User avatar

Joined: Mon Jan 17, 2005 6:01 pm
Posts: 352
Location: Canada
It seems to have something to do with how/where the engine is drawing the sub maps. I'm doing looping background maps. It's hard to describe without a picture, but as I move them, they're only looping properly for the first few hundred pixels out from 0,0 (top left). Say, 5-600 pixels to the right, and maybe 3-400 pixels down. Anything beyond that mysterious border is an unpredictable mess of things getting drawn in the wrong spot, or not drawn at all. The whole area SHOULD be filled with my submaps, as per the submap count, but its not. submaps for the first bit out from the corner, then white space.

Im hoping i just don't quite understand the sub-mapping system, but he has parameters you can set for submab (XCount) and (YCount).. in his helpfiles, he describes these as the # of submaps across the map. He also advises to make the total map larger than the viewport of the screen, that way you never see the 'icky mess' going on beyond.

However, when I try this, i get very, VERY unpredictable results. I get alot of whitespace where there should be none.

Do you have the latest copy of his engine tutorials? If you do, load up Tutorial2. It runs fine, in fullscreen at 320x240. Now... set the resolutions higher (say, 800x600 or anything bigger.. in any proportion) and watch what happens. I'm havin the same trouble. I'm trying to be logical about my submap counts.. and it's not working.

Here's my logic:
My submaps are 256x256.
I'm temporarily setting my screen width, form width, viewport, etc.. all to 1024x768 for the sake of simplicity.
This means, 4 across, 3 down. Right?
If i set the submaps to 4x, 3y, or anything larger, i get maps all over the screen, moving in wierd ways around white space. i tried setting it higher, even more unpredictable.

Not sure if im making this clear at all... best way to describe it would be to run his Tutorial2 program.

Put it this way: I challenge someone to run his Tutorial2 example in a usefully high resolution (i.e. above 640x480). That seems to be my struggle. There would be no problem at all if i was going to run my game in 320x240, but i'd like to have a somewhat higher(1280x800) native rez.

Thanks in advance for taking the time to help me out!

_________________
"None are more hopelessly enslaved than those who falsely believe they are free."
"It is no measure of health to be well adjusted to a profoundly sick society."
"Hope is the first step on the road to dissapointment." -Jonah Orion
http://tankzgame.blogspot.com


Top
 Profile  
 
 Post subject: FIXED IT!!!
PostPosted: Fri Dec 05, 2008 2:43 am 
Grand Optimizer
User avatar

Joined: Mon Jan 17, 2005 6:01 pm
Posts: 352
Location: Canada
Found the .Add_Odd command.
Problem solved.
Last Engine-related hurdle out of the way. On to making the game! WOOT

_________________
"None are more hopelessly enslaved than those who falsely believe they are free."
"It is no measure of health to be well adjusted to a profoundly sick society."
"Hope is the first step on the road to dissapointment." -Jonah Orion
http://tankzgame.blogspot.com


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 06, 2008 8:20 am 
Novice

Joined: Fri Jul 13, 2007 9:35 am
Posts: 6
Location: Altus, Ok
I'll see if I can make a high-rez verion of tutorial2. Would you prefer the source code in vb, fb-dbfe, or dbfeoutput(pure fb)? Additionally if you need webspace for storing your projects or setting up a site holla, we've got the webspace for peoples dabooda projects(both vb and fb flavors). This also applies to any gemini and dbos projects also..

_________________
There are 10 kinds of people in the world, those who can read binary and those who can't....


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group