I just finished a quick Scramble remake:
http://www.glbasic.com/showroom.php?lang=en&game=Scramble
Wow, this is cool, very retro... again, a nice example of the power of GLBasic!
Ian
Just a small tech question, I noticed that the end of the vector lines are square, is there a way rounding them off?
Ian
yes :D
In this quick crap sample, I just drew every line-piece as one line with rectangular angles. It looks quite nice, since the Vectrex had brighter corners as well. However, if you really want to make it nice, you would have to draw the polylines as such by tilting the start/end angles by the average of (this-line-angle - next-line-angle)/2. Know what I mean?
Hmmm, not sure, I think so... wouldnt it be simpler to blit a little sphere at the begining and end of your polyline?
Ian
You can 'see' the box, because I alphablend the lines. Thus, the overlapping pieces show up brighter. Same problem with sphere image at the end. If you draw them solid, there's the problem, that the sphere would draw over the already drawn line part that should stay.
So, it's really a problem if you try to draw "round" corners for wide lines. Then you would have to draw rectangular corners for convex sides and the method above for concave sides. The convewx sides would have to be drawn "round" with a polysprite additionally. For the scramble remake that would be overkill. If, however you plan to draw really wide line stips it would make sense.
Not much code, but bit of a brain twister.
Ah, I see, ah well never mind. I thought of a solution using semi-circles, lines with a normal vector used to rotated the semi circles at each end of the line... but your right, overkill...
looks cool, I was checking out if it would work on pocket pc, I removed a few things but it doesn't work. loads, I see text, but no other graphics
does polyvector work on pocket pc?
Oh. polyvector might not work. Try DRAWLINE to see if it does. If it would, it is terribly slow!
Uploaded a new version with keyboard, joystick movement and internet highscore.
Quote from: GernotFrischOh. polyvector might not work. Try DRAWLINE to see if it does. If it would, it is terribly slow!
Is there a table to what commands are comapatable with what platform?
Usually all commands do work. I'll check for and add a list if it's not the case
What is the 3D driver for the PPC (OpenGL ES, Mesa3d for example)?
My own OpenGL implementation. A very simple rasterizer - but light weight. Was a lot of work. Is very fast, but it lacks some features (which I left for speed reasons). Compare GLBasic with any other 3D package - speed = GLBasic
Ah your own Gernot, very impressive. :)
Its true, GLBasic PWNS