OLE!

Advertise your levels, contests, sites etc.

Moderator: Moporators

Post Reply
User avatar
ville_j
Kuski
Posts: 1506
Joined: 17 Aug 2002, 15:45
Team: IS
Location: on the roof
Contact:

OLE!

Post by ville_j »

Well, Mawane suggested me this probably almost 2 years ago and finally, no less than few days ago, I decided to make it.

OLE is an Online Level Editor. It takes advantage of html5 <canvas> and javascript and runs on your browser*. Features aren't as massive as other editors have, but who cares! No you can enjoy creating levels in places where you might have a limited access installing custom programs!

Basically, you have all the tools needed: create/edit polygons and objects. Here are some hints if you want to try OLE:
  • While Polygon-tool active, hold [ctrl] and click vertex to delete the vertex
  • While Polygon-tool active, right click a vertex to change polygon between grass/ground
  • While Move-tool active, hold [ctrl] and drag vertex to move the whole polygon
  • While Apple/Killer/Flower-tool active, hold [ctrl] and click any object to delete object
  • Right click and drag background to move the area displayed in the canvas
  • Use mouse scroll to zoom in/out. Direction depends on your browser!!!
You can also give the level a name and filename. Foreground and background also available.

To-do list includes such things as:
  • Pictures if orka (done)
  • Open level (done)
  • Suggestions taken (not really)
Known bugs:
  • If you zoom in/out while editing polygon/moving object, you might see something unexpected
OLE!

*Tested only with the newest versions of Opera, Chrome and Firefox, does not work at least in IE.
Last edited by ville_j on 5 Jun 2013, 20:08, edited 7 times in total.
< roopemies> horror and frustrating and can't play, sounds just like you
Beer battle winner 2014 and 2015
User avatar
Orcc
Moporator
Posts: 1752
Joined: 19 Oct 2004, 20:44
Team: IS
Location: Espoo, Finland

Re: OLE!

Post by Orcc »

Ville_J wrote:does not work in Firefox
:devil:
NoobSty2-competition

"If you're afraid of pedophiles - grow up"
User avatar
ville_j
Kuski
Posts: 1506
Joined: 17 Aug 2002, 15:45
Team: IS
Location: on the roof
Contact:

Re: OLE!

Post by ville_j »

Oh come on! It's not like I did it exclusively for Opera as I might have done!
< roopemies> horror and frustrating and can't play, sounds just like you
Beer battle winner 2014 and 2015
User avatar
Tigro
Kuski
Posts: 2198
Joined: 6 Jan 2009, 13:08
Location: Srdcom vychodniar
Contact:

Re: OLE!

Post by Tigro »

make firefoks applet pls too
Image
User avatar
trew
38mins club
Posts: 504
Joined: 2 Dec 2009, 00:04

Re: OLE!

Post by trew »

Any idea why it doesn't work in firefox?
Image
Fucking broken image every month
User avatar
ville_j
Kuski
Posts: 1506
Joined: 17 Aug 2002, 15:45
Team: IS
Location: on the roof
Contact:

Re: OLE!

Post by ville_j »

I think the problem lies with getting mouse coordinates.
mouseX = event.offsetX in javascript, I think this doesnt give correct value in firefox. I will try to fix some day..
< roopemies> horror and frustrating and can't play, sounds just like you
Beer battle winner 2014 and 2015
User avatar
totem
39mins club
Posts: 328
Joined: 26 Dec 2007, 14:04

Re: OLE!

Post by totem »

Very pro online tool, great work ! I like the OLE! name too it's fun

requests :
  • can you bind mouse-navigation to the middle-button of the mouse, and let it be active all the time, not only when [move] tool is active ?
  • zoom on cursor position
User avatar
ville_j
Kuski
Posts: 1506
Joined: 17 Aug 2002, 15:45
Team: IS
Location: on the roof
Contact:

Re: OLE!

Post by ville_j »

Nice suggestions, I will work on those when I first fix teh firefox.
< roopemies> horror and frustrating and can't play, sounds just like you
Beer battle winner 2014 and 2015
User avatar
ville_j
Kuski
Posts: 1506
Joined: 17 Aug 2002, 15:45
Team: IS
Location: on the roof
Contact:

Re: OLE!

Post by ville_j »

Ok, works now also in Firefox!!!!!!
< roopemies> horror and frustrating and can't play, sounds just like you
Beer battle winner 2014 and 2015
User avatar
Tigro
Kuski
Posts: 2198
Joined: 6 Jan 2009, 13:08
Location: Srdcom vychodniar
Contact:

Re: OLE!

Post by Tigro »

