|
-
May 13th, 2002, 12:17 AM
#1
Thread Starter
PowerPoster
Nocturne2D
Here we go, this is the current engine. Feel free to download, but if you use any part in your project please put me in the credits 
Btw: I'd be thankfull if anyone gave me some graphics/sounds! I need a player animation set (attack/walk/fight animations) and tiles as you can see in the current engine...
-
May 13th, 2002, 03:19 AM
#2
Frenzied Member
what about the tileset they offered at vbexplorer.com? since you are just using it for demonstration that should work...
(talking about the tiles not the character set)
I'll send it to you if you don't have it/know it..
also this was posted a few days ago in some other thread
http://www.vbforums.com/attachment.php?s=&postid=981539
it's mady by progeix
you might wanna ask him...
Sanity is a full time job
Puh das war harter Stoff!
-
May 13th, 2002, 07:02 AM
#3
Frenzied Member
the DDraw mode runs incredibly slow on my machine!
I changed the blitting to asynchron blit and it still was really slow!
I think something's wrong since my machine is moderatly fast.
Sanity is a full time job
Puh das war harter Stoff!
-
May 13th, 2002, 07:22 AM
#4
Thread Starter
PowerPoster
Nope. Try increasing the tile size, this is the major problem when using DDraw (and why I prefer BitBlt for such small games)
Try increasing the tile size; will give you much performance. Or switch to Fullscreen and use much bigger tiles will help, too.
-
May 13th, 2002, 07:47 AM
#5
Frenzied Member
hm well I do not want to use a predone engine anyways I was just ran your sample. So what's the problem with DD in windowed mode?? Is there any reason to use it when using windowed mode?
Sanity is a full time job
Puh das war harter Stoff!
-
May 13th, 2002, 08:00 AM
#6
Thread Starter
PowerPoster
Well I could switch to fullscreen but I prefer this pocket engine in a window. Like GameBoy you know ^^" Of course it's just my personal love to these pocket games... And as you said It's still just an example but I'm sure people can learn from it better when it's not just fullscreen (and it's easier to debug )
-
May 13th, 2002, 11:03 AM
#7
Frenzied Member
you are right
the only thing I keep on wondering about is why DD is slower than bitblt...
Sanity is a full time job
Puh das war harter Stoff!
-
May 13th, 2002, 11:41 AM
#8
Thread Starter
PowerPoster
Well 2 things: The project isn't originally made for DDraw so there's a lack of performance because I just converted it from BitBlt to DDraw (eg. the rects that are created in each frame for each tile). Second is (what I suppose) that DDraw just isn't made to draw this kind of graphics (small but many) ... don't know for sure though..
-
May 14th, 2002, 02:58 PM
#9
Member
hey fox this is looking great!
i have to say that on my pc, the game runs a tad slow. I got a high end pc and all, its just it starts up slow and theres a lag between my first movement and stuff. Is this just my machine ?
-
May 14th, 2002, 03:36 PM
#10
Frenzied Member
try the bitblt one it runs flawless on my machine... I had the same trouble with the Dx one.
Sanity is a full time job
Puh das war harter Stoff!
-
May 15th, 2002, 01:45 PM
#11
Member
the Dx engine runs fine, but the character moves really slow!
also i get a small black area around the bottom and too the right, where the tiles blur (im not sure what the technical term is for when it does that)
the dx one appears to run a bit better, however
-
May 16th, 2002, 03:54 PM
#12
Frenzied Member
Hello Fox,
I downloaded your little engine. It runs fine on my computer. Everything ran fine and nice and smooth. I noticed your little demo similar to this you did ages ago with bit blt. That was pretty cool and so is this.
Nice Code, Good Work, Good Job !
P.s - The sound is a bit odd, i wasnt sure if it was when your walking or when something hits something so iremoved the enemies and found it does it when you move, tho it was outta sync a bit.
Still Kewl Tho !
Last edited by PsyVision; May 16th, 2002 at 04:05 PM.
-
May 17th, 2002, 05:05 PM
#13
Thread Starter
PowerPoster
Yes I didn't take the time to do the clipping in DDraw .. won't continue on this one though.
Well about the sound (and graphics): I'm a programmier, not a designer Jim!
-
May 17th, 2002, 09:18 PM
#14
-
May 18th, 2002, 07:32 AM
#15
Frenzied Member
FireSlash use gettickcout to limit your FPS, but don't you think opening a new thread would be better for own questions...?
Sanity is a full time job
Puh das war harter Stoff!
-
May 31st, 2002, 12:40 AM
#16
Addicted Member
Fox: Don't use Video memory for your backbuffer, unless you use video memory for your tilesets too. Copying from video memory to system memory, and vice versa, is VERY slow. Mixing and matching doesn't work well at all.
Try changing all your surfaces to video ram, and your engine will scream. (I'll download it and try it. )
Edit: I altered all your surface creation routines to use this flag:
It ran very, very fast afterward. Oh, one tip - never, ever, EVER create a DDSCAPS_PRIMARYSURFACE surface without specifying DDSCAPS_VIDEOMEMORY - it creates it in software mode, which makes it much, much, much slower. Only create the primary surface in software mode if creating it in hardware mode fails.
Looking good though, keep up the great work! 
Edit #2: Oh, Misanthrop - the tileset and sprites they offered on vbexplorer.com are horrible. The grid is misaligned, the mask color is almost completely random, and some of the tiles are the wrong size. It's a pain in the ass to use that tileset.
Edit #3: Hehe, I need to think longer before posting. Fox, you really should use GPL or LGPL or something on your code, so that you'll at least get credit for your work.
Last edited by Janus; May 31st, 2002 at 12:52 AM.
"1 4m 4 1337 #4xz0r!'
Janus
-
Jun 3rd, 2002, 09:14 AM
#17
Frenzied Member
-
Jun 3rd, 2002, 03:13 PM
#18
Good Ol' Platypus
You never miss your monthly brag do you Jotaf 
Nice to have you back!
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Jun 3rd, 2002, 04:53 PM
#19
-
Jun 3rd, 2002, 09:28 PM
#20
Good Ol' Platypus
Yeah, its kinda boring.
OK Fox, we'll stop vandalising your thread
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Jun 4th, 2002, 06:01 PM
#21
-
Jun 7th, 2002, 08:46 AM
#22
Thread Starter
PowerPoster
My poor thread *cries*
Janus: Thanks, hard to judge if a program runs slow if it just flows here -.-" And btw: Since we're using DX8, didn't you mean the D3DPOOL_MANAGED flag?
Last edited by Fox; Jun 7th, 2002 at 08:56 AM.
-
Jun 7th, 2002, 10:38 AM
#23
Addicted Member
Uh, the Nocturne2D I downloaded was DirectDraw. :P
"1 4m 4 1337 #4xz0r!'
Janus
-
Jun 7th, 2002, 11:46 AM
#24
If its DX8, use D3DPOOL_DEFAULT.
Z.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|