Benign ruby 6,760 installs Download

bestguigui_lab 0.13.0

“A Game Jam Starter Kit to optimize Game Jams”

Near-zero recent downloads for registry packageRelease published within seven days
SHA-2561c8e740f01f02740885965877b6b919eacb839f1416df8f06385ed1a8aec492f
MaleculeH(Db)Md(Pt)

Evidence

Dense Ruby binary packing calls image_pixels.rb · lines 7–19
7:80ht
8
9 r, g, b, a = to_blob[((y * width) + x) * 4, 4].unpack('C4')
10 Gosu::Color.new(a, r, g, b)
11 end
12
13 def set_pixel(x, y, color)
14 blob = [color.red, color.green, color.blue, color.alpha].pack('C4')
15 pixel = Gosu::Image.from_blob(1, 1, blob)
16 insert(pixel, x, y)
17 end
18 end
19end
French function-word token "dans" render_3d.rb · lines 3–7
3:19
4 # Instancie-la une fois, garde une référence, utilise-la dans draw :
5 # @renderer = Render3D.new
6 # @renderer.render_3d(self) { @renderer.look_at(...) ; @model.draw }
7 class
French function-word token "avec" render_3d.rb · lines 33–38
33:265, 255, 255, 255) # remet le blanc : ObjModel module sa texture avec la couleur courante
34 end
35
36 private
37
38 # Gosu.gl isole déjà l'état (glPushAttrib/glPopAttrib) et rem
French function-word token "dans" assets.rb · lines 7–10
7:18 = __dir__ # lib/bestguigui_lab, pour les ressources embarquees dans le kit
8
9 @images = Hash.new { |cache, path| cache[path] = Gosu::Image.new(path, retro: true) }
10 @sounds = Hash
Decoded unicode-escape content gl_texture.rb · lines 28–34
28:30ge.width, image.height, pixels)
29 end
30
31 def upload_blank = upload_pixels(1, 1, "\xFF\xFF\xFF\xFF".b)
32
33 def upload_pixels(width, height, pixels)
34 name_buffer = "\x00

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.