Nice, i would add to move button: draging whole polygons
Double post vJ :)
Image
User avatar
Kopaka
39mins club
Posts: 6610
Joined: 23 May 2002, 13:59
Team: LAME
Location: In a northern danish city beating YOUR record.
Contact:

Re: OLE!

Post by Kopaka »

Awesome work. Dunno when I'll need it, but feels really awesome to be making elma levels in browser :)
User avatar
Bjenn
35mins club
Posts: 2391
Joined: 25 Apr 2007, 14:23
Team: EF
Location: Östersund, Sweden

Re: OLE!

Post by Bjenn »

User avatar
ville_j
Kuski
Posts: 1506
Joined: 17 Aug 2002, 15:45
Team: IS
Location: on the roof
Contact:

Re: OLE!

Post by ville_j »

OLE just got better!

New features:
  • Define level background/foreground
  • Right click and drag background to move the area displayed in the canvas
  • Zoom to mouse point
  • While Move tool active, hold [ctrl] and drag vertex to move the whole polygon
  • Status bar shows hints while [ctrl] down
Changed:
  • While Apple/Killer/Flower tool active, hold [ctrl] and click any object to delete object
< roopemies> horror and frustrating and can't play, sounds just like you
Beer battle winner 2014 and 2015
Ropelli
Kuski
Posts: 114
Joined: 30 Apr 2007, 13:20

Re: OLE!

Post by Ropelli »

had to make my first reply for saying how awesome this is
User avatar
Tigro
Kuski
Posts: 2198
Joined: 6 Jan 2009, 13:08
Location: Srdcom vychodniar
Contact:

Re: OLE!

Post by Tigro »

Ville_J wrote:[*]While Move tool active, hold [ctrl] and drag vertex to move the whole polygon
thanx, this is good step! :) lets get it even better! thx ville!
Image
User avatar
Mrrrr
Kuski
Posts: 225
Joined: 28 Aug 2010, 22:17
Team: BAP
Location: +∞
Contact:

Re: OLE!

Post by Mrrrr »

Works fine in Firefox :roll:

