Author Topic: RoidForge  (Read 17695 times)

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
RoidForge
« on: May 28, 2011, 11:25:35 AM »


This is a level designer.  Download and play it like a normal map.

The controls are as follows:

1.  Left click one of the tools in the top left.
2.  Left-click to add and remove asteroids, or click-and-drag an existing asteroid when modifying its position, size and send distance.
3.  If you want to select an asteroid without changing its properties, right-click it.

It's a highly polished version of my creation from about 12 hours ago, Asteroid Designer.
RoidForge is much prettier, has more features, and outputs playable levels.

Thanks to Aino for use of GetMouseX() and GetMouseY(), DrawText() and for discovering how to use the IO library to write to external files.  :>


I'm interested in your opinion !  Please feedback me.  This will inform the direction of future updates.
« Last Edit: May 31, 2011, 07:37:31 AM by annikk.exe »

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: RoidForge
« Reply #1 on: May 28, 2011, 07:06:09 PM »
Niiiiiiiice!

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: RoidForge
« Reply #2 on: May 28, 2011, 07:15:59 PM »
One thing, why don't you make the asteroids automatically attach to a grid opoint when it is close? Some people likes it systematic you know :)

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: RoidForge
« Reply #3 on: May 28, 2011, 09:13:35 PM »
Interesting idea.  I might implement it in a future version.  :>

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: RoidForge
« Reply #4 on: May 29, 2011, 12:52:24 AM »
Also to change stats you can amke another box, when you clicked there will appear three boxes(like in Pilchards Rally 2.3) with a glider, then you can simply change them with the glider :)

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: RoidForge
« Reply #5 on: May 29, 2011, 01:10:28 AM »
Glider?

EDIT: I've added a fine-tuning thing to my slide (glide?) bar if that would be useful. Not uploaded though as it's too small to be released alone.
« Last Edit: May 29, 2011, 01:17:46 AM by Pilchard123 »

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: RoidForge
« Reply #6 on: May 29, 2011, 01:54:23 AM »
Maybe slide bar, not glide bar xD

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: RoidForge
« Reply #7 on: May 29, 2011, 01:59:10 AM »
Add request:

Ability to change background colour. Shouldn't be too hard, I'd edit it in myself, but don't want to tread on any toes...

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: RoidForge
« Reply #8 on: May 29, 2011, 02:01:09 AM »
Ah yes that's a good one.  I will add it.

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: RoidForge
« Reply #9 on: May 29, 2011, 02:31:51 AM »
Could you remove trees by using GetAsteroid(X).GetRandon[Dyson/Defense]Tree().Active = False? You could also use that to remove asteroids, possibly.

If you were then to lower the IDs of all 'roids with IDs higher than the removed one, you would have covered your tracks nicely, too.

Also, this got me back coding EUCLiD. Yay!

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: RoidForge
« Reply #10 on: May 29, 2011, 03:29:44 AM »
I tried that before, but it doesn't seem to work.  :/
I have an idea for how to do it...  I will make a "garbage" group of ID's... from 10000 upwards is the garbage IDs, or something.  I just put "deleted" asteroids there... then I can just remove them conveniently and create a new asteroid with 3 trees instead of 4, for example.  It's all a bit complicated..

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: RoidForge
« Reply #11 on: May 29, 2011, 03:33:58 AM »
Object.Die? Would that work?

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: RoidForge
« Reply #12 on: May 29, 2011, 05:28:00 AM »
Negative.  Object:Die() doesn't seem to work on trees either.

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: RoidForge
« Reply #13 on: May 29, 2011, 11:21:44 AM »
Updated to version 1.01 - go download it from the original post! :>

Changes:

Asteroid ID labels (the "Name" of the asteroid) will now be correctly preserved when removing asteroids
The version number of RoidForge is now printed in the comments of the output level.
The flashing logo and version information that appears in the top left in the moments after launch now disappears on a "downswing" of the flashing, which looks less abrupt.
The flashing marker at the origin is 33% larger.  :>



I've decided to keep this as a basic asteroid field designer for now.  In the future I will add backdrop colour changes, global settings, seeds and trees and all that other stuff..  but for now I need to focus on the level I am actually meant to be working on :P  RoidForge will help me with that.

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: RoidForge
« Reply #14 on: May 31, 2011, 12:24:48 AM »
Known bugs:

