GLBasic forum

Main forum => Announcements => Topic started by: Kitty Hello on 2006-May-23

Title: Scramble Remake
Post by: Kitty Hello on 2006-May-23
I just finished a quick Scramble remake:
http://www.glbasic.com/showroom.php?lang=en&game=Scramble
Title: Scramble Remake
Post by: bigsofty on 2006-May-24
Wow, this is cool, very retro... again, a nice example of the power of GLBasic!

Ian
Title: Scramble Remake
Post by: bigsofty on 2006-May-24
Just a small tech question, I noticed that the end of the vector lines are square, is there a way rounding them off?

Ian
Title: Scramble Remake
Post by: Kitty Hello on 2006-May-24
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?
Title: Scramble Remake
Post by: bigsofty on 2006-May-24
Hmmm, not sure, I think so... wouldnt it be simpler to blit a little sphere at the begining and end of your polyline?

Ian
Title: Scramble Remake
Post by: Kitty Hello on 2006-May-24
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.
Title: Scramble Remake
Post by: bigsofty on 2006-May-25
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...
Title: Scramble Remake
Post by: mikiex on 2006-May-25
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?
Title: Scramble Remake
Post by: Kitty Hello on 2006-May-26
Oh. polyvector might not work. Try DRAWLINE to see if it does. If it would, it is terribly slow!
Title: Scramble Remake
Post by: Kitty Hello on 2006-Jun-02
Uploaded a new version with keyboard, joystick movement and internet highscore.
Title: Scramble Remake
Post by: bigsofty on 2006-Jun-03
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?
Title: Scramble Remake
Post by: Kitty Hello on 2006-Jun-03
Usually all commands do work. I'll check for and add a list if it's not the case
Title: Scramble Remake
Post by: bigsofty on 2006-Jun-06
What is the 3D driver for the PPC (OpenGL ES, Mesa3d for example)?
Title: Scramble Remake
Post by: Kitty Hello on 2006-Jun-06
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
Title: Scramble Remake
Post by: bigsofty on 2006-Jun-07
Ah your own Gernot, very impressive. :)
Title: Scramble Remake
Post by: Hemlos on 2006-Oct-10
Its true, GLBasic PWNS