Program for editing 2d set of points :D

Program for editing 2d set of points :D

Postby paul424 » 02 Jul 2012, 17:13

Hi! how would you draw some points on screen and then get their coordinates in desired Co-sys ? The output should be just pair of X Y newline , for each drawn point.
I wanna do some test for some new classes :D and don't wanna rewrite possible exisitng program :D
User avatar
paul424
OD Moderator
 
Posts: 644
Joined: 24 Jan 2012, 13:54

Re: Program for editing 2d set of points :D

Postby dusted » 17 Aug 2012, 13:03

Take a look at my "osgg" game, the buildin level editor does exactly this, and leaves you with a list of coordinates that it will happily write to a file for you. You might want to change a few lines of code to make it print out coordinates to screen while editing and to make it output in the desired format (it's raw text and there is a tiny bit of metadata that you could strip out).

https://github.com/DusteDdk/Osgg

Funny side note, I actually used the level editor to create the ship, base and enemy graphics in the game, so it was a bit chicken and egg, osgg was the main tool used to create osgg :P
User avatar
dusted
 
Posts: 83
Joined: 27 Feb 2010, 04:35

Re: Program for editing 2d set of points :D

Postby paul424 » 17 Aug 2012, 17:03

Yeah thanks very much , but your answer comes with much aftertime :P,
I wanted to test the culling mechanism with quadtrees, already wrote a simple generator and python script to display point sets :P.
User avatar
paul424
OD Moderator
 
Posts: 644
Joined: 24 Jan 2012, 13:54

Who is online

Users browsing this forum: No registered users and 1 guest