Search found 155 matches

by zocka
19 Feb 2017, 17:45
Forum: ManiaLink
Topic: Connect Manialink with Youtube - Where should I start?
Replies: 2
Views: 3420

Re: Connect Manialink with Youtube - Where should I start?

A lot depends on the size of your project. You might not need any library at all. I lately only create static XML-Manialinks [with a single file but multiple "views" that I hide or display] and load dynamic content with ManiaScript which I get from some backend-script that provides some REST-ish acc...
by zocka
14 Feb 2017, 23:07
Forum: General Tools
Topic: Yet another ManiaPlanet style javascript parser
Replies: 8
Views: 5049

Re: Yet another ManiaPlanet style javascript parser

I actually never really worked with TS so I was confident, when my editor knew, what I wanted to say with my type definitions :D I haven't found any doc or example that worked for me yet. I will update my package if I get it to work, but feel free to open a PR if you got something that works before ...
by zocka
08 Feb 2017, 16:58
Forum: Track Editor
Topic: [EditorPlugin] HotCams
Replies: 5
Views: 1857

[EditorPlugin] HotCams

HotCams is a little editor plugin that allows you to switch between up to 3 cameras e.g. if you are switching between different sections of a map. For example you can set a persistent camera on the start or checkpoint you are currently starting from and then return to the perspective where you left ...
by zocka
21 Jan 2017, 23:02
Forum: General Tools
Topic: Yet another ManiaPlanet style javascript parser
Replies: 8
Views: 5049

Re: Yet another ManiaPlanet style javascript parser

I now fixed some issues I was aware of and some my test-cases found: - correct base style when $z-resetting styles within $< $> blocks - merging spans with the same style - $w, $n and $t was only half-way implemented I originally wanted to try this whole js module flow, thus made my script a node mo...
by zocka
15 Dec 2016, 19:17
Forum: ManiaScript
Topic: EditorInputIsDown_... does not work
Replies: 4
Views: 741

Re: EditorInputIsDown_... does not work

I did a bit of testing now: #RequireContext CEditorPlugin declare Integer CountBlocksDeleted; declare Text DeletionLog; Void MyRemoveBlockFunction(Int3 _CursorCoord) { CountBlocksDeleted += 1; DeletionLog = """deleted {{{CountBlocksDeleted}}} blocks, last at {{{_CursorCoord}}}""" ^ "\n" ^ DeletionLo...
by zocka
14 Dec 2016, 23:06
Forum: Announcements
Topic: Maniaplanet 4 - Previews
Replies: 291
Views: 49368

Re: Maniaplanet 4 - Previews

Or every player has his own train. Since turbo we can collide with other "players", so make the train an NPC per run :P
by zocka
14 Dec 2016, 12:18
Forum: ManiaScript
Topic: EditorInputIsDown_... does not work
Replies: 4
Views: 741

Re: EditorInputIsDown_... does not work

I used this once: declare EraseDown = False; declare IgnoreMapChange = False; while (True) { if (EditorInputIsDown_CursorDelete) { EraseDown = True; } else { if (EraseDown) { EraseDown = False; IgnoreMapChange = False; if (RemoveBlock(CursorCoord)) { MyRemoveBlockFunction(CursorCoord); } } } foreach...
by zocka
06 Dec 2016, 13:28
Forum: ManiaLink
Topic: [Showcase] Devtools
Replies: 2
Views: 3732

[Showcase] Devtools

tl;dr Proof of concept to inspect the manialink DOM, demo at ML devtools , some nice features described below. Features DOM inspection and modification of supported attributes inspection of http requests logging displayed in the tool Storytime My basic idea was to try how far I can get in terms of ...
by zocka
16 Nov 2016, 14:00
Forum: Announcements
Topic: Maniaplanet 4 - Previews
Replies: 291
Views: 49368

Re: Maniaplanet 4 - Previews

So the ML z-index is relative within each frame? If I would have done something like: framemodel#richEntry entry(z-index=2) quad#entryOverlay(z-index=3) // onclick focuses the entry // & shows screenOverlay // & raises entry.zIndex above #screenOverlay -> can catch "onFocus" quad#screenOverlay(z-ind...
by zocka
08 Aug 2016, 15:47
Forum: ManiaLink
Topic: [ManiaScript] Data Attributes on FrameInstances
Replies: 6
Views: 3614

Re: [ManiaScript] Data Attributes on FrameInstances

Sounds excellent to me :thumbsup:
I believe the special cases are very limited to class and data (except there is a lot more coming with MP4 :o )

Go to advanced search