gfxgfxFreeBASIC Games Directory Forumgfxgfx
gfx gfx
gfx
Welcome, Guest. Please login or register. May 23, 2013, 06:29:12 PM

Login with username, password and session length
11.5.2013 - Added a webpage for the latest FBGD competition.

13.3.2013 - Members registrations temporary disabled. For all membership requests, please email me: lachie13@yahoo.com

30.11.2012 - The ninth issue of BASIC Gaming is out! Read it here: http://games.freebasic.net/forum/index.php?topic=560.0

22.11.2012 - Be sure to check our currently running annual FBGD game making competition. This year's theme is SEASONS OF THE YEAR, 300 $ first place prize, and the competition runs till 18th of February. Link: http://games.freebasic.net/forum/index.php?topic=559.0
gfx
gfx
*
gfxgfx
gfxgfx gfxgfx
gfxgfx Home Help Search Login Register   gfxgfx
gfx gfx
gfx
Pages: [1]
Print
Author Topic: PolyDraw ver.1.01 (a polyline designer)  (Read 989 times)
Lachie Dazdarian
Double dipper
Administrator
Forum Sage
*****
Gender: Male
Posts: 1195


lachie13
View Profile WWW Email
« on: August 23, 2010, 05:18:37 AM »

I recently released PolyDraw, a polyline drawing utility.

It was primarily created to be used with vdecampo's Polylib, for the purpose of designing retro style vector games: http://www.freebasic.net/forum/viewtopic.php?t=15968

But since polylines are saved in plain text format, PolyDraw can be used in combination with any code that deals with polylines.

Download: http://lachie.phatcode.net/PolyDraw_ver101.zip



It supports many options, like mirror polyline, vertex on snap, zooming and rotation while editing, undo/redo, load BMP sprite (to draw collision lines around it, for example), and more.

If you can find use for it, my pleasure.
« Last Edit: August 29, 2010, 11:38:00 PM by Lachie Dazdarian » Logged

"Things like Basic and Free Basic provide much-needed therapy and a return to sanity and a correct appreciation of people. The arrogant folk really hate a word like 'Basic' - fine, and good riddance." ~ pragmatist
BadMrBox
Forum Sage
*****
Gender: Male
Posts: 371



View Profile WWW
« Reply #1 on: August 23, 2010, 06:43:07 AM »

Looks nice. Good joob Lachie Smiley.
Logged

vdecampo
Forum Howler
****
Gender: Male
Posts: 128


Apocalypse is Forever!


View Profile WWW
« Reply #2 on: August 23, 2010, 08:54:36 AM »

Looks Awesome! I love the icons.

Great Job! Now I can start editing my polys for my next game!

-Vince
Logged

Cheers!
-Vince
Brick Break
Forum Sage
*****
Gender: Male
Posts: 412



View Profile
« Reply #3 on: August 23, 2010, 09:42:01 AM »

Amazing! I have to admit, though, I was a little disappointed when I saw that they weren't filled polygons, but great interface!
« Last Edit: August 26, 2010, 04:49:37 PM by Brick Break » Logged

Lachie Dazdarian
Double dipper
Administrator
Forum Sage
*****
Gender: Male
Posts: 1195


lachie13
View Profile WWW Email
« Reply #4 on: August 26, 2010, 03:05:01 PM »

An update on my site after over 2 years, thanks to finishing this designer: http://lachie.phatcode.net/index.php Smiley

Logged

"Things like Basic and Free Basic provide much-needed therapy and a return to sanity and a correct appreciation of people. The arrogant folk really hate a word like 'Basic' - fine, and good riddance." ~ pragmatist
Brick Break
Forum Sage
*****
Gender: Male
Posts: 412



View Profile
« Reply #5 on: August 26, 2010, 04:54:07 PM »

Um, Lachie, you might want to fix your zip archive. Keeping everything in the root is considered bad practice. Maybe a PolyDraw folder? I'm going to test this right now anyways.

