Coder Social home page Coder Social logo

hide's People

Contributors

acavalier avatar arthurteisseire avatar calderarchinuk avatar chuckatshiro avatar clementlandrin avatar dopuras avatar elisee avatar espeuteclement avatar fl0xer avatar gama11 avatar jed974 avatar jefvel avatar kanemzi avatar klabz avatar leovgr avatar nadako avatar ncannasse avatar onehundredfeet avatar shirosmith avatar speedphoenix avatar spiratom avatar tothbenoit avatar trethaller avatar yanrishatum avatar yuxiaomao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hide's Issues

Hide Cdb : allow to add a description to fields

It would be very nice to be able to add a description to each field. It would be displayed when the mouse is over the field name, and the description could be added or modified by doing a right click.

Hide default project

If there is a /res in current directory (or parent if current is package.nw), should use this directory as start project.

can't compile with haxe-4.0.0-rc.5

devmacpro:hide varadig$ lix use haxe 4.0.0-rc.5
devmacpro:hide varadig$ haxe hide.hxml
hide/comp/cdb/ModalColumnForm.hx:249: characters 27-33 : Identifier 'Script' is not part of cdb.ColumnKind
hide/comp/cdb/Editor.hx:574: characters 42-48 : Identifier 'Script' is not part of cdb.ColumnKind
hide/comp/cdb/Cell.hx:24: characters 22-28 : Identifier 'Script' is not part of cdb.ColumnKind
hide/comp/cdb/Cell.hx:68: characters 30-36 : Identifier 'Script' is not part of cdb.ColumnKind
/Users/varadig/haxe/haxelib/hscript/2,3,0/hscript/Checker.hx:298: characters 18-19 : Unmatched patterns: CTNamed | CTOpt
hide/comp/ScriptEditor.hx:185: characters 14-19 : Cannot access private field unify
hide/comp/cdb/Cell.hx:250: characters 35-41 : Identifier 'Script' is not part of cdb.ColumnKind
hide/comp/cdb/Cell.hx:495: characters 48-54 : Identifier 'Script' is not part of cdb.ColumnKind
hide/comp/cdb/Cell.hx:543: characters 35-41 : Identifier 'Script' is not part of cdb.ColumnKind
hide/comp/cdb/Cell.hx:234: characters 35-41 : Identifier 'Script' is not part of cdb.ColumnKind
hide/Ide.hx:657: characters 39-44 : Too many arguments
hide/comp/cdb/Editor.hx:676: characters 69-78 : cdb.Database has no field moveSheet
hide/comp/cdb/Editor.hx:677: characters 70-79 : cdb.Database has no field moveSheet
/Users/varadig/haxe/haxelib/hscript/2,3,0/hscript/Macro.hx:217: characters 15-19 : Null<String> should be Null<haxe.macro.FunctionKind>
/Users/varadig/haxe/haxelib/hscript/2,3,0/hscript/Macro.hx:217: characters 15-19 : For function argument 'kind'
/Users/varadig/haxe/haxelib/hscript/2,3,0/hscript/Macro.hx:208: lines 208-222 : Void should be haxe.macro.ExprDef
/Users/varadig/haxe/haxelib/heaps/1,7,0/hxd/fs/LocalFileSystem.hx:39: characters 24-28 : Class<sys.io.File> has no field read
devmacpro:hide varadig$

Custom plugin window bug?

Can't compile custom plugin. window 10

Plugin.hx

static var haxelibRoot = sys.io.File.getContent(Sys.getEnv("USERPROFILE")+"/.haxelib");

static var haxelibRoot = sys.io.File.getContent("C:/HaxeToolkit/haxe");

try it and doesn't work.

Primitive leaks

Currently some 3D resources are cached locally and never disposed, for example in l3d.Polygon.
This could be fixed if HeapsIO/heaps#336 is implemented

Does not compile with haxe 4 preview 4

Hi,

trying to compile ( haxe hide.hxml ) with haxe 4 preview 4 and latest Heaps.io
there is the following error :
/LocalFileSystem.hx:71: characters 12-28 : Class<sys.io.File> has no field read

Thanks

DomDom

Can't run hide.js

I've finally installed HIDE, but I can't find out what to do with the hide.js file. I've tried creating an index.html and running it, but all I see is a blank screen. How do I run this program?

Hide CDB Wishlist