Unable to place asteroids further than about 50,000 from the origin on either axis.

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: RoidForge
« Reply #15 on: May 31, 2011, 05:18:11 AM »
Isn't that good? If you can go +50k, that makes it go to -50k, and take up loads of memory...

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: RoidForge
« Reply #16 on: May 31, 2011, 05:27:13 AM »
Yeah but there is heaps of blank area where there is a grid but there is no possibility to place asteroids.  That's not right, so one or the other has to give :>

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: RoidForge
« Reply #17 on: May 31, 2011, 05:42:32 AM »
Does this mean something about the set mapsize or that you can't move it any further than 50k points from where you started to move them?

Both has nice solutions and both seems rather logical. And Pilchard: if you open Asteroid Designer 5, which uses 200 k units², it uses around 350 000 K, which I guess by wild is ca. 350 Mb of RAM usage, compare that to the 4 Gb that usually or minimally now adays sits inside of the computer. It isn't very much :)

And for the other case: Just drag, release and then drag again... It isn't an elegant or nice way to move the asteroids, but it is doable more than nothing atleast :)

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: RoidForge
« Reply #18 on: May 31, 2011, 07:38:41 AM »
Yeah it's to do with the whole quad-tree idea, I think.

I've updated the original post with controls instructions, in case there was any doubt.

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: RoidForge
« Reply #19 on: July 06, 2011, 09:26:30 AM »
Annikk, you should add the possability to change stats, you know better in the making than in the code what you want stuff to be :)

AWS

  • Achiever
  • Arboreal Being
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 275
Re: RoidForge
« Reply #20 on: July 08, 2011, 11:27:50 PM »
i havent used this yet but i must say it looks not only amazing. its also going to be bloody helpful to the majority of coders, or even mega-amateurs who dont know the first thing about any of this stuff.

have you managed to fix that 50k bug yet btw?

i rreally cant wait ti try this one...its at the top of my list for sure.

merci beaucoup..
 ;D

aws

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: RoidForge
« Reply #21 on: July 08, 2011, 11:48:27 PM »
I use it myself, it's very useful, just put stuff at random spots, make something out of it and suddenly *BOOM* a map :D

Rudolf

  • Administrator
  • Old Oak
  • *****
  • Thank You
  • -Given: 5
  • -Receive: 13
  • Posts: 669
  • Eufloria: Yes
Re: RoidForge
« Reply #22 on: July 17, 2011, 12:51:16 AM »
Never has a game spawned so many level editors, yet its original content was made without one.  :'(

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: RoidForge
« Reply #23 on: July 17, 2011, 09:13:17 PM »
Joe Public doesn't have your skillz, Rudolf  :>

Bonobo

  • Achiever
  • Old Oak
  • ****
  • Thank You
  • -Given: 139
  • -Receive: 12
  • Posts: 670
  • Eufloria: Yes
Re: RoidForge
« Reply #24 on: July 18, 2011, 12:10:43 AM »
Must. Resist. Urge. To. Change. Nickname. To. “Joe Public”.

AWS

  • Achiever
  • Arboreal Being
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 275
Re: RoidForge
« Reply #25 on: July 20, 2011, 08:23:47 AM »
Must. Resist. Urge. To. Change. Nickname. To. “Joe Public”.

hehe!!!
lol
 ;D

Rudolf

  • Administrator
  • Old Oak
  • *****
  • Thank You
  • -Given: 5
  • -Receive: 13
  • Posts: 669
  • Eufloria: Yes
Re: RoidForge
« Reply #26 on: July 22, 2011, 03:52:45 AM »
Hehe, do it!

AWS, what is your avatar image? I like it mucho!

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: RoidForge
« Reply #27 on: July 26, 2011, 02:31:02 AM »
Actually, you only have to change your display name. Or is that what you meant?

Bonobo

  • Achiever
  • Old Oak
  • ****
  • Thank You
  • -Given: 139
  • -Receive: 12
  • Posts: 670
  • Eufloria: Yes
Re: RoidForge
« Reply #28 on: July 26, 2011, 04:13:09 AM »
No, no, no, I was just kidding. I love my “Bonobo” nickname. And yet I prefer if ppl call me “Tom” ;D