yes I think the pipe is deprecated now, you can replace it but I don't know about the \\, I think it depends on the OS. You can add the \\ and we will update if it is different for other OS.
Wiki Gideros Rocks October 2024 update : -https://wiki.gideros.rocks/index.php/Dear_ImGui that was a BIG one to tackle. It basically consists of copy/paste from rrraptor's GH, various official Dear ImGui sources, various Dear ImGui Gideros c++ source files. I consider it complete but could always be better - updated https://wiki.gideros.rocks/index.php/Exporting_to_a_Player with a little bit more info - some Sprites Constants were left without a proper Wiki page: fixed - deleted quite a bit of Wiki pages
What's left? - some Gideros Lua Shader Functions are not documented https://wiki.gideros.rocks/index.php/Writing_Lua_Shaders - add a LOSC section - add/complete Written Tutorials - a proper Gideros 3D Section with demo/samples/tutorials - ...
FYI: https://wiki.gideros.rocks//gidapi.php is now 2880 lines long, not all ImGui may be relevant Example: acceptDragDropPayload?1(type [ImGui] [, ImGui.DragDropFlags flags = 0]) ImGuiPayload = ImGui:acceptDragDropPayload(...) add?1(line, [ErrorMarkers] message) add?1(line) [Breakpoints] addCustomRectFontGlyph?1(font, [FontAtlas] id, width, height, advance_x [, offset_x, offset_y]) number = FontAtlas:addCustomRectFontGlyph(...) addCustomRectRegular?1(width, [FontAtlas] height) number = FontAtlas:addCustomRectRegular(...) addLine?1(p1_x, [DrawList] p1_y, p2_x, p2_y, color [, alpha = 1, thickness = 1]) addMouseButtonEvent?1(button, [IO] down) "button" is any ImGui button (check MouseButton), "down" is a boolean
-- construct a looping 6 frame animation playing 5 times slower than the previous example local mc = MovieClip.new{ {1, 5, frame1}, {5, 10, frame2}, {11, 15, frame3}, {16, 20, frame4}, {21, 25, frame5}, {26, 30, frame6}, }
Comments
Likes: MoKaLux, pie
Fragmenter - animated loop machine and IKONOMIKON - the memory game
https://wiki.gideros.rocks/index.php/Tutorial_-_tiny-ecs_demo
I need to test it from scratch thoughTESTEDEnjoy!
Likes: pie
I noticed that there is an example which has to be updated to work but I don't know if there is a reason why it's written like that:
shoud we fix it or write some explanation about the pipe?
Likes: MoKaLux
You can add the \\ and we will update if it is different for other OS.
Likes: pie
-https://wiki.gideros.rocks/index.php/Dear_ImGui that was a BIG one to tackle. It basically consists of copy/paste from rrraptor's GH, various official Dear ImGui sources, various Dear ImGui Gideros c++ source files. I consider it complete but could always be better
- updated https://wiki.gideros.rocks/index.php/Exporting_to_a_Player with a little bit more info
- some Sprites Constants were left without a proper Wiki page: fixed
- deleted quite a bit of Wiki pages
What's left?
- some Gideros Lua Shader Functions are not documented https://wiki.gideros.rocks/index.php/Writing_Lua_Shaders
- add a LOSC section
- add/complete Written Tutorials
- a proper Gideros 3D Section with demo/samples/tutorials
- ...
FYI: https://wiki.gideros.rocks//gidapi.php is now 2880 lines long, not all ImGui may be relevant
Example:
acceptDragDropPayload?1(type [ImGui] [, ImGui.DragDropFlags flags = 0]) ImGuiPayload = ImGui:acceptDragDropPayload(...)
add?1(line, [ErrorMarkers] message)
add?1(line) [Breakpoints]
addCustomRectFontGlyph?1(font, [FontAtlas] id, width, height, advance_x [, offset_x, offset_y]) number = FontAtlas:addCustomRectFontGlyph(...)
addCustomRectRegular?1(width, [FontAtlas] height) number = FontAtlas:addCustomRectRegular(...)
addLine?1(p1_x, [DrawList] p1_y, p2_x, p2_y, color [, alpha = 1, thickness = 1])
addMouseButtonEvent?1(button, [IO] down) "button" is any ImGui button (check MouseButton), "down" is a boolean
I can remove them if needed!
Viva Gideros!
Likes: hgy29, keszegh, PaulH, talis
Likes: MoKaLux, kinrpg
Likes: MoKaLux, kinrpg
Fragmenter - animated loop machine and IKONOMIKON - the memory game
I added ColorValue, Core.getScriptPath, apply pending style changes, Liquidfun missing particles APIs.
PS: thank you hgy29 for [layout] Add an option to set aspect ratio for a Sprite's content https://wiki.gideros.rocks/index.php/Sprite:setLayoutConstraints I couldn't have done it
I will continue working on the wiki God's willing, I like digging Gideros
Likes: pie
- Cute c2: despite being available since Gideros 2022.6 it didn't have a wiki page. Fixed: https://wiki.gideros.rocks/index.php/Cute_c2
- tuto beat'em up: https://wiki.gideros.rocks/index.php/Tutorial_-_tiny-ecs_beatemup
- added LOSC with a cool Pixel demo https://wiki.gideros.rocks/index.php/Gideros_LOSC (many thanks to keszegh for the demo)
Tell me what you think is missing in the wiki, need improvement, ...
Viva Gideros!
Likes: keszegh, hgy29
Likes: MoKaLux
Fragmenter - animated loop machine and IKONOMIKON - the memory game
https://wiki.gideros.rocks/index.php/MovieClip
-- construct a looping 6 frame animation playing 5 times slower than the previous example
local mc = MovieClip.new{
{1, 5, frame1},
{5, 10, frame2},
{11, 15, frame3},
{16, 20, frame4},
{21, 25, frame5},
{26, 30, frame6},
}
Likes: MoKaLux
-- set the color array as (0, 0), (100, 0) and (0, 100)
mesh:setTextureCoordinateArray(0, 0, 100, 0, 0, 100)
The above comment is wrong it should say
-- set the texture coordinate array as (0, 0), (100, 0) and (0, 100)
Likes: MoKaLux