Various would-be-nice for HIDE-CDB

  • cdb diff merge & show changes / reset change in editor
  • resize columns and save in props
  • add comment for each Flag
  • allow custom icon (tile) per sheet for display in navigation bar
  • right click -> move to (separator) for fast moving of lines
  • improve search : search whole body & search if collapsed (generate "X results" tiny line)
  • Properties-in-Properties needs a bit of margin-left
  • copy same cdb clipboard data on several lines
  • add comment for a column
  • fold/unfold groups and save in props
  • using an Unique Identifier on a sub sheet (list) does not work (error on input) -- References to it could be displayed with contextual information (path)
  • handle propagation of id renames / structural changes to prefabs (with resolve cache)
  • allow copy/paste from sheets (multiline values)

Default value for fields

It would very nice to be able to define a default value for fields in Hide.
Even better if we can get this default value in code, especially for optional fields. It would avoid to duplicate the value and be easier for the designers to understand the value applied when nothing is set in Cdb.

Type not found : hrt.prefab.Resource

D:\HaxeToolkit\haxe\lib\heaps/1,8,0/hxd/res/Prefab.hx:4: characters 18-37 : Type not found : hrt.prefab.Resource

haxe --version 4.0.5
compile.hxml
-lib hide
-lib heaps
-js hello.js
-main Main
-debug

Already installed HIDE: [0.4.8]

hide.view.FileTree:Error: ENOENT: no such file or directory, scandir '/res'

I'm on Win 10 64bit. I tried to run hide.cmd using all the latest haxelib dependencies per the instructions, I built hide.js successfully, but also tried using a zip of the hide repo, as well as from the nightly build windows ZIP. The hide window opens with only a Resources item in the menu bar, a loading indicator and the message I've placed as the title for this bug: hide.view.FileTree:Error: ENOENT: no such file or directory, scandir '/res'.

EDITTED: I do see Project, Database and Layout menus. If I just select "Ok" on the error dialog, I can close the "Resource" tab and can access functionality.

Beginner's Area

Hi!
I'm quite new to Heaps engine as well as in Haxe. I've tried the tutorials on how to start with the game engine. Then I came across on the HIDE application and I'm lost. Is there any tutorial on how to use HIDE application in creating levels or even the basics workflow of it?

As of now, all I can see on the IDE are the grids and a box polygon. even though I'm adding some mesh or terrain, even a camera. I don't see them in the editor. 😞

I hope you can enlighten me on this matter.
Thanks

Error when trying to open texture

Opening textures by double clicking them will sometimes cause the texture viewer to not open anymore or throw an error until restarting the editor. This is the error:

Error: Can't remove child item. Unknown content item
Im.items.Stack.removeChild
Im.items.Stack.removeChild
Im.items.Component.close
Im.container.ItemContainer.close
hide.view.Image.close
at
Object.<anonymous>
Im.items.RowOrColumn.emit
Im.items.Stack._propagateEvent
Im.items.Stack.emit

Compile error: "hide/prefab/EditContext.hx:41: characters 35-36 : Unexpected :"

I cloned the repository, cded into it, ran haxelib install hide.hxml, then ran haxe hide.hxml.

There is a syntax error: hide/prefab/EditContext.hx:41: characters 35-36 : Unexpected :. However, based on the repository activity and absence of previous issues about this, other people seem to be able to compile things just fine? The line in question:

public function addUpdate( f : (dt:Float) -> Void ) {

haxe -version: 3.4.7

Hide CDB TODOs

Fixes

  • closing a list containing an opened script property does not save it
  • reloading page (for example remove a property) does not reapply filter
  • tilesets are not reload when changed on disk
  • when api.xml changes, refresh all scripts check in current page (not only opened editors)

Done Already

  • change tab and Ctrl+F --> won't work (focus problem)
  • Ctrl F / click on editor / click on filter box --> no focus
  • F12 to jump to a Reference no longer works
  • in l3d cdb props, changing a REF turns it into #NULL (persist with undo/redo)
  • after adding a new field to a TList, does not refresh (needs to close/open). delete works
  • esc after filter does not put cursor in view
  • creating a new subsheet should insert it after the original sheet in cdb data
  • no undo on delete column !!
  • add property field on list while some already opened (npc.require*) trigger exception
  • List > Props > List : not cursor selected on click
  • Custom Types
  • undo/redo on create table : does not refresh table list
  • cleanup undo mess : undo handled by view, safe current sheet + scroll pos
  • Undo does not persist well when switching table (like CDB)
  • Shift+Enter on id triggers exception
  • double click required to open script (instead of single click for other ui)
  • open script column, click on a ref cell then click back on script : keys input trigger ref dialog
  • using MoveUp or Ctrl+Up/Down on a list element does not work (applies to parent!)
  • same for Paste on a Property : will paste on the root as well
  • using MoveUp on topmost element should move before first separator
  • have a different selection color of opened subsections whereas you have cursor into it or not (problem when several parallel of them opened)
  • when doing Ctrl+Down many times to move a line downwards with separators, sometimes we loose the cursor selection
  • moving cursors with arrows in filtered view moves it also on hidden lines
  • bigger scrollbar width for easier dragging
  • full screen view : chrome flex bug hiding tabs (move tab header to bottom like old CDB)
  • empty database : allow create sheet
  • fixed columns : not displayed correctly over the current columns
  • fixed columns : when opening a table with Database > View > resources it will duplicate the ids (not sure why)
  • fixed columns : bug on subtable (should be disabled)
  • Ctrl+F for filter : filter not working, pressing escape loose focus
  • Undo creates #DUP errors (need to switch table)
  • support sheet popup
  • create sheet : need undo
  • add first column on new sheet : no refresh
  • add an empty List and open : no ability to insert column
  • open two Properties, change a Reference value on one --> the other one gets focus
  • new sheet -> should display it
  • add new column on subtable --> should not add to top level bar
  • Ctrl+V with clipboard plain string does not work on UID
  • Ctrl+F not working if we click on a table tab (no focus)
  • display of Flags list is scrolling down additionally to the table scroll
  • change Property Reference -> lose focus?
  • add new Properties field, open, add a new field --> null access
  • delete a column : no redo ? no save ?
  • close and restart (or rename sheet) should get back to latest opened sheet(s)
  • AllEditors should also return embedded editors
  • when reloading CDB, clear undo (prevent undoing external changes)
  • bluring after text edition when scroll is below the page bottom will slightly scroll up (annoying)
  • right click on label should not show browser popup
  • list in props requires double click to toggle
  • adding a field in a list in a props trigger exception

Ctrl + G in script files doesn't work properly

Quand j'ouvre un fichier de script et que je fais un Ctrl + G pour aller à une ligne donnée, si je clique sur le texte je suis renvoyée en haut du fichier. Il faut que je fasse Ctrl + G puis Entrer pour rester au bon endroit.

Adding a compilation environnement in the README + build process ?

Hello,

I'm trying to compile hide editor without any success at the moment.

My haxe compiler version is : Haxe Compiler 4.0.0-preview.5+a22c346aa
I've slighly modified the hxnodejs externs in order to get the buffer implementation right, but still no luck to run hide.hxml.

hide/comp/cdb/Editor.hx:580: characters 42-48 : Identifier 'Script' is not part of cdb.ColumnKind
hide/comp/cdb/Cell.hx:24: characters 22-28 : Identifier 'Script' is not part of cdb.ColumnKind
hide/comp/cdb/Cell.hx:68: characters 30-36 : Identifier 'Script' is not part of cdb.ColumnKind
C:\Users\Documents\hide\.haxelib\hscript/2,3,0/hscript/Checker.hx:298: characters 18-19 : Unmatched patterns: CTNamed | CTOpt
hide/comp/cdb/Cell.hx:250: characters 35-41 : Identifier 'Script' is not part of cdb.ColumnKind
hide/comp/cdb/Cell.hx:490: characters 48-54 : Identifier 'Script' is not part of cdb.ColumnKind
hide/comp/cdb/Cell.hx:538: characters 35-41 : Identifier 'Script' is not part of cdb.ColumnKind
hide/comp/cdb/Cell.hx:234: characters 35-41 : Identifier 'Script' is not part of cdb.ColumnKind
hide/Ide.hx:783: characters 4-20 : cdb.Database has no field cleanup
C:\Users\Documents\hide\.haxelib\castle/1,6,1/cdb/Lang.hx:200: characters 62-75 : Warning : This typedef is deprecated in favor of haxe.xml.Access
hide/Renderer.hx:162: characters 3-13 : Unknown identifier : renderPass
hide/Renderer.hx:163: characters 3-13 : Unknown identifier : renderPass
hide/Renderer.hx:164: characters 3-13 : Unknown identifier : renderPass
hide/Renderer.hx:177: characters 3-13 : Unknown identifier : renderPass
hide/Renderer.hx:178: characters 3-13 : Unknown identifier : renderPass
hide/Renderer.hx:179: characters 3-13 : Unknown identifier : renderPass
hide/Renderer.hx:180: characters 3-13 : Unknown identifier : renderPass
C:\Usersr\Documents\hide\.haxelib\domkit/git/domkit/MetaComponent.hx:371: characters 74-87 : Too many arguments
C:\Users\Documents\hide\.haxelib\heaps/1,6,1/h2d/domkit/Object.hx:4: characters 1-8 : Build failure
hide/Ide.hx:5: lines 5-957 : Defined in this class
C:\Users\Documents\hide\.haxelib\heaps/1,6,1/h2d/domkit/BaseComponents.hx:183: character 1 : Build failure

Any idea how to fix that?
More generally, is it possible to maintain a compilation dependency/environement in the readme file until everything get stable (haxe/hide)?

Thanks

(Question) Icons and polygons for custom nodes in the 3d map

Hi! I just read the article about Shiro games technology stack, and saw this screenshot of HIDE:
image

In it there are nodes with icons (the monster heads), and the colorful polygon shapes, for navigation I guess?
For my game I'm currently just using a textured box for characters on the map, and been looking into adding bounding volumes for logic. I was wondering if support for icons and custom polys are in the editor by default, or if it's a custom thing for Darksburg?

Issues on first compile

Tried to compile it with haxe hide.hxml

Some blockers :
haxelib castle version has no Database. needs git version
haxelib hxbit also missing something. needs git version

But finally when I try to compile with haxe hide.hxml I'm getting

.../heaps/1,0,0/hxd/fs/LocalFileSystem.hx:86: characters 11-27 : Class<sys.io.File> has no field read
.../hscript/2,1,1/hscript/Macro.hx:56: characters 21-23 : Unmatched patterns: OpIn
.../hscript/2,1,1/hscript/Macro.hx:188: characters 18-72 : Identifier 'EIn' is not part of haxe.macro.ExprDef (Suggestion: EIf)
.../hscript/2,1,1/hscript/Macro.hx:188: characters 18-72 : For function argument 'it'
.../hscript/2,1,1/hscript/Macro.hx:186: lines 186-188 : Void should be haxe.macro.ExprDef

How do I install HIDE on Linux?

There is no documentation about how to install HIDE for any platform. I've tried installing through haxelib and manually. Using Haxelib just doesn't run the program at all, and compiling manually gives a huge list of errors:
[william@arch hide]$ haxe hide.hxml /home/william/Haxe/hscript/2,3,0/hscript/Macro.hx:217: characters 15-19 : Null<String> should be Null<haxe.macro.FunctionKind> /home/william/Haxe/hscript/2,3,0/hscript/Macro.hx:217: characters 15-19 : For function argument 'kind' /home/william/Haxe/hscript/2,3,0/hscript/Macro.hx:208: lines 208-222 : Void should be haxe.macro.ExprDef hide/comp/SceneEditor.hx:928: characters 42-51 : h2d.Object has no field getAbsPos hide/comp/SceneEditor.hx:956: characters 8-20 : ({+ y : Float, x : Float, multiply : Unknown<0>, c : Int, b : Int }, h2d.col.Matrix) -> Unknown<1> should be Unknown<0> hrt/shader/Terrain.hx:105: characters 9-14 : Unknown identifier 'ivec3' hrt/shader/Terrain.hx:3: character 1 : Build failure hrt/shader/Terrain.hx:3: character 1 : For function argument 'c' hide/Scene.hx:6: lines 6-197 : Defined in this class hrt/prefab/terrain/Tile.hx:70: characters 10-19 : hrt.shader.Terrain has no field heightMap hrt/prefab/terrain/Tile.hx:632: characters 15-22 : hrt.shader.Terrain has no field CHECKER hrt/prefab/terrain/Tile.hx:632: characters 34-48 : hrt.shader.Terrain has no field weightTextures hrt/prefab/terrain/Tile.hx:632: characters 67-81 : hrt.shader.Terrain has no field weightTextures hrt/prefab/terrain/Tile.hx:635: characters 15-22 : hrt.shader.Terrain has no field CHECKER hrt/prefab/terrain/Tile.hx:635: characters 34-44 : hrt.shader.Terrain has no field COMPLEXITY hrt/prefab/terrain/Tile.hx:636: characters 15-29 : hrt.shader.Terrain has no field albedoTextures hrt/prefab/terrain/Tile.hx:636: characters 48-62 : hrt.shader.Terrain has no field albedoTextures hrt/prefab/terrain/Tile.hx:637: characters 15-29 : hrt.shader.Terrain has no field normalTextures hrt/prefab/terrain/Tile.hx:637: characters 48-62 : hrt.shader.Terrain has no field normalTextures hrt/prefab/terrain/Tile.hx:638: characters 15-26 : hrt.shader.Terrain has no field pbrTextures hrt/prefab/terrain/Tile.hx:638: characters 45-56 : hrt.shader.Terrain has no field pbrTextures hrt/prefab/terrain/Tile.hx:639: characters 15-30 : hrt.shader.Terrain has no field surfaceIndexMap hrt/prefab/terrain/Tile.hx:639: characters 49-64 : hrt.shader.Terrain has no field surfaceIndexMap hrt/prefab/terrain/Tile.hx:581: characters 10-19 : hrt.shader.Terrain has no field SHOW_GRID hrt/prefab/terrain/Tile.hx:582: characters 10-17 : hrt.shader.Terrain has no field CHECKER hrt/prefab/terrain/Tile.hx:583: characters 10-20 : hrt.shader.Terrain has no field COMPLEXITY hrt/prefab/terrain/Tile.hx:584: characters 10-29 : hrt.shader.Terrain has no field VERTEX_DISPLACEMENT hrt/prefab/terrain/Tile.hx:585: characters 10-23 : hrt.shader.Terrain has no field SURFACE_COUNT hrt/prefab/terrain/Tile.hx:586: characters 10-18 : hrt.shader.Terrain has no field PARALLAX hrt/prefab/terrain/Tile.hx:588: characters 10-18 : hrt.shader.Terrain has no field primSize hrt/prefab/terrain/Tile.hx:589: characters 10-18 : hrt.shader.Terrain has no field cellSize hrt/prefab/terrain/Tile.hx:590: characters 34-47 : hrt.shader.Terrain has no field heightMapSize hrt/prefab/terrain/Tile.hx:592: characters 10-24 : hrt.shader.Terrain has no field albedoTextures hrt/prefab/terrain/Tile.hx:593: characters 10-24 : hrt.shader.Terrain has no field normalTextures hrt/prefab/terrain/Tile.hx:594: characters 10-21 : hrt.shader.Terrain has no field pbrTextures hrt/prefab/terrain/Tile.hx:595: characters 10-24 : hrt.shader.Terrain has no field weightTextures hrt/prefab/terrain/Tile.hx:596: characters 10-19 : hrt.shader.Terrain has no field heightMap hrt/prefab/terrain/Tile.hx:597: characters 10-25 : hrt.shader.Terrain has no field surfaceIndexMap hrt/prefab/terrain/Tile.hx:599: characters 10-23 : hrt.shader.Terrain has no field surfaceParams hrt/prefab/terrain/Tile.hx:600: characters 10-29 : hrt.shader.Terrain has no field secondSurfaceParams hrt/prefab/terrain/Tile.hx:601: characters 10-19 : hrt.shader.Terrain has no field tileIndex hrt/prefab/terrain/Tile.hx:602: characters 10-24 : hrt.shader.Terrain has no field parallaxAmount hrt/prefab/terrain/Tile.hx:603: characters 10-17 : hrt.shader.Terrain has no field minStep hrt/prefab/terrain/Tile.hx:604: characters 10-17 : hrt.shader.Terrain has no field maxStep hrt/prefab/terrain/Tile.hx:605: characters 10-29 : hrt.shader.Terrain has no field heightBlendStrength hrt/prefab/terrain/Tile.hx:606: characters 10-24 : hrt.shader.Terrain has no field blendSharpness hide/view/l3d/CameraController2D.hx:184: characters 10-14 : h3d.col.Point has no field lerp hide/view/l3d/Gizmo2D.hx:28: characters 40-55 : Class<hxd.CustomCursor> has no field getNativeCursor hide/view/l3d/Gizmo2D.hx:29: characters 41-56 : Class<hxd.CustomCursor> has no field getNativeCursor hide/view/l3d/Gizmo2D.hx:30: characters 41-56 : Class<hxd.CustomCursor> has no field getNativeCursor hide/view/l3d/Gizmo2D.hx:31: characters 38-53 : Class<hxd.CustomCursor> has no field getNativeCursor hide/comp/SceneEditor.hx:398: characters 20-27 : h3d.scene.CameraController has no field onClick hide/comp/SceneEditor.hx:423: characters 49-56 : h3d.scene.CameraController has no field onClick hrt/prefab/l3d/Environment.hx:69: characters 23-35 : h3d.scene.pbr.Environment has no field getMipLevels hrt/prefab/l3d/Environment.hx:154: characters 23-35 : h3d.scene.pbr.Environment has no field getMipLevels hrt/prefab/l3d/Environment.hx:203: characters 8-18 : h3d.scene.pbr.Environment has no field equiToCube hrt/prefab/l3d/Environment.hx:224: characters 8-17 : h3d.scene.pbr.Environment has no field threshold hrt/prefab/l3d/Environment.hx:225: characters 8-13 : h3d.scene.pbr.Environment has no field scale hrt/prefab/l3d/Environment.hx:229: characters 7-10 : h3d.scene.pbr.Environment has no field rot hrt/prefab/l3d/Environment.hx:232: characters 7-21 : h3d.scene.pbr.Environment has no field createTextures /home/william/Haxe/hscript/2,3,0/hscript/Checker.hx:298: characters 18-19 : Unmatched patterns: CTNamed | CTOpt hide/comp/ScriptEditor.hx:69: characters 14-26 : hscript.Checker has no field removeGlobal hide/comp/ScriptEditor.hx:125: characters 26-113 : { t : hscript.TType, params : Array<hscript.TType>, name : String, isPublic : Bool, complete : Bool, canWrite : Bool } has extra field complete hide/comp/ScriptEditor.hx:125: characters 26-113 : { t : hscript.TType, params : Array<hscript.TType>, name : String, isPublic : Bool, complete : Bool, canWrite : Bool } has extra field canWrite hide/comp/ScriptEditor.hx:125: characters 26-113 : For function argument 'value' hide/comp/ScriptEditor.hx:143: characters 14-24 : hscript.Checker has no field setGlobals (Suggestions: setGlobal, getGlobals) hide/comp/ScriptEditor.hx:148: characters 11-27 : hscript.Checker has no field allowUntypedMeta hide/comp/ScriptEditor.hx:149: characters 11-29 : hscript.Checker has no field allowGlobalsDefine hide/comp/ScriptEditor.hx:205: characters 10-22 : hscript.Parser has no field resumeErrors hide/comp/ScriptEditor.hx:208: characters 37-41 : Too many arguments hide/comp/ScriptEditor.hx:210: characters 16-42 : Module hscript.Checker does not define type Completion hide/comp/ScriptEditor.hx:228: characters 14-19 : Cannot access private field unify hide/comp/ScriptEditor.hx:284: characters 36-37 : Void should be hscript.TType hide/comp/ScriptEditor.hx:284: characters 36-37 : For function argument 't' hide/comp/ScriptEditor.hx:282: characters 8-9 : Variables of type Void are not allowed

Level3D TODOs

Important

  • Lock mode : Right click Lock checkbox on menu to lock a single element or a whole group wrt selection
  • Polygon : click selection does not work in Custom Mode
  • Right click does not trigger on background (can't add toplevel instance)
  • Right click to add Object (worldpos) does not add it at the good position if on a parent
  • Project > Open > Cancel trigger exception
  • modify CDB base while object displayed : add #NULL to references
  • right click on CDB reference > open
  • bug bounding boxes (interactive) on player / reference
  • opening a NG model from another project gives error (renderer.prefab) --> don't use some props for external model?
  • a reference to a removed prefab trigger errors and cannot be deleted
  • can't click on 2d icon pixels to select instance
  • instance gets created inside right clicked element
  • each click generates undo
  • no undo/redo for sprays
  • open l3d only (close resources) / view->resources / can't resize window + restart broken

Editor:

  • add a selector tool that mimics L shortcut
  • issue with PBR Materials : Alpha models should become PBR AlphaKill (?)
  • several clicks on (i) (Scene info panel) are showing several times the panel instead of toggling
  • text infos (top down counters) should be togglable (maybe wiht [i] + right click to open texture details?)
  • New... menu should show each element icons
  • New... menu should allow all prefabs and group by category (todo : create categories - with icons - for prefabs)
  • Polygon : switch between Quad and Custom bugs with scale != 1
  • switching project ask "save before quit", but save in new project directory, and saying no gets into some kind of loop (?)
  • edit cdb props : pb de CSS (leger scroll / mask quand on edit un champ)
  • Only update heaps scene when mouse is over. Slow-ish scenes (20 fps) make it really annoying to use scene tree / properties

Terrain:

  • should not require PBR + Normal maps (fallback to 0 if not set)
  • should allow Ctrl (or Shift) + wheelMouse while editing to change the brush size
  • new tiles are not created with lighting enabled ? (does not seem to take lights into account)

GI issues

  • after baking, toggling visible off does hide VLM (correct). toggling on again doesn't work (no GI applied)

How do we run hide?

It's unclear from the README how we can compile or run hide. How do we do this? Are there up-to-date binaries hosted somewhere?

Hide fails to compile when running haxe hide.hxml

Hello,

I am following the directions from the repository front page on how to install Hide. When I run the command:
haxe hide.hxml
I get the following error:
hrt/prefab/l3d/AdvancedDecal.hx:127: characters 13-23 : h3d.shader.pbr.DecalOverlay has no field AUTO_ALPHA
In order to build with no errors, I have to go into the shader and comment out line 127.

I do have the latest version of Haxe and I did install all the listed libraries. I have tried this on Windows 10 and Mac OS X.

[Haxe 4.0.1] Build error

C:\Users\GANAPATI\projects\hide>haxe hide_rt.hxml
hrt/shader/Terrain.hx:99: characters 10-15 : Unknown identifier 'ivec3'
hrt/shader/Terrain.hx:3: character 1 : Build failure

CDB Integration

In order to complete CDB integration there is need for:

  • finalize cell edit, with correct undo/redo
  • ref edit with searchable list component
  • tile selection with new component
  • other edits: bool, enum, flags, color, file
  • custom types edition
  • sheet properties popup
  • new sheet storage options (separate files)
  • column edit/add/remove
  • properties add/remove
  • new type to choose a sprite from an atlas
  • level editor integration

Allow stylesheet plugins

Currently only javascript plugins can be loaded. However when implementing custom components and such, being able to inject css as well is preferable. Current obvious workaround is to load said css via entry point of plugin, but it's not ideal, since plugin have no clue where it is relative to IDE working directory (well, via Ide.inst.scripts clutch it can, but yeah - clutches).
What I propose:

  1. Replace loadScript with loadPlugin method that also capable of loading css files. (Keeping loadScript for backward compat, just in case)
  2. When presented with a string path, check file extension and load plugin as css stylsheet when extension is css.
  3. Allow passing a structure to plugins array:
struct PluginDescriptor = {
  @:optional var file:String;
  @:optional var type:String;
  @:optional var js:String;
  @:optional var css:String;
};

Where file and type can be used as path to specified plugin file and it's type. js and css are just file paths that would be loaded with their respective types.
As a result, plugins that are purely css (or js) can be loaded as:
["plugin.css", { css: "plugin.css" }, { file: "plugin.css", type: "css" }]
And when plugin utilizes both, it can be logically joined in a single object: [ { js: "plugin.js", css: "plugin.css" } ].
P.S. I already kinda implemented it, so I can just make a PR, but want to discuss it first. I'm doubting the need in file/type part for example.

Error when compiling hide

Hello,
I just started using the Haxe language and Heaps framework, it was a quite nice experience using haxelib to get things up and running. However I could not get hide to work, I followed the instructions as in #1 and I get the following error:
hide/prefab/l3d/VolumetricLightmap.hx:134: characters 4-19 : h3d.shader.pbr.SHDisplay has no field strength
hide/prefab/l3d/VolumetricLightmap.hx:157:characters 24-39 : h3d.shader.pbr.SHDisplay has no field strength.

I use Win7 with Intel HD 4000 and have the following libraries installed as listed in haxelib:
castle: [git]
format: [3.4.1]
heaps: 1.4.0 [git]
hide: [git]
hscript: [git]
hx3compat: [1.0.2]
hxbit: [git]
hxnodejs: [git]

also extracted nwjs and dropped into bin under hide.
Thanks!

Info about using prefabs in Heaps

I am trying to get a simple prefab added to the stage in Heaps, but I am not entirely sure on how to. Is there an automatic way to instantiate the prefab, or do I have to parse the prefab file manually?

Hide diff : White list a property but having exceptions for some entries

It would be so nice to allow the edition of a given property in cdb, but to forbid any changes of this property for some elements. For example, we could allow to modify onlyForClans or notForClans property for units, but forbid to change it for Dragonmen who are only available with the dragon clan

Use vscode directly instead of monaco

So I found this recently which shows that vscode can run directly from the browser hence it should potentially run in NW.js.

Advantages over monaco would be:

  • direct integration of vscode extensions in the code editor of Hide
  • Minimize duplication of work on the extension code and the potential monaco extension
  • The code from the project in the aforementioned webapp is available here and could serve as an example.

Disavantages would be:

  • learning how to integrate vscode for the web
  • then implementing that in context of nodewebkit.

Can't generate hide.js

Hi, Following the read me in the Hide repo I have completed the requirements of step one and can write, run, and build a Heap projects, but when I run "haxe hide.hxml" from the root of the Hide repo I get the following output and the hide.js file is not generated:

PS E:\dev\Game\Heaps\tools\hide> haxe .\hide.hxml
E:\dev\HaxeToolkit\haxe\lib\hscript/2,3,0/hscript/Macro.hx:217: characters 15-19 : Null should be Null<haxe.macro.FunctionKind>
E:\dev\HaxeToolkit\haxe\lib\hscript/2,3,0/hscript/Macro.hx:217: characters 15-19 : For function argument 'kind'
E:\dev\HaxeToolkit\haxe\lib\hscript/2,3,0/hscript/Macro.hx:208: lines 208-222 : Void should be haxe.macro.ExprDef
E:\dev\HaxeToolkit\haxe\lib\hscript/2,3,0/hscript/Checker.hx:298: characters 18-19 : Unmatched patterns: CTNamed | CTOpt
hide/comp/ScriptEditor.hx:69: characters 14-26 : hscript.Checker has no field removeGlobal
hide/comp/ScriptEditor.hx:97: characters 56-60 : hscript.TType has no field name
hide/comp/ScriptEditor.hx:97: characters 81-85 : hscript.TType has no field args
hide/comp/ScriptEditor.hx:97: characters 107-111 : hscript.TType has no field args
hide/comp/ScriptEditor.hx:135: characters 26-113 : { t : hscript.TType, params : Array<hscript.TType>, name : String, isPublic : Bool, complete : Bool, canWrite : Bool } has extra field complete
hide/comp/ScriptEditor.hx:135: characters 26-113 : { t : hscript.TType, params : Array<hscript.TType>, name : String, isPublic : Bool, complete : Bool, canWrite : Bool } has extra field canWrite
hide/comp/ScriptEditor.hx:135: characters 26-113 : For function argument 'value'
hide/comp/ScriptEditor.hx:153: characters 14-24 : hscript.Checker has no field setGlobals (Suggestions: setGlobal, getGlobals)
hide/comp/ScriptEditor.hx:158: characters 11-27 : hscript.Checker has no field allowUntypedMeta
hide/comp/ScriptEditor.hx:159: characters 11-29 : hscript.Checker has no field allowGlobalsDefine
hide/comp/ScriptEditor.hx:215: characters 10-22 : hscript.Parser has no field resumeErrors
hide/comp/ScriptEditor.hx:218: characters 37-41 : Too many arguments
hide/comp/ScriptEditor.hx:220: characters 16-42 : Module hscript.Checker does not define type Completion
hide/comp/ScriptEditor.hx:238: characters 14-19 : Cannot access private field unify
hide/comp/ScriptEditor.hx:294: characters 36-37 : Void should be hscript.TType
hide/comp/ScriptEditor.hx:294: characters 36-37 : For function argument 't'
hide/comp/ScriptEditor.hx:292: characters 8-9 : Variables of type Void are not allowed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.