Mopolauta

Elasto Mania board
It is currently 24 Nov 2014, 04:36

All times are UTC [ DST ]




Post new topic Reply to topic  [ 42 posts ] 
Author Message
 Post subject: OLE!
PostPosted: 5 Dec 2011, 17:09 
Offline
Kuski
User avatar

Joined: 17 Aug 2002, 15:45
Posts: 1075
Location: Oulu, Finland
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.

_________________
BEER BATTLE WINNER 2014
Ville_J's Elasto Mania stuff
Image


Last edited by Ville_J on 5 Jun 2013, 20:08, edited 7 times in total.

Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 5 Dec 2011, 17:14 
Offline
Moporator
User avatar

Joined: 19 Oct 2004, 20:44
Posts: 1144
Location: Vaasa, Finland
Ville_J wrote:
does not work in Firefox

:devil:

_________________
Redesign Contest

"If you're afraid of pedophiles - grow up"


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 5 Dec 2011, 17:26 
Offline
Kuski
User avatar

Joined: 17 Aug 2002, 15:45
Posts: 1075
Location: Oulu, Finland
Oh come on! It's not like I did it exclusively for Opera as I might have done!

_________________
BEER BATTLE WINNER 2014
Ville_J's Elasto Mania stuff
Image


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 5 Dec 2011, 17:34 
Offline
Kuski
User avatar

Joined: 6 Jan 2009, 13:08
Posts: 1579
Location: Srdcom vychodniar
make firefoks applet pls too

_________________
ImageImage


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 5 Dec 2011, 18:11 
Offline
38mins club
User avatar

Joined: 2 Dec 2009, 00:04
Posts: 495
Any idea why it doesn't work in firefox?

_________________
Image
Fucking broken image every month


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 5 Dec 2011, 18:16 
Offline
Kuski
User avatar

Joined: 17 Aug 2002, 15:45
Posts: 1075
Location: Oulu, Finland
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..

_________________
BEER BATTLE WINNER 2014
Ville_J's Elasto Mania stuff
Image


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 5 Dec 2011, 18:22 
Offline
Kuski
User avatar

Joined: 26 Dec 2007, 14:04
Posts: 322
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

_________________
tomorrow, I stop.


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 5 Dec 2011, 18:26 
Offline
Kuski
User avatar

Joined: 17 Aug 2002, 15:45
Posts: 1075
Location: Oulu, Finland
Nice suggestions, I will work on those when I first fix teh firefox.

_________________
BEER BATTLE WINNER 2014
Ville_J's Elasto Mania stuff
Image


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 5 Dec 2011, 19:10 
Offline
Kuski
User avatar

Joined: 17 Aug 2002, 15:45
Posts: 1075
Location: Oulu, Finland
Ok, works now also in Firefox!!!!!!

_________________
BEER BATTLE WINNER 2014
Ville_J's Elasto Mania stuff
Image


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 5 Dec 2011, 19:46 
Offline
Kuski
User avatar

Joined: 6 Jan 2009, 13:08
Posts: 1579
Location: Srdcom vychodniar
Nice, i would add to move button: draging whole polygons
Double post vJ :)

_________________
ImageImage


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 5 Dec 2011, 23:00 
Offline
Kuski
User avatar

Joined: 23 May 2002, 13:59
Posts: 6020
Location: In a northern danish city beating YOUR record.
Awesome work. Dunno when I'll need it, but feels really awesome to be making elma levels in browser :)

_________________
Kopasite ^ 39 level packs and 1193 levels for your höyling pleasure
LaMe world of Kopa ^ Team LaMe
Elma Online ^ Moposite Records ^ Upload


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 6 Dec 2011, 11:46 
Offline
35mins club
User avatar

Joined: 25 Apr 2007, 14:23
Posts: 1472
Location: Östersund, Sweden
Cool editor
http://elma.oktobia.org/ole/lev/britfag.lev