EDIT: It opens and then closes. Such a shame. I'll see if I can make it work under Wine. Sorry for all the negative criticism. Tongue

EDIT 2: For some reason, when I recompiled it myself it worked. I wonder why that is. I also decided to make it respond to Alt-F4 and close events, and put it all in a PolyDraw folder, just because I think it's more friendly that way. I put it on a temporary file host so you can see what I've done.

http://uppit.com/u6ho3gr66f3c/polydraw.zip

EDIT 3: Oh, great. I get some weird caching error when I go fullscreen and all the menus disappear, because then when I close and start the program up again, the menus still aren't there! You probably want to use GFX_NOSWITCH. I'll compile again with that flag and see if that solves the problem.

EDIT 4: That's strange, when I run it out of the editor I don't get that error. Fixing it nonetheless.

EDIT 5: Fixed it. There is no way for that error to happen again. Sorry, I didn't update the link. It should be easy enough for you to add that flag, though. You know, I really like the interface, but it sucks how there's no file browser. I've never worked with files in FreeBASIC, so I don't know how that would work, but it would be a cool feature. Maybe I'll make that as a library if I get time.
« Last Edit: August 26, 2010, 05:41:28 PM by Brick Break » Logged

Lachie Dazdarian
Double dipper
Administrator
Forum Sage
*****
Gender: Male
Posts: 1195


lachie13
View Profile WWW Email
« Reply #6 on: August 29, 2010, 11:13:19 AM »

Thanks for your feedback guys.

Updated to version 1.00. Added scale and shift center options.

Brick, since you have the source, you can easily change it to start full screen. As I don't have Linux, I'm too arse to compile my programs for it and double test for possible glitches. I might be willing to do that only for major projects, but for something like this, primarily a help tool meant for FB developers....no....they should be able to help themselves, if you know what I mean.

And yeah, a file browser would be cool and I can do it (check my screen by screen scrolling engine), but simply, it's out of my scope of interest with this project.
Logged

"Things like Basic and Free Basic provide much-needed therapy and a return to sanity and a correct appreciation of people. The arrogant folk really hate a word like 'Basic' - fine, and good riddance." ~ pragmatist
Brick Break
Forum Sage
*****
Gender: Male
Posts: 412



View Profile
« Reply #7 on: August 29, 2010, 02:19:19 PM »

Thanks for your feedback guys.

Updated to version 1.00. Added scale and shift center options.

Brick, since you have the source, you can easily change it to start full screen. As I don't have Linux, I'm too arse to compile my programs for it and double test for possible glitches. I might be willing to do that only for major projects, but for something like this, primarily a help tool meant for FB developers....no....they should be able to help themselves, if you know what I mean.

And yeah, a file browser would be cool and I can do it (check my screen by screen scrolling engine), but simply, it's out of my scope of interest with this project.
Well, it's certainly worth an update to your site apparently. I honestly imagine this turning into a full-fledged game engine. Why not? You can do the stuff, why not combine projects? I'm always trying to find/make the Holy Grail of game engines, but I somehow fall short when it comes to hard coding. Take this javascript library, for example. Zero downloads. ZERO! But I know in my heart that I did a good job and that somebody, some day, will discover it and make a retro game with it. It's not even that much code, but I was inspired for a few hours so I made it.

This project you have hear- you say you can make a file browser? You should. I find that very challenging. Also, I think the reason your menus are causing problems is that you aren't redrawing them every frame. Plus, screenlock/unlock causes problems. This could become HUGE, if you let it.
Logged

Brick Break
Forum Sage
*****
Gender: Male
Posts: 412



View Profile
« Reply #8 on: August 29, 2010, 03:37:05 PM »

Cool, it looks like you downloaded my javascript library to see what it's about. Do you think some FreeBASIC stuff would be possible in it? You know, ports and stuff? Everybody knows the Holy Grail of game engines is cross-platform.
Logged

Pages: [1]
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Cerberus design by Bloc
Valid XHTML 1.0! Valid CSS!
gfx
gfxgfx gfxgfx