Search results

From GiderosMobile

Page title matches

Page text matches

  • Contains x and y properties with normalized vector values (from -1 to 1). For example: ''{ y = -1, x = 0 }''
    266 bytes (38 words) - 03:01, 1 December 2023
  • Contains x and y properties with normalized vector values (from -1 to 1). For example: { y = -1, x => 0 }
    273 bytes (36 words) - 09:44, 15 January 2022
  • local nc,nf=1,1 for i=3,steps*4-1,4 do ca[nc]=i+1 nc+=1 end
    946 bytes (147 words) - 15:32, 13 July 2023
  • local deltaX={0,-1,1,0,0,-1,1,0,0,-1,1,0,0,-1,1,0} local deltaY={0,0,0,0,1,1,1,1,-1,-1,-1,-1,0,0,0,0}
    2 KB (234 words) - 15:27, 13 July 2023
  • Sets the red, green, blue and alpha channel multipliers (values between 0 and 1). This function lets you adjust the color multipliers of a display object. ...mber, default = 1) the red multiplier of this sprite (values between 0 and 1)<br/>
    930 bytes (110 words) - 15:33, 13 July 2023
  • {1, 7, self.anim[1]}, {16, 18, self.anim[1]},
    665 bytes (83 words) - 18:08, 12 July 2023
  • '''x''': (number) x vector from -1 to 1<br/> '''y''': (number) y vector from -1 to 1<br/>
    587 bytes (79 words) - 07:05, 11 June 2023
  • '''x''': (number) x vector from -1 to 1<br/> '''y''': (number) y vector from -1 to 1<br/>
    585 bytes (79 words) - 07:04, 11 June 2023
  • '''Available since:''' Gideros 2023.1<br/> layout={fill=1},
    2 KB (181 words) - 08:20, 17 October 2023
  • local tempFontScale=1.02 Core.yield(.1)
    1 KB (157 words) - 15:26, 13 July 2023
  • for loop=1,max do for loop=1,max do
    980 bytes (151 words) - 15:27, 13 July 2023
  • for loop=1,max do for loop=1,max do
    1 KB (159 words) - 15:27, 13 July 2023
  • for loop=1,max do for loop=1,max do
    1,001 bytes (156 words) - 15:27, 13 July 2023
  • application:enableDrawInfo(vector(1, 1, 0, 1)) -- yellow draw info
    489 bytes (55 words) - 18:22, 12 July 2023
  • * for Windows returns 1 value: "Windows"<br/> * for Mac OS X returns 1 value: "Mac OS"<br/>
    2 KB (355 words) - 17:56, 12 July 2023
  • for i = 1, 42 do admin_vogons[#admin_vogons + 1] = Vogon.new()
    921 bytes (112 words) - 15:32, 13 July 2023
  • Returns the size of a texel that is 1/(gpu texture width), 1/(gpu texture height). '''Returns''' (number) the width of the texel: ''1/(gpu texture width)''<br/>
    484 bytes (62 words) - 15:33, 13 July 2023
  • -- first value: height (number) must be in range [0..1]<br/> -- third value: alpha (number, default = 1) must be in range [0..1] (optional)<br/>
    1 KB (148 words) - 15:32, 13 July 2023
  • for loop=1,max do for loop=1,max do
    1 KB (227 words) - 15:26, 13 July 2023
  • '''alpha''': (number) opacity of line from 0 to 1, default 1 '''optional'''<br/>
    351 bytes (43 words) - 15:32, 13 July 2023
  • myShape:moveTo(1,1) myShape:lineTo(100,1)
    1 KB (199 words) - 19:06, 13 November 2023
  • tilemap:shift(-1, 0) -- shifts the tile map to the left tilemap:shift(1, 0) -- shifts the tile map to the right
    756 bytes (116 words) - 15:33, 13 July 2023
  • '''alpha''': (number) opacity of fill from 0 to 1, default 1 '''optional'''<br/>
    447 bytes (56 words) - 15:31, 13 July 2023
  • '''Frame animations 1''' for i = 1, 6 do
    3 KB (387 words) - 07:11, 1 October 2023
  • for i=1,#caminfo.previewSizes,2 do print("-",caminfo.previewSizes[i],caminfo.previewSizes[i+1])
    1 KB (158 words) - 15:27, 13 July 2023
  • {{#widget:GApp|app=3D-Maze-Pebble.GApp|width=480|height=320|auto=1|plugins=json}} local szw=sz*2+1 self.szWalls=szw
    3 KB (535 words) - 05:03, 7 November 2023
  • ...he center of the texture to the origin. If you set the anchor point to (1, 1) instead, the bottom-right corner of the texture will be the origin. The de '''x''': (number) the x coordinate of anchor point, usually between [0, 1]<br/>
    888 bytes (129 words) - 15:27, 13 July 2023
  • local r = (math.sin(t * 0.5 + 0.3) + 1) / 2 local g = (math.sin(t * 0.8 + 0.2) + 1) / 2
    870 bytes (110 words) - 15:31, 13 July 2023
  • ...number) max alpha value when pad is visible on screen (value between 0 and 1)<br/> ...(number) min alpha value when pad is in “ghost” mode (value between 0 and 1)<br/>
    482 bytes (59 words) - 15:26, 13 July 2023
  • Returns a new table with all arguments stored into keys 1, 2, etc. and with a field "'''n'''" with the total number of arguments. local t = table.pack(1, 2, 3)
    729 bytes (98 words) - 15:33, 13 July 2023
  • bitmap:setPosition(32*1, 32*4) bitmap2:setPosition(32*6, 32*1)
    957 bytes (130 words) - 05:49, 5 November 2023
  • self.currColor = self.colors[1] --current color self.n = self.n + 1
    3 KB (452 words) - 20:43, 12 October 2023
  • Returns the unsigned number formed by the bits field to field + width - 1 from n. .... All accessed bits must be in the range [0, 31]. The default for width is 1'''
    708 bytes (92 words) - 15:27, 13 July 2023
  • Sets the damping ratio of this distance joint. 0 = no damping, 1 = critical damping. ...ce joint you would set the frequency equals to 0 and the damping equals to 1.
    964 bytes (122 words) - 18:14, 12 July 2023
  • mesh:setIndex(1, 10) mesh:setIndices(1, 10, 2, 11, 3, 12)
    723 bytes (87 words) - 15:30, 13 July 2023
  • sysDark=-1 -- device[1]=="Web"
    2 KB (233 words) - 15:31, 13 July 2023
  • for i = 1, #t, 2 do table.insert(r, t[i] .. " @ " .. i // 2 + 1)
    2 KB (257 words) - 15:31, 13 July 2023
  • ...ch is the same as the string length). In particular, the call string.sub(s,1,j) returns a prefix of s with length j, and string.sub(s, -i) returns a suf print(string.sub(mynme, 1, 3)) -- nme
    942 bytes (146 words) - 15:33, 13 July 2023
  • anim1[1] = Bitmap.new(Texture.new("images/Smile1.png")) -- First 10 frames are anim[1], the rest are anim[2]
    3 KB (414 words) - 19:08, 13 November 2023
  • --axisx, axisy values usually between 0 and 1 --0 1 force pulling back on y axis
    1 KB (193 words) - 15:27, 13 July 2023
  • ...ce joint you would set the frequency equals to 0 and the damping equals to 1. ...cy''': (number) the mass-spring-damper frequency in Hertz (usually between 1 and 5)<br/>
    1,022 bytes (130 words) - 18:07, 12 July 2023
  • ...ch is the same as the string length). In particular, the call string.sub(s,1,j) returns a prefix of ''s'' with length ''j'', and string.sub(s, -i) retur ...translation of negative indices, ''i'' is less than 1, it is corrected to 1. If ''j'' is greater than the string length, it is corrected to that length
    1 KB (187 words) - 21:36, 1 December 2023
  • ...evice locale. The locale string is a combination of ISO 639-1 and ISO 3166-1. For example, en_US, ja_JP.
    392 bytes (48 words) - 17:53, 12 July 2023
  • mesh:setVertex(1, 100, 100) mesh:setVertices(1, 100, 100, 2, 150, 100, 3, 100, 150)
    791 bytes (87 words) - 15:30, 13 July 2023
  • '''Available since:''' Gideros 2023.1<br/> local way = 1
    835 bytes (106 words) - 08:16, 17 October 2023
  • '''Available since:''' Gideros 2018.1<br/> local tts = TTS.new("fr", 1, 1)
    3 KB (379 words) - 15:33, 13 July 2023
  • [[https://code.gideros.rocks/?GIDEROS_AUTOLOAD=1&GIDEROS_GAPP=https://wiki.giderosmobile.com/index.php?title=Special:Redirec Border={class=UI.Border.Basic, params={ radius=3, bgColor=0x8080FF, bgAlpha=1}},
    4 KB (440 words) - 15:29, 13 July 2023
  • --axisx, axisy values usually between 0 and 1 --0 1 moves on y axis
    1 KB (194 words) - 15:27, 13 July 2023
  • if(n - (n//1) > 0) then error("trying to apply bitwise operation on non-integer!") end if(n < 0) then return to_bits(~(n//1) + 1) end -- negative
    3 KB (454 words) - 00:09, 7 December 2023
  • '''alpha''': (number) alpha value from 0 to 1, default 1 '''optional'''<br/>
    435 bytes (52 words) - 15:32, 13 July 2023
  • '''Available since:''' Gideros 2023.1<br/> { title="Header 1", content= "My first Tab content." },
    1 KB (146 words) - 09:40, 17 October 2023
  • '''Available since:''' Gideros 2016.1<br/> ...at x,y coordinate (RGB are in range of 0 to 255, alpha is in range of 0 to 1).
    1 KB (153 words) - 15:32, 13 July 2023
  • '''number''': (number) body angular damping between 0 and 1 (default = 0 no damping) self.body:setAngularDamping(1)
    592 bytes (74 words) - 15:32, 13 July 2023
  • Returns the alpha transparency of this sprite. 0 means fully transparent and 1 means fully opaque. '''Returns''' (number) the alpha of the sprite (value between 0-1)<br/>
    385 bytes (46 words) - 15:33, 13 July 2023
  • local xsizex = params.sizex or 1 local xsizey = params.sizey or 1
    2 KB (312 words) - 23:41, 18 November 2023
  • Returns the internal numerical codes of the characters s[i], s[i+1], ···, s[j]. The default value for i is 1; the default value for j is i.
    758 bytes (104 words) - 15:33, 13 July 2023
  • mesh:setColor(1, 0xff0000, 0.5) mesh:setColors(1, 0xff0000, 0.5, 2, 0x00ff00, 0.7, 3, 0x0000ff, 1.0)
    830 bytes (104 words) - 15:30, 13 July 2023
  • Returns the internal numerical codes of the characters s[i], s[i+1], ..., s[j]. The default value for i is 1; the default value for j is i. These indices are corrected following the sa
    716 bytes (97 words) - 22:26, 1 December 2023
  • fx = x * filter + fx * (1 - filter) fy = y * filter + fy * (1 - filter)
    2 KB (219 words) - 08:57, 4 November 2023
  • Default: '''0, 1'''<br/> '''cellularDistanceIndex1''': (number) '''integer''' distance indice 1<br/>
    687 bytes (75 words) - 15:30, 13 July 2023
  • mesh:setTextureCoordinate(1, 0, 0) mesh:setTextureCoordinates(1, 0, 0, 2, 100, 0, 3, 0, 100)
    917 bytes (89 words) - 15:31, 13 July 2023
  • '''Example 1''': center an image inside another image ticket:setLayoutParameters{ rowWeights = {1}, columnWeights = {1} }
    3 KB (426 words) - 15:33, 13 July 2023
  • local mypixel = Pixel.new(0xff0000, 1, 64, 64) -- add 1 degree each time the function is called
    914 bytes (112 words) - 15:33, 13 July 2023
  • ...ux, using Wine. Basically on each platform we recommend 1 GHz or more CPU, 1 GB RAM and at least 300 Mb free disk space. iOS: iPod touch 2nd generation or better, iPhone 2 or better, iPad 1 or better
    895 bytes (142 words) - 15:46, 10 September 2018
  • '''data''': (table) an array of values between -1 and 1 describing the waveform of the sound<br/>
    566 bytes (79 words) - 07:44, 31 August 2023
  • ImGui.DrawList:addLine(p1, p2, color, [alpha=1, thickness=1]) -- 1 we start ImGui
    2 KB (215 words) - 15:29, 13 July 2023
  • '''ratio''': (number, default = 1) the gear ratio <br/> revoluteJoint:setMaxMotorTorque(1)
    2 KB (230 words) - 15:27, 13 July 2023
  • local c = 1 c += 1
    551 bytes (64 words) - 15:32, 13 July 2023
  • '''alpha''': (number) the alpha between 0 and 1, default=1 '''optional'''<br/>
    779 bytes (93 words) - 15:29, 13 July 2023
  • '''m11''': (number, default = 1) <br/> '''m22''': (number, default = 1) <br/>
    491 bytes (59 words) - 15:30, 13 July 2023
  • ...e ghost transform (position, rotation, scale, ...) '''since Gideros 2023.9.1''' stage:setLayoutParameters({rowWeights={1},columnWeights={1}})
    4 KB (523 words) - 23:37, 21 September 2023
  • ...vel''': (number) compression level, 0 no compression, 9 best compression, -1 default compression '''optional'''<br/> '''memLevel''': (number) 1 uses minimum memory but is slow and reduces compression ratio; 9 uses maxim
    1 KB (130 words) - 23:33, 1 December 2023
  • *''particles:removeParticles({1,2,3})'' *''particles:removeParticles(1,2,3)''
    566 bytes (60 words) - 21:50, 21 September 2023
  • ...the user wants to purchase. This value should be greater than or equal to 1.</translate> <br/>
    876 bytes (106 words) - 15:33, 13 July 2023
  • '''Available since:''' Gideros 2022.1<br/> '''Returns''' (number) 1 if v is greater than 0, -1 if v is less than 0, or 0 if v is 0
    379 bytes (53 words) - 15:31, 13 July 2023
  • Sets an index in the index array. Indices start from 1. If the index array is not large enough, it is automatically expanded. mesh:setIndex(1, 10)
    562 bytes (69 words) - 15:30, 13 July 2023
  • '''Value:''' 1<br/>
    110 bytes (14 words) - 10:45, 23 December 2022
  • ...vel''': (number) compression level, 0 no compression, 9 best compression, -1 default compression '''optional'''<br/> '''memLevel''': (number) 1 uses minimum memory but is slow and reduces compression ratio; 9 uses maxim
    1 KB (135 words) - 23:38, 1 December 2023
  • ...where all elements are strings or numbers, returns table[i]..sep..table[i+1] ··· sep..table[j]. The default value for sep is the empty string, the default for i is 1, and the default for j is the length of the table. If i is greater than j,
    899 bytes (126 words) - 15:33, 13 July 2023
  • [rounding=0, rounding_corners=ImGui.CornerFlags_All, thickness=1]) '''alpha''': (number) the alpha value between 0 and 1<br/>
    2 KB (250 words) - 15:29, 13 July 2023
  • '''Example 1'''<br/> for loop=1,#result do
    2 KB (190 words) - 15:29, 13 July 2023
  • ...ignx''': (number) the window title align x value, '''usually between 0 and 1'''<br/> ...igny''': (number) the window title align y value, '''usually between 0 and 1'''<br/>
    661 bytes (78 words) - 15:29, 13 July 2023
  • local c = 1 c += 1
    723 bytes (88 words) - 15:32, 13 July 2023
  • If maxRadius < 1 then touch detection for leftPad is left half Screen and right half screen '''maxRadius''': (number) any number (if < 1 then half screen is max)<br/>
    740 bytes (87 words) - 15:27, 13 July 2023
  • Damping parameters should be between -1 and 1, with 0 meaning no damping, and 1 meaning full damping. We generally do not use linear damping because it mak
    1 KB (165 words) - 17:58, 12 July 2023
  • application:setBackgroundColor(vector(0.1, 0.5, 1, 1)) -- r, g, b, a
    813 bytes (89 words) - 17:37, 12 July 2023
  • '''fraction''': (number) the progress, between 0 and 1<br/> if x>1 then x=0 end
    1 KB (148 words) - 15:29, 13 July 2023
  • ...n takes two bitmaps as argument. 1 bitmap for the button ''up'' state, and 1 for the button ''down'' state. If only 1 bitmap is passed, it will be used for both up and down states.
    4 KB (562 words) - 19:17, 26 November 2023
  • self.animspeed = 1 / 7 -- 1 retrieve all anims in spritesheet
    4 KB (581 words) - 23:51, 18 November 2023
  • '''Available since:''' Gideros 2022.1<br/> ...ords, the function rounds away from zero: 0.5 rounds to 1; -0.5 rounds to -1.
    640 bytes (87 words) - 15:31, 13 July 2023
  • local c = 1 c += 1
    728 bytes (88 words) - 15:32, 13 July 2023
  • '''Example 1'''<br/> for loop=1,#result do
    1 KB (195 words) - 15:27, 13 July 2023
  • '''Available since:''' Gideros 2016.1<br/> print(media:getPixel(1, 1))
    742 bytes (91 words) - 15:27, 13 July 2023
  • ...is a prismatic joint, then the ratio will have units of length or units of 1/length. revoluteJoint:setMaxMotorTorque(1)
    2 KB (279 words) - 02:55, 1 December 2023
  • -- 1 we start ImGui drawlist:addCircle(128, 128, 64, 0x00ff00, 1, 32)
    792 bytes (92 words) - 15:29, 13 July 2023
  • -- 1 we start ImGui drawlist:addCircle(128, 128, 64, 0x00ff00, 1, 32)
    792 bytes (92 words) - 15:29, 13 July 2023
  • for i = 1, 10000000 do a += 1
    807 bytes (109 words) - 15:32, 13 July 2023
  • self.world:step(1/60, 8, 3) if bodyA.name == G_PLAYER then bodyA.numfloorcontacts += 1
    3 KB (409 words) - 15:26, 13 July 2023
  • will iterate over the pairs (1,t[1]), (2,t[2]), ..., up to the first integer key absent from the table.
    665 bytes (87 words) - 15:31, 13 July 2023
  • {name="vColor", type=Shader.DUBYTE, mult=4, slot=1, offset=0}, {name="g_Color", type=Shader.CFLOAT4, mult=1, sys=Shader.SYS_COLOR},
    2 KB (314 words) - 22:58, 4 November 2023
  • Sets a vertex in a vertex array. Indices start from 1. If the vertex array is not large enough, it is automatically expanded. mesh:setVertex(1, 100, 100)
    654 bytes (77 words) - 15:30, 13 July 2023
  • local font = TTFont.new("fonts/Tahoma.ttf", 32, "", true, 1) local isEX, isEY = text:getPointFromTextPosition(isE - 1) -- Get 's' end point
    1 KB (183 words) - 15:33, 13 July 2023
  • '''alpha''': (number) alpha value from 0 to 1 '''optional'''<br/> ...re_ax''': (number) Pixel texture horizontal anchor position (between 0 and 1) '''optional'''<br/>
    1 KB (184 words) - 03:15, 8 November 2023
  • -- 1 we start ImGui imgui:textColored("Hello, Y Dear ImGui!", 0xff00ff, 1) -- we add some element to our GUI
    1 KB (169 words) - 15:29, 13 July 2023
  • ...00, --coordinates where "imaginary string" is attached in the air for body 1 200, 300, --coordinates where "imaginary string" is attached to the body 1
    2 KB (320 words) - 15:26, 13 July 2023
  • ''> t = { 3,2,5,1,4 }'' ''1, 2, 3, 4, 5''
    875 bytes (122 words) - 15:33, 13 July 2023
  • '''m11''': (number, default = 1) <br/> '''m22''': (number, default = 1) <br/>
    581 bytes (71 words) - 15:30, 13 July 2023
  • Indices start from 1. If the texture coordinate array is not large enough, it is automatically e mesh:setTextureCoordinate(1, 0, 0)
    755 bytes (83 words) - 15:30, 13 July 2023
  • return list[i], list[i+1], ···, list[j] ...code can be written only for a fixed number of elements. By default, i is 1 and j is the length of the list, as defined by the length operator.
    653 bytes (93 words) - 08:40, 12 May 2024
  • | sign || sign(x) || Returns the sign of x (-1, 0 or 1). | fract || round(x) || Returns 1/floor(x).
    2 KB (287 words) - 02:45, 7 November 2023
  • '''Value:''' 1.#INF<br/>
    174 bytes (22 words) - 23:30, 27 April 2022
  • Sets a color in the color array. Indices start from 1. If the color array is not large enough, it is automatically expanded. '''alpha''': (number, default=1.0) alpha value<br/>
    782 bytes (101 words) - 15:30, 13 July 2023
  • '''numChannels''': (number) number of channels. This value can be 1 for mono and 2 for stereo<br/> ...': (number) quality factor when a compression codec is used, between 0 and 1. Default to 0.5 '''optional'''<br/>
    820 bytes (104 words) - 15:30, 13 July 2023
  • * '''\e[u=''val'']underlined\e[!u]''', ''val'' = line thickness between 0 and 1 ...ine placement (between -1 and 1), ''val2'' = line thickness (between 0 and 1)
    2 KB (279 words) - 19:48, 30 April 2024
  • '''Value:''' 1<br/>
    149 bytes (18 words) - 19:24, 17 September 2023
  • '''<translate>Value</translate>:''' 1<br/>
    291 bytes (34 words) - 13:13, 15 September 2018
  • ...beginning of each frame. A value below 1 will substract and a value above 1 will add to the current value. ...random(4*64),y=math.random(5*64),size=math.random(1,30),color=0xD9B589,ttl=1*60,speedX=0,speedY=0},
    2 KB (298 words) - 15:32, 13 July 2023
  • '''Available since:''' Gideros 2016.1<br/> print(media:getPixel(1, 1))
    905 bytes (98 words) - 15:31, 13 July 2023
  • '''Available since:''' Gideros 2021.1<br/> {name="vColor", type=Shader.DUBYTE, mult=4, slot=1, offset=0},
    3 KB (354 words) - 15:33, 13 July 2023
  • for i = 1, 10 do print(item1) -- I am 1
    841 bytes (123 words) - 15:32, 13 July 2023
  • ...00, --coordinates where "imaginary string" is attached in the air for body 1 200, 300, --coordinates where "imaginary string" is attached to the body 1
    3 KB (420 words) - 17:55, 12 July 2023
  • {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,}, {1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,},
    11 KB (1,490 words) - 10:49, 6 December 2023
  • ...'': (double) a scale factor to apply to the texture pack images (default = 1)<br/> ...) where the images should be laid relative to the text baseline (default = 1)<br/>
    1 KB (173 words) - 15:33, 13 July 2023
  • '''<translate>Value</translate>:''' 1<br/>
    317 bytes (37 words) - 22:21, 3 December 2019
  • '''Value:''' 1<br/>
    221 bytes (27 words) - 09:23, 17 February 2020
  • '''<translate>Value</translate>:''' 1<br/>
    333 bytes (38 words) - 14:27, 6 December 2019
  • '''<translate>Value</translate>:''' 1<br/>
    336 bytes (38 words) - 14:25, 6 December 2019
  • '''<translate>Value</translate>:''' 1<br/>
    326 bytes (38 words) - 22:21, 3 December 2019
  • '''<translate>Value</translate>:''' 1<br/>
    313 bytes (35 words) - 14:26, 6 December 2019
  • ticket:setLayoutParameters{ rowWeights = {1}, columnWeights = {1} } -- 1) Clear stencil and set it to '1' for every pixel drawn on 'ticket'
    4 KB (574 words) - 10:53, 7 November 2023
  • '''<translate>Value</translate>:''' 1<br/>
    282 bytes (33 words) - 06:09, 17 February 2020
  • '''<translate>Value</translate>:''' 1<br/>
    282 bytes (33 words) - 06:09, 17 February 2020
  • '''<translate>Value</translate>:''' 1<br/>
    294 bytes (33 words) - 01:47, 4 December 2019
  • * { x, y, z, 1, 2, ... }: Represent a shape group print(math.inside({6, 0}, {x=0, y=0, radius=5})) -- 1
    1 KB (162 words) - 15:30, 13 July 2023
  • columnWeights = {1, 1, 1}, -- 3 columns rowWeights = {1, 1, 1, 1}, -- 4 rows
    5 KB (601 words) - 15:33, 13 July 2023
  • '''warnings''': not setting material.bounciness between (0, 1) will crash your app! mat.bounciness = 0.1 -- 0 = no bounciness, 1 = max bounciness
    1 KB (135 words) - 15:32, 13 July 2023
  • Sets the channels to be in the range 1-16 when sending messages.
    247 bytes (31 words) - 15:31, 13 July 2023
  • [y] => -1 [1] => Table {
    1 KB (112 words) - 03:00, 1 December 2023
  • ...or if f is 0, getfenv returns the global environment. The default for f is 1.
    703 bytes (99 words) - 15:29, 13 July 2023
  • '''Available since:''' Gideros 2016.1<br/> ...at x,y coordinate (RGB are in range of 0 to 255, alpha is in range of 0 to 1).
    689 bytes (91 words) - 15:32, 13 July 2023
  • The default for i is 1 and for j is -1. If it finds any invalid byte sequence, returns a false value plus the posi
    804 bytes (112 words) - 21:36, 1 December 2023
  • '''Example 1'''<br/> for loop=1,#result do
    1 KB (169 words) - 15:27, 13 July 2023
  • ...uble'' is given, the ambiguous width character width is 2, otherwise it is 1. fullwidth/doublewidth character width is 2, and other characters width is 1.
    842 bytes (114 words) - 23:24, 1 December 2023
  • '''column ''': (number) the number of columns in the table (starts at 1)<br/> imgui:tableSetupColumn("One") -- column 1 title
    2 KB (223 words) - 04:48, 12 October 2023
  • '''Returns a copy of n with the bits field to field + width - 1 replaced by the value v. See '''bit32.extract()''' for details about field '''width''': (number) width value '''optional, default value 1<br/>
    769 bytes (111 words) - 15:26, 13 July 2023
  • -- 1 we start ImGui imgui:image("gfx/image.png", 64, 64, 0xffffff, 1, 0xff0000, 1)
    2 KB (231 words) - 15:29, 13 July 2023
  • {name="vColor", type=Shader.DUBYTE, mult=4, slot=1, offset=0}, {name="g_Color", type=Shader.CFLOAT4, mult=1, sys=Shader.SYS_COLOR},
    3 KB (394 words) - 22:58, 4 November 2023
  • local value = 1 -- default will be radio button B -- 1 we start ImGui
    2 KB (228 words) - 15:29, 13 July 2023
  • local pos = 1 local node = 1
    2 KB (319 words) - 02:02, 8 December 2023
  • if maxNb == nil or maxNb < 1 then nb += 1
    9 KB (1,372 words) - 15:32, 13 July 2023
  • ImGui:dragInt(label, value, [incStep=1, min=0, max=0, formatString="%d", ImGuiSliderFlags=0]) -- 1 we start ImGui
    2 KB (211 words) - 15:29, 13 July 2023
  • * [[2D Space Shooter Part 1: Planning, Tooling, Layers, Objects]] '''Next: [[2D Space Shooter Part 1: Planning, Tooling, Layers, Objects]]'''
    864 bytes (139 words) - 23:28, 15 November 2023
  • sprite1:setPosition(1 * 64, 64) local mypixel = Pixel.new(0xFF0000, 1, 32, 32)
    913 bytes (123 words) - 15:33, 13 July 2023
  • Damping parameters should be between -1 and 1, with 0 meaning no damping, and infinity meaning full damping.
    1 KB (153 words) - 18:21, 12 July 2023
  • {name="g_Color", type=Shader.CFLOAT4, mult=1, sys=Shader.SYS_COLOR}, {name="g_Texture", type=Shader.CTEXTURE, mult=1, vertex=false},
    3 KB (451 words) - 00:57, 5 November 2023
  • ...lement and consists of: '''the starting frame''' (frame numbers start from 1)''', the ending frame, a sprite and an optional tweening parameters'''. local sprite = Pixel.new(0x0, 1, 32, 32)
    6 KB (782 words) - 06:29, 1 October 2023
  • -- 1 we start ImGui Texture.new("gfx/image.png"), "text", 32, 32, 4, 0xffffff, 1, 0x0, 1) then
    2 KB (262 words) - 15:29, 13 July 2023
  • This method can be called with 1 or 2 parameters. for x = 1, 11 do
    4 KB (614 words) - 01:34, 2 December 2023
  • -- 1 we start ImGui ...imageFilled("gfx/image.png", 64, 64, 0xffffff, 1, 0xff0000, 0.5, 0x555555, 1)
    2 KB (262 words) - 15:29, 13 July 2023
  • sceneManager:changeScene('cutscenescene', 1, SceneManager.fade, easing.linear, { userData=somevalue }) cutsceneId = 1,
    2 KB (268 words) - 02:13, 12 December 2023
  • --axisx, axisy values usually between 0 and 1 --0 1 force pulling back on y axis
    5 KB (609 words) - 15:26, 13 July 2023
  • '''alpha''': (number) alpha value, between 0 and 1<br/>
    376 bytes (41 words) - 15:29, 13 July 2023
  • ...s an escape character: any sequence in repl of the form %n, with n between 1 and 9, stands for the value of the n-th captured substring (see below). The x = string.gsub("hello world", "(%w+)", "%1 %1") -- x="hello hello world world"
    3 KB (426 words) - 15:33, 13 July 2023
  • local pixel = Pixel.new(0xffffff, 1, 128, 128) -- set a white color to start with pixel:setScale(1.5)
    2 KB (271 words) - 15:32, 13 July 2023
  • The default for ''i'' is 1 when ''n'' is non-negative and #s + 1 otherwise, so that utf8.offset(s, -n) gets the offset of the n-th character
    1,017 bytes (152 words) - 23:11, 1 December 2023
  • ...umber m, math.random returns a uniform pseudo-random integer in the range [1, m]. When called with two integer numbers m and n, math.random returns a un
    959 bytes (135 words) - 15:31, 13 July 2023
  • ...specified, the function will return a floating point number between 0 and 1. If one bound is specified, the function will return an integer number between 1 and that bound (inclusive).
    1 KB (144 words) - 15:26, 13 July 2023
  • ...= m*2^e, e is an integer and the absolute value of m is in the range [0.5, 1) (or zero when v is zero). The mantissa has the same sign as the argument v '''Returns''' (number) the mantissa, a multiplier in the range [0.5, 1) (normalized fraction)<br/>
    945 bytes (133 words) - 15:30, 13 July 2023
  • if manifold.normal.y < 0.1 then [y] => -1
    2 KB (162 words) - 03:06, 1 December 2023
  • '''Available since:''' Gideros 2023.1<br/> local mydata = {"a", 1, 2, "b", 3, "c"}
    993 bytes (126 words) - 08:18, 17 October 2023
  • --axisx, axisy values usually between 0 and 1 --0 1 moves on y axis
    4 KB (539 words) - 17:54, 12 July 2023
  • ...llisecond), char: the number of characters to display at a time, default = 1 char = char or 1
    2 KB (309 words) - 21:49, 1 December 2023
  • mySprite:setScale(0.5, 1) mySprite:getChildAt(1)
    2 KB (215 words) - 15:27, 13 July 2023
  • '''Available since:''' Gideros 2023.1<br/> ...can be a '''Slider''', or an '''ArcSlider'''. Sliders give value from 0 to 1.
    2 KB (298 words) - 08:19, 17 October 2023
  • '''Returns''' (number) alpha between 0 and 1<br/>
    379 bytes (41 words) - 15:29, 13 July 2023
  • ImGui:dragIntRange2(label, valueMin, valueMax, [incStep=1, min=0, max=0, formatMinString="%d", -- 1 we start ImGui
    2 KB (255 words) - 15:29, 13 July 2023
  • print("--- RESIZE ---",(minX - maxX) * -1)
    503 bytes (59 words) - 15:27, 13 July 2023
  • Returns the size of the table, or n field, or table.setn value, or 1 less first index with nil value. '''[Deprecated in Lua 5.1, use # operator]'''
    399 bytes (53 words) - 15:33, 13 July 2023
  • local vertex = hF4(vVertex, 0.0, 1.0) local tc = hF2(fTexCoord.x + (1 + sin(fTexCoord.x * 10 + fTime * 2)) * 0.05, fTexCoord.y) * 0.9
    3 KB (323 words) - 05:55, 6 November 2023
  • '''alpha''': (number) the alpha of the text between 0 and 1<br/> self.imgui:textColored("Hello, colored Dear ImGui!", 0xffffff, 1)
    1 KB (202 words) - 15:29, 13 July 2023
  • '''strength''': (number) strength of the press, from 0 to 1<br/>
    343 bytes (41 words) - 07:06, 11 June 2023
  • '''strength''': (number) strength of the press, from 0 to 1<br/>
    341 bytes (41 words) - 07:04, 11 June 2023
  • self:removeChildAt(1) local canvas = RenderTarget.new(props.width, (#lines + 1) * actualHeight)
    6 KB (892 words) - 20:04, 17 November 2023
  • local vertex = hF4(vVertex,0.0,1.0) {name="vColor", type=Shader.DUBYTE, mult=4, slot=1, offset=0},
    4 KB (522 words) - 13:29, 25 November 2023
  • for i=1,4 do for j=1,4 do
    3 KB (474 words) - 15:33, 13 July 2023
  • Gideros Short— N°1 —June 2023 local sc=scale or 1
    5 KB (703 words) - 04:59, 7 November 2023
  • '''<translate>Value</translate>:''' 1<br/>
    460 bytes (70 words) - 15:32, 13 July 2023
  • *1 = arrow right -- 1 we start ImGui
    2 KB (203 words) - 15:29, 13 July 2023
  • FBInstant.player.incrementStatsAsync({level=1,zombiesSlain=17,rank=-1}, function(result,error)
    2 KB (227 words) - 15:29, 13 July 2023
  • score+=1 -- faster and less typing than score=score+1
    1 KB (202 words) - 04:00, 1 December 2023
  • self.sprite = Pixel.new(math.random(0xffffff), 1, w, h) self.sprite:setAnchorPoint(0.5, 1)
    2 KB (348 words) - 15:29, 22 December 2023
  • <syntaxhighlight lang="lua">local note = Notification.new(1) note:dispatchAfter({hour = 1}, {day = 1})</syntaxhighlight>
    5 KB (663 words) - 15:32, 13 July 2023
  • '''Available since:''' Gideros 2023.1<br/> local gui = UI.Label.new("Gideros UI 1")
    2 KB (277 words) - 08:16, 17 October 2023
  • Sets the damping ratio. 0 = no damping, 1 = critical damping.
    388 bytes (42 words) - 18:17, 12 July 2023
  • ...pp=3DCollisions.gapp|plugins=json,reactphysics3d|width=480|height=320|auto=1}}
    292 bytes (40 words) - 15:56, 13 May 2024
  • <translate><!--T:1--> '''Game of Fifteen'''
    446 bytes (69 words) - 17:06, 19 September 2018
  • <translate>Define the mix durationn when transiting from animation 1 to animation 2</translate>
    631 bytes (70 words) - 15:33, 13 July 2023
  • {{#widget:GApp|app=Playground_ShaderSaturate.GApp|width=480|height=320|auto=1}} local vertex = hF4(vVertex, 0.0, 1.0)
    5 KB (677 words) - 08:10, 7 November 2023
  • -- 1 begin -- 1 begin
    6 KB (837 words) - 23:43, 18 November 2023
  • -- 1 we start ImGui if hasfruitchanged then print(fruits[currentfruit+1]) end
    1 KB (186 words) - 15:29, 13 July 2023
  • SceneManager.moveFromRight, -- 1 easing.inBack, -- 1
    6 KB (777 words) - 04:30, 17 December 2023
  • '''alpha''': (number) the current alpha between 0 and 1<br/> -- 1 we start ImGui
    2 KB (202 words) - 15:29, 13 July 2023
  • Returns the user language in ISO 639-1 format.
    310 bytes (33 words) - 20:36, 28 September 2023
  • <translate><!--T:1--> '''Bridge Builder'''
    543 bytes (83 words) - 16:57, 19 September 2018
  • local microphone = Microphone.new(nil, 22050, 1, 16)
    684 bytes (71 words) - 15:27, 13 July 2023
  • -- 1 we start ImGui ...ue01 = imgui:dragScalar("scalar", ImGui.DataType_Float, dragscalarvalue01, 1, 10, 100, "%d", 0)
    2 KB (210 words) - 15:29, 13 July 2023
  • -- 1 we start ImGui value, isChanged = imgui:inputInt("some value", value, 1, 2, 0)
    2 KB (216 words) - 15:29, 13 July 2023
  • *'''month''' (1--12) *'''day''' (1--31)
    3 KB (493 words) - 23:48, 14 October 2023
  • '''bytesTotal''': (number) the total number of bytes that will be loaded or -1 if the length can't be determined<br/>
    425 bytes (59 words) - 13:31, 12 March 2023
  • Sets the alpha transparency of this sprite. 0 means fully transparent and 1 means fully opaque.
    369 bytes (44 words) - 15:33, 13 July 2023
  • Returns the damping ratio. 0 = no damping, 1 = critical damping.
    400 bytes (43 words) - 18:06, 12 July 2023
  • <translate><!--T:1--> * <translate><!--T:4--> 1 Ghz processor </translate>
    2 KB (358 words) - 23:55, 12 August 2019
  • -1 means a < b 1 means a > b
    408 bytes (51 words) - 23:04, 1 December 2023
  • [ImGuiColorEditFlags=0, originalColor=0xffffff, originalAlpha=1]) local originalalpha = 1.0
    2 KB (234 words) - 15:29, 13 July 2023
  • ImGui:dragFloat(label, value, [incStep=1, min=0, max=0, formatString="%.3f", ImGuiSliderFlags=0]) -- 1 we start ImGui
    2 KB (211 words) - 15:29, 13 July 2023
  • for i = 0, childCount-1 do local last = 1
    7 KB (868 words) - 20:02, 17 November 2023
  • *'''Sprite.CULL_FRONT ''' = 1
    508 bytes (68 words) - 15:30, 13 July 2023
  • local pixel = Pixel.new(0xffffff, 1, 16, 16) circlepts[#circlepts+1] = { -- 1st circle
    9 KB (1,383 words) - 22:29, 17 September 2023
  • text:setPosition(1.75 * myappwidth / 4, y) createText("Check camera", 1 * 64, function() -- WORKS
    7 KB (915 words) - 23:42, 18 November 2023
  • *r3d.Body.KINEMATIC_BODY '''1'''
    558 bytes (86 words) - 15:31, 13 July 2023
  • ...the given thread: level 0 is the current function (getinfo itself); level 1 is the function that called getinfo; and so on. If function is a number lar For instance, the expression debug.getinfo(1,"n").name returns a table with a name for the current function, if a reason
    2 KB (261 words) - 15:27, 13 July 2023
  • ...d '''Sprite''' instance at the specifed index. Index of the first child is 1 and index of the last child can be get from the '''[[Sprite:getNumChildren]
    460 bytes (62 words) - 15:33, 13 July 2023
  • ''yingyang:setScaleX(-1)''<br> ''yingyang:setScaleY(-1)''
    2 KB (365 words) - 19:15, 13 November 2023
  • ...rgument ''init'' specifies where to start the search; its default value is 1 and can be negative. ...mber) index where to start searching for pattern '''optional''' (default = 1)<br/>
    2 KB (229 words) - 15:33, 13 July 2023
  • ..A..1 .A...1
    6 KB (905 words) - 23:56, 15 November 2023
  • '''Available since:''' Gideros 2019.1<br/> { font=of, color=0x0, alpha=1, }, -- draw outline in black
    1 KB (216 words) - 12:20, 23 September 2023
  • for i = #self.nmes, 1, -1 do -- scan in reverse self.nmes[i].health -= 1
    5 KB (818 words) - 01:43, 22 December 2023
  • *'''friction''': (number) the friction coefficient, usually in the range [0,1] ...titution''': (number) the restitution (elasticity) usually in the range [0,1]
    2 KB (246 words) - 18:03, 12 July 2023
  • -- 1 we start ImGui if imgui:imageButton("gfx/image.png", 64, 64, 8, 0xffffff, 1, 0xff0000, 0.5) then
    2 KB (246 words) - 15:29, 13 July 2023
  • *H - Horzontal Line, 1 value (x) *V - Vertical Line, 1 value (y)
    1 KB (228 words) - 15:32, 13 July 2023
  • '''Returns''' (alpha) alpha value from 0 to 1<br/>
    431 bytes (49 words) - 21:34, 21 September 2023
  • * '''1''': Flash On
    539 bytes (72 words) - 15:27, 13 July 2023
  • ...ureBase:getTexelSize() returns the size of a texel, 1/(gpu texture width), 1/(gpu texture height)-->
    2 KB (253 words) - 09:03, 22 September 2021
  • '''Returns''' (number) alpha between 0 and 1<br/>
    405 bytes (52 words) - 15:32, 13 July 2023
  • local pix = Pixel.new(0x00FFaa, 1, 64, 64)
    596 bytes (66 words) - 15:33, 13 July 2023
  • Sets an empty tile at given indices. The tile indices are starting from 1.
    374 bytes (48 words) - 15:33, 13 July 2023
  • * Variable bet (from $1) * $1,000,000+ 7-7-7-7-7 jackpot!
    1 KB (228 words) - 12:35, 19 September 2018
  • '''Shader.CFLOAT''': Uniform descriptor CFLOAT data type, a float value, 1<br/> '''Shader.DUBYTE''': Attributes descriptor DUBYTE data type, 1<br/>
    6 KB (778 words) - 05:01, 6 November 2023
  • PAD.STICK_SINGLE '''Value:''' 1<br/>
    1 KB (189 words) - 16:39, 3 December 2020
  • '''Available since:''' Gideros 2022.1<br/> '''v1''': (number) value 1<br/>
    402 bytes (50 words) - 15:31, 13 July 2023
  • ...e called "chars" can be used to light up a key, setting its LED colour to -1 will show the keyboard colour instead. for y=1,h do
    4 KB (656 words) - 15:26, 13 July 2023
  • assert(bit32.bnot(x) == (-1 - x) % 2^32)
    516 bytes (62 words) - 15:26, 13 July 2023
  • '''speed''': (number) <translate>Animation speed scale. Defaults to 1.</translate> <translate>'''optional'''</translate> <br/>
    827 bytes (90 words) - 15:33, 13 July 2023
  • local p = Pixel.new(0xffffff, 1, 32, 32) p:set("redMultiplier", 1) -- OK
    6 KB (787 words) - 03:41, 19 July 2023
  • print("world point coords:", c.worldPoint[1], c.worldPoint[2], c.worldPoint[3]) print("world normal coords:", c.worldNormal[1], c.worldNormal[2], c.worldNormal[3])
    2 KB (244 words) - 15:31, 13 July 2023
  • '''Available since:''' Gideros 2023.1<br/> local data = { "ROOT", "Dossier 1","D2","D3","Test 4","Et un grand 5" }
    574 bytes (72 words) - 08:17, 17 October 2023
  • '''Available since:''' Gideros 2012.2.2.1<br/> ...o 0 will make your body float. You can set a negative number, for example -1 will inverse gravity.
    565 bytes (77 words) - 17:59, 12 July 2023
  • '''Returns''' (number) normalized alpha (0-1)<br/>
    420 bytes (50 words) - 15:31, 13 July 2023
  • Default pitch is 1. Setting pitch as 1.5 will make the pitch higher.
    572 bytes (73 words) - 15:33, 13 July 2023
  • elseif flag == "1" then return "link" for i = #octal,1,-1 do
    5 KB (797 words) - 05:35, 8 November 2023

View (previous 250 | next 250) (20 | 50 | 100 | 250 | 500)