_________________
Image | Team EF
Image


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 6 Dec 2011, 16:31 
Offline
Kuski
User avatar

Joined: 17 Aug 2002, 15:45
Posts: 1075
Location: Oulu, Finland
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

_________________
BEER BATTLE WINNER 2014
Ville_J's Elasto Mania stuff
Image


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 8 Dec 2011, 19:47 
Offline
Kuski

Joined: 30 Apr 2007, 13:20
Posts: 37
had to make my first reply for saying how awesome this is


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 8 Dec 2011, 20:48 
Offline
Kuski
User avatar

Joined: 6 Jan 2009, 13:08
Posts: 1579
Location: Srdcom vychodniar
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!

_________________
ImageImage


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 9 Dec 2011, 02:03 
Offline
Kuski

Joined: 28 Aug 2010, 22:17
Posts: 59
Works fine in Firefox :roll:

except for saving lev...


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 9 Dec 2011, 02:32 
Offline
Moporator
User avatar

Joined: 19 Oct 2004, 20:44
Posts: 1144
Location: Vaasa, Finland
Saving worked fine in Firefox for me. Did you notice that you just get the download link for the lev in the corner?

_________________
Redesign Contest

"If you're afraid of pedophiles - grow up"


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 9 Dec 2011, 03:34 
Offline
Kuski
User avatar

Joined: 17 Aug 2002, 15:45
Posts: 1075
Location: Oulu, Finland
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.

_________________
BEER BATTLE WINNER 2014
Ville_J's Elasto Mania stuff
Image


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 9 Dec 2011, 11:15 
Offline
Kuski
User avatar

Joined: 6 Jan 2009, 13:08
Posts: 1579
Location: Srdcom vychodniar
Ville, you could try to make undo/redo button :) i miss it a bit.

_________________
ImageImage


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 9 Dec 2011, 11:27 
Offline
35mins club
User avatar

Joined: 28 Nov 2002, 15:54
Posts: 3273
Location: suo mesta
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.

_________________
international eror, me???, discover imageshack, osv


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 9 Dec 2011, 16:50 
Offline
Kuski
User avatar

Joined: 17 Aug 2002, 15:45
Posts: 1075
Location: Oulu, Finland
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.

_________________
BEER BATTLE WINNER 2014
Ville_J's Elasto Mania stuff
Image


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 9 Dec 2011, 18:19 
Offline
35mins club
User avatar

Joined: 28 Nov 2002, 15:54
Posts: 3273
Location: suo mesta
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

_________________
international eror, me???, discover imageshack, osv


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 20 Dec 2011, 09:23 
Offline
39mins club
User avatar

Joined: 7 Apr 2007, 12:15
Posts: 6060
Location: Stockholm, Sweden
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


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 20 Dec 2011, 12:25 
Offline
Kuski
User avatar

Joined: 17 Aug 2002, 15:45
Posts: 1075
Location: Oulu, Finland
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.

_________________
BEER BATTLE WINNER 2014
Ville_J's Elasto Mania stuff
Image


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 20 Dec 2011, 12:44 
Offline
39mins club
User avatar

Joined: 7 Apr 2007, 12:15
Posts: 6060
Location: Stockholm, Sweden
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


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 24 Dec 2011, 19:45 
Offline
Kuski
User avatar

Joined: 15 Apr 2007, 01:05
Posts: 3161
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
ImageImage


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 26 Dec 2011, 12:08 
Offline
Kuski
User avatar

Joined: 17 Aug 2002, 15:45
Posts: 1075
Location: Oulu, Finland
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!

_________________
BEER BATTLE WINNER 2014
Ville_J's Elasto Mania stuff
Image


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 26 Dec 2011, 12:43 
Offline
39mins club
User avatar

Joined: 7 Apr 2007, 12:15
Posts: 6060
Location: Stockholm, Sweden
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


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 2 Jan 2012, 14:40 
Offline
38mins club
User avatar

