123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|230|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> Fancy-pants graphics in Blitz

Mon, 08 Jun 2009, 09:37
Phoenix
While sitting down this morning, sipping on a lovely cup of tea, I was suddenly struck by that strange notion of making a tiny little game in Blitz. Then I remembered how I was always so angry that it was so limited, graphically. Then I remembered how I tried to make an extension library to correct all of that last year and then failed. Then I tried to overlook that fact and got to work.

After a couple of hours of hacking, there is some light at the end of the tunnel: download example (510k).

Here's the code used:


As you can see, it's not exactly like vanilla Blitz, but it's close enough. There are many rough edges though, and it's far from complete. This can be changed, given that:

  1. Does the example even work?
  2. Provided that it does, is the speed acceptable?
  3. Is anyone interested in this, apart from me?

I might try to enter the next WW using this, in any case.
Mon, 08 Jun 2009, 09:43
Jayenkai
Celeron says no, but... With an obvious reason


I'd be interested if it's actually quicker than Blitz3D+2D things, but..
Well, if you remember my SoC tests, I kinda gave up when I realised that I wouldn't be getting multitudes of tilemaps onscreen all at once..

In many ways, B2D isn't fantastic, but you can at least draw tiles quick.. so.. you know.. there's that

-=-=-
''Load, Next List!''
Mon, 08 Jun 2009, 10:13
JL235
I get the same error.
Mon, 08 Jun 2009, 10:35
Scherererer
Same error
Mon, 08 Jun 2009, 10:45
Jayenkai
Works on both systems, once you add the specific DLL!

There's probably a way to be less specific with your DLL request.
..
Or, you know, MS could STOP GOD DAMN BREAKING EVERYTHING!!

-=-=-
''Load, Next List!''
Mon, 08 Jun 2009, 10:54
Phoenix
I used the DirectX utility library, so that's why it requires an extra DLL. Add the file in Jay's post and it should hopefully work. I can probably remove all of the utility stuff (since it's mostly a convenience), so that the extra file isn't needed.

Since you got it working Jay, did it run decently? I'll work a bit more on it and then add a frame rate somewhere, then people can say how it performs.

|edit| By the way, a 20x15 tile map runs perfectly over here, even with rotations and alpha blending. |edit|
Mon, 08 Jun 2009, 14:58
Jayenkai
Um, I think it ran decently
Seemed about the same speed on both the crappy-celeron, and the decent Quadcore.

-=-=-
''Load, Next List!''
Mon, 08 Jun 2009, 19:27
CodersRule
I didn't get that error that everyone else got, but I got "user lib not found" error generated by blitz.
Mon, 08 Jun 2009, 19:34
JL235
Works for me now.
Mon, 08 Jun 2009, 19:38
Scherererer
Runs well on my rig, those are some crazy godzillas there

-=-=-
YouTube Twitter
Computer Science Series: Logic (pt1) (part 2) (part 3) 2's Complement Mathematics: Basic Differential Calculus
Mon, 08 Jun 2009, 21:18
Evil Roy Ferguso
Runs smoothly on a 1.8GHz Celeron with 2GB RAM and integrated Intel graphics.

I'd test it on my 2.0GHz Core 2 Duo + 2GB RAM and NVidia something notebook too, but I'm not honestly sure if that's necessary, all things considered.