except for saving lev...
RiP Mawane ((
RiP Devin ((
wtf mans?!
User avatar
Orcc
Moporator
Posts: 1752
Joined: 19 Oct 2004, 20:44
Team: IS
Location: Espoo, Finland

Re: OLE!

Post by Orcc »

Saving worked fine in Firefox for me. Did you notice that you just get the download link for the lev in the corner?
NoobSty2-competition

"If you're afraid of pedophiles - grow up"
User avatar
ville_j
Kuski
Posts: 1506
Joined: 17 Aug 2002, 15:45
Team: IS
Location: on the roof
Contact:

Re: OLE!

Post by ville_j »

Ropelli wrote:had to make my first reply for saying how awesome this is
Cool, maybe you can now be more active also in other topics!

And yeah, everything should work in Firefox, Opera and Chrome. But if you have very small resolution then you might not see the download link that appears below the Create lev -button. I am constantly working on this thing so you can expect some new features every once in a while.
< roopemies> horror and frustrating and can't play, sounds just like you
Beer battle winner 2014 and 2015
User avatar
Tigro
Kuski
Posts: 2198
Joined: 6 Jan 2009, 13:08
Location: Srdcom vychodniar
Contact:

Re: OLE!

Post by Tigro »

Ville, you could try to make undo/redo button :) i miss it a bit.
Image
User avatar
Zweq
34mins club
Posts: 4055
Joined: 28 Nov 2002, 15:54
Location: suo mesta

Re: OLE!

Post by Zweq »

I did a few levs, some stuff I came upon to, some of which you know already:

Zoom in works in an expected way now, zoom out doesn't.

When in apple/killer/flower mode, you can remove objects even if you're not CTRL+clicking on them. Say you put 10 apple objects, remove the object #1 appropriately by CTRL + mouseclicking on it, you can remove the other objects by CTRL + mouseclicking in empty space, in order #2, #3 etc.

Polygon intersection check.

I used Chrome.
Image
User avatar
ville_j
Kuski
Posts: 1506
Joined: 17 Aug 2002, 15:45
Team: IS
Location: on the roof
Contact:

Re: OLE!

Post by ville_j »

Zweq wrote:I did a few levs, some stuff I came upon to, some of which you know already:
Zoom in works in an expected way now, zoom out doesn't.
Zoom works so that the point (of the level) where your mouse is positioned stays always the same when zoom in/out. If I changed the zoom out method it would mean that when you zoom out the point would change. So, if you zoom in, then zoom out and then again zoom in, the point (of the lev) under the mouse would change all the time and I don't think that would be very good thing. But I guess I know what you mean.
< roopemies> horror and frustrating and can't play, sounds just like you
Beer battle winner 2014 and 2015
User avatar
Zweq
34mins club
Posts: 4055
Joined: 28 Nov 2002, 15:54
Location: suo mesta

Re: OLE!

Post by Zweq »

Yeah I thought of that, so actually let me rephrase: it's kinda "near perfect", but possible to do some minor extra polishing when very far zoomed out :P
Image
User avatar
Igge
38mins club
Posts: 6393
Joined: 7 Apr 2007, 12:15
Location: Stockholm, Sweden

Re: OLE!

Post by Igge »

If anything could be done about the lag when making new vertices I think that should be priority number one. I don't want to have to wait for a couple of milliseconds to see that I actually get the line I want before making each new vertex.

Oh and I also don't like the cursor when moving vertices - it's too big and ugly for delicate levelmaking.

I'm sorry if I sound very negative, but at the moment I'll only focus on the things I personally would like to see changed. All the things I don't mention I'm fine with, I just can't be bothered writing them down)
John: lol hittade ett popcorn i naveln
(19:52:06) (@Madnezz) The Golden Apple Award goes to.....
(19:52:36) (@Madnezz) ib9814.lev by igge!!!
Zweq wrote:99.9999% of nabs haven't even opened the book yet and most of those that have are still on the first pages
User avatar
ville_j
Kuski
Posts: 1506
Joined: 17 Aug 2002, 15:45
Team: IS
Location: on the roof
Contact:

Re: OLE!

Post by ville_j »

Igge wrote:If anything could be done about the lag when making new vertices I think that should be priority number one. I don't want to have to wait for a couple of milliseconds to see that I actually get the line I want before making each new vertex.
I'm afraid there's not much I can do concerning this matter. I believe you are using either Chrome or Opera? If you try OLE with Firefox you can see it is smoother and there isn't much lag. This is also "fixed" in Opera Next. I think it has something to do with <canvas> and javascript optimization in browser. Well, I'm sure my code is not fully optimized but I won't put much effort trying to fix it in my code since they can (will) fix it directly in browsers =) And what comes to the cursors, I will definitely change/make my own cursors later but atm I am working on pictures and opening level files.
< roopemies> horror and frustrating and can't play, sounds just like you
Beer battle winner 2014 and 2015
User avatar
Igge
38mins club
Posts: 6393
Joined: 7 Apr 2007, 12:15
Location: Stockholm, Sweden

Re: OLE!

Post by Igge »

I'm using firefox, but I'm on a quite crappy laptop at work, so that might be it. Good to hear you're still working on it.
John: lol hittade ett popcorn i naveln
(19:52:06) (@Madnezz) The Golden Apple Award goes to.....
(19:52:36) (@Madnezz) ib9814.lev by igge!!!
Zweq wrote:99.9999% of nabs haven't even opened the book yet and most of those that have are still on the first pages
User avatar
Mawane
Kuski
Posts: 3299
Joined: 15 Apr 2007, 01:05
Team: SV
Contact:

Re: OLE!

Post by Mawane »

I really like the simplicity of it. Perfect for when you're away from home and still want to make something :)
Cut/connect could have been skipped but now that it's made, just need to fix the intersection issue maybe?

Great job VJ!
Website || TT:41:45:64 || Team Image
Image[url=steam://friends/add/76561198025490048]Image[/url]
User avatar
ville_j
Kuski
Posts: 1506
Joined: 17 Aug 2002, 15:45
Team: IS
Location: on the roof
Contact:

Re: OLE!

Post by ville_j »

I'm not entirely sure why do people need intersection/topology check but yes it's coming some time after the level opening and pictures update. Next year!
< roopemies> horror and frustrating and can't play, sounds just like you
Beer battle winner 2014 and 2015
User avatar
Igge
38mins club
Posts: 6393
Joined: 7 Apr 2007, 12:15
Location: Stockholm, Sweden

Re: OLE!

Post by Igge »

Ville_J wrote:I'm not entirely sure why do people need intersection/topology check but yes it's coming some time after the level opening and pictures update. Next year!
When you forget to make the grass polygon grass))
John: lol hittade ett popcorn i naveln
(19:52:06) (@Madnezz) The Golden Apple Award goes to.....
(19:52:36) (@Madnezz) ib9814.lev by igge!!!
Zweq wrote:99.9999% of nabs haven't even opened the book yet and most of those that have are still on the first pages
User avatar
Bludek
38mins club
Posts: 1725
Joined: 23 Sep 2009, 10:56
Team: CART
Location: Some pub in Prague

Re: OLE!

Post by Bludek »

quality editor. I found myself totally bored in school between lessons and it was suddenly rly useful :)
Image
EOL top 10 kuski of 2014 and 2015.
21:03:48 <umiz> i like 99% of bludek levels
User avatar
ville_j
Kuski
Posts: 1506
Joined: 17 Aug 2002, 15:45
Team: IS
Location: on the roof
Contact:

Re: OLE!

Post by ville_j »

Thanks!

Also now updated! With pictures and level opening (and some other things, like you can now edit apple gravity and animation). You can also see/open files you have edited earlier (relies on cookies). Tell me if you find some bugs.
< roopemies> horror and frustrating and can't play, sounds just like you
Beer battle winner 2014 and 2015
User avatar
Pab
38mins club
Posts: 887
Joined: 4 Apr 2008, 23:46

Re: OLE!

Post by Pab »

how to select
My Youtube Channel Level Stats Maker Battle Notifier!

Image
Image
Signatür ruined by SveinR - smaller plz :*
User avatar
Bjenn
35mins club
Posts: 2391
Joined: 25 Apr 2007, 14:23
Team: EF
Location: Östersund, Sweden

Re: OLE!

Post by Bjenn »

Pab wrote:how to select
Press O and it shows in the list if you saved the level earlier.
Awesome Ville!
User avatar
Pab
38mins club
Posts: 887
Joined: 4 Apr 2008, 23:46

Re: OLE!

Post by Pab »

how to select a vertex or poligon etc in level
My Youtube Channel Level Stats Maker Battle Notifier!

Image
Image
Signatür ruined by SveinR - smaller plz :*
User avatar
ville_j
Kuski
Posts: 1506
Joined: 17 Aug 2002, 15:45
Team: IS
Location: on the roof
Contact:

Re: OLE!

Post by ville_j »

U can just hev Move tool. Can't select many. Hold ctrl if wana move whole poligon.
< roopemies> horror and frustrating and can't play, sounds just like you
Beer battle winner 2014 and 2015
User avatar
Juish
38mins club
Posts: 682
Joined: 19 Oct 2002, 05:42
Location: Southern Ontario, Canada

Re: OLE!

Post by Juish »

needs usernames, "spy" mode, chat, and instead of shirts: custom cursors :) would be online level design community
TT= 38 somethin
User avatar
Tigro
Kuski
Posts: 2198
Joined: 6 Jan 2009, 13:08
Location: Srdcom vychodniar
Contact:

Re: OLE!

Post by Tigro »

i am not able to delete picture. using Firefoks
Image
User avatar
jonsykkel
Kuski
Posts: 982
Joined: 24 Nov 2009, 20:53
Contact:

Re: OLE!

Post by jonsykkel »

switch to a browser
status:ONLINE - - -  drinking:GOFE - - - iq:85 - - - elasto mania ranking:#1
User avatar
Tigro
Kuski
Posts: 2198
Joined: 6 Jan 2009, 13:08
Location: Srdcom vychodniar
Contact:

Re: OLE!

Post by Tigro »

browser? i see, needs to hav picture mod, then ctrl.
Image
User avatar
ville_j
Kuski
Posts: 1506
Joined: 17 Aug 2002, 15:45
Team: IS
Location: on the roof
Contact:

Re: OLE!

Post by ville_j »

Tigro wrote:browser? i see, needs to hav picture mod, then ctrl.
Yes =) Duno if should make some delete tool or something... At least for deleting whole polygons.
< roopemies> horror and frustrating and can't play, sounds just like you
Beer battle winner 2014 and 2015
User avatar
Tigro
Kuski
Posts: 2198
Joined: 6 Jan 2009, 13:08
Location: Srdcom vychodniar
Contact:

Re: OLE!

Post by Tigro »

nat needed. I think ppl dont make huge levs in OLE. I like making levs there, but just some 15 sec hôýläs. Maybe something that will ensture creator that when he copies lev into lev folder and starts game, it will not crash in int error. Topology check?
Image
User avatar
Mawane
Kuski
Posts: 3299
Joined: 15 Apr 2007, 01:05
Team: SV
Contact:

Re: OLE!

Post by Mawane »

I would be very interested in multiple users level making on this site, at first it seemed silly and useless, but it could be nice to work together instead of waiting hours/days for the other people to make their part. Using skype to talk with other users, no need chat system.
Website || TT:41:45:64 || Team Image
Image[url=steam://friends/add/76561198025490048]Image[/url]
User avatar
ville_j
Kuski
Posts: 1506
Joined: 17 Aug 2002, 15:45
Team: IS
Location: on the roof
Contact:

Re: OLE!

Post by ville_j »

That is impsy feature. It requires a proper server which I don't have and the code should be fully re-factored. I don't see it happening. Maybe some desktop level editor which can connect directly to your friend's computer could be psy.
< roopemies> horror and frustrating and can't play, sounds just like you
Beer battle winner 2014 and 2015
Post Reply