Joined: 23 Sep 2009, 10:56
Posts: 1116
Location: Some pub in Prague
quality editor. I found myself totally bored in school between lessons and it was suddenly rly useful :)

_________________
http://elmaonline.net/players/Bludek
Image
Image


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 2 Jan 2012, 17:52 
Offline
Kuski
User avatar

Joined: 17 Aug 2002, 15:45
Posts: 1075
Location: Oulu, Finland
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.

_________________
BEER BATTLE WINNER 2014
Ville_J's Elasto Mania stuff
Image


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 3 Jan 2012, 04:18 
Offline
38mins club
User avatar

Joined: 4 Apr 2008, 23:46
Posts: 710
how to select

_________________
Image
ELMA MOVIES: How to make APipe - Apipe Levels - Kuski: Pab | Battles - EOL Done Quick


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 3 Jan 2012, 08:33 
Offline
35mins club
User avatar

Joined: 25 Apr 2007, 14:23
Posts: 1472
Location: Östersund, Sweden
Pab wrote:
how to select

Press O and it shows in the list if you saved the level earlier.
Awesome Ville!

_________________
Image | Team EF
Image


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 3 Jan 2012, 20:51 
Offline
38mins club
User avatar

Joined: 4 Apr 2008, 23:46
Posts: 710
how to select a vertex or poligon etc in level

_________________
Image
ELMA MOVIES: How to make APipe - Apipe Levels - Kuski: Pab | Battles - EOL Done Quick


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 3 Jan 2012, 22:06 
Offline
Kuski
User avatar

Joined: 17 Aug 2002, 15:45
Posts: 1075
Location: Oulu, Finland
U can just hev Move tool. Can't select many. Hold ctrl if wana move whole poligon.

_________________
BEER BATTLE WINNER 2014
Ville_J's Elasto Mania stuff
Image


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 6 Jan 2012, 07:13 
Offline
39mins club
User avatar

Joined: 19 Oct 2002, 05:42
Posts: 668
Location: Southern Ontario, Canada
needs usernames, "spy" mode, chat, and instead of shirts: custom cursors :) would be online level design community

_________________
TT= 38 somethin


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 15 Jan 2012, 20:46 
Offline
Kuski
User avatar

Joined: 6 Jan 2009, 13:08
Posts: 1579
Location: Srdcom vychodniar
i am not able to delete picture. using Firefoks

_________________
ImageImage


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 15 Jan 2012, 20:54 
Offline
Kuski

Joined: 24 Nov 2009, 20:53
Posts: 745
Location: ø     
switch to a browser


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 15 Jan 2012, 21:01 
Offline
Kuski
User avatar

Joined: 6 Jan 2009, 13:08
Posts: 1579
Location: Srdcom vychodniar
browser? i see, needs to hav picture mod, then ctrl.

_________________
ImageImage


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 16 Jan 2012, 07:19 
Offline
Kuski
User avatar

Joined: 17 Aug 2002, 15:45
Posts: 1075
Location: Oulu, Finland
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.

_________________
BEER BATTLE WINNER 2014
Ville_J's Elasto Mania stuff
Image


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 16 Jan 2012, 15:25 
Offline
Kuski
User avatar

Joined: 6 Jan 2009, 13:08
Posts: 1579
Location: Srdcom vychodniar
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?

_________________
ImageImage


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 4 Jun 2013, 16:26 
Offline
Kuski
User avatar

Joined: 15 Apr 2007, 01:05
Posts: 3161
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
ImageImage


Top
 Profile  
 
 Post subject: Re: OLE!
PostPosted: 5 Jun 2013, 07:42 
Offline
Kuski
User avatar

Joined: 17 Aug 2002, 15:45
Posts: 1075
Location: Oulu, Finland
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.

_________________
BEER BATTLE WINNER 2014
Ville_J's Elasto Mania stuff
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 42 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group