MCPcopy Create free account

hub / github.com/buraksenyurt/game-dev-with-rust / functions

Functions830 in github.com/buraksenyurt/game-dev-with-rust

↓ 127 callersMethodspawn
(owner: Owner, location: Vec2)
macroquad/wing-pilot-2042/src/entity/bullet.rs:17
↓ 60 callersMethodload
(&mut self, map_content: &str)
sdl2/mathventure/src/entity/map.rs:14
↓ 34 callersFunctiongetArray
(a,b,c)
macroquad/wing-pilot-2042/static/gl.js:1
↓ 29 callersFunctionload_texture
Bu fonksiyon ile assets klasöründeki imajların Texture olarak yüklenmesi sağlanıyor
piston/pacman/src/common/utility.rs:14
↓ 22 callersMethodtick
oyun döngüsündeki kilit fonksiyon. Her tick event'i gerçekleştiğinde bazı aksiyonlar alınır.
piston/pacman/src/entities/pacman.rs:67
↓ 18 callersFunctionassert
(a,b)
macroquad/wing-pilot-2042/static/gl.js:1
↓ 16 callersMethodrun
(&mut self)
sdl2/mono-bird/src/factory/engine.rs:15
↓ 14 callersMethodadd
(self, other: Self)
bevy/boxes/src/components.rs:31
↓ 11 callersFunctionUTF8ToString
(i,j)
macroquad/wing-pilot-2042/static/gl.js:1
↓ 11 callersFunctiondraw_rectangle
( ctx: &mut Context, canvas: &mut graphics::Canvas, color: &Color, origin: Point2<f32>, )
ggez/ggez_101/src/game.rs:92
↓ 10 callersFunctiondraw_text
( canvas: &mut Canvas<Window>, text: &str, font_size: u16, color: Color, x: i32, y: i3
sdl2/lunar_landing/src/ui/mod.rs:14
↓ 10 callersFunctiondraw_vertical_center_text
( canvas: &mut Canvas<Window>, text: String, font_size: u16, color: Color, y: i32, )
sdl2/lunar_landing/src/ui/mod.rs:40
↓ 10 callersMethodget
(&mut self, noun: &str)
misc/mystery/src/game_world.rs:115
↓ 9 callersFunctiondraw
(buildings: &Vec<City>)
macroquad/missile-commander/src/entity/city.rs:39
↓ 8 callersFunctionangle_to_vec
Verilen açıyı alıp birim vektöre çeviren fonksiyon (vektörün yönünü buluyoruz) Asıl ilgilendiğimiz alan vektörün büyüklüğünden ziyade yönü. Mesela kay
ggez/rockstroid/src/fermat.rs:12
↓ 8 callersMethodbuild
(&mut self, win_size: &WinSize)
bevy/crayz-invaders/src/enemy_formation.rs:22
↓ 8 callersFunctiondraw_vertical_center_text
( canvas: &mut Canvas<Window>, text: String, font_size: u16, color: Color, y: i32, )
sdl2/mono-bird/src/ui/mod.rs:14
↓ 8 callersFunctiondraw_vertical_center_text
( canvas: &mut Canvas<Window>, text: String, font_size: u16, color: Color, y: i32, )
sdl2/mathventure/src/ui/mod.rs:16
↓ 7 callersMethoddraw
(&self)
macroquad/wing-pilot-2042/src/entity/asset.rs:59
↓ 7 callersMethodget
Matriste parametre olarak gelen konumdaki değeri döndüren fonksiyon Eğer koordinatlar 0 dan küçük veya matris ebatlarından büyükse None döner. Aksi ha
piston/pacman/src/entities/map.rs:139
↓ 7 callersFunctionis_collision_exist
(rect_list: Vec<Rect>, bullet: &mut Bullet)
macroquad/wing-pilot-2042/src/game/collider.rs:167
↓ 6 callersFunctioncreate_league
()
misc/slam-dunk-manager/src/game_mngr/league.rs:9
↓ 6 callersFunctioncreate_sprite
(kind: SpriteType)
ggez/rockstroid/src/sprite_builder.rs:13
↓ 6 callersMethodget
(&self, key: &str)
sdl2/mathventure/src/factory/asset_manager.rs:36
↓ 5 callersFunction_glGenObject
(g,h,d,e,f)
macroquad/wing-pilot-2042/static/gl.js:1
↓ 5 callersMethodbuild
(self)
sdl2/mono-bird/src/factory/engine_builder.rs:51
↓ 5 callersMethoddraw
(&mut self, ctx: &mut Context)
ggez/ping_pong/src/main_state.rs:164
↓ 5 callersMethoddraw
(&self)
macroquad/missile-commander/src/game/game.rs:27
↓ 5 callersMethodget_muzzle_point
(&self)
macroquad/wing-pilot-2042/src/entity/enemy.rs:141
↓ 5 callersMethodintersects
(&self, other: &Flappy)
sdl2/mono-bird/src/entity/block.rs:19
↓ 5 callersFunctionpause
(message: &str)
misc/slam-dunk-manager/src/util/utility.rs:11
↓ 5 callersMethodrender
Ekrana çizdirme işlemlerinin yürütüldüğü render fonksiyonu
piston/spining-square/src/app.rs:17
↓ 4 callersFunctionadd_player_team
(name: &str, league: &mut League)
misc/slam-dunk-manager/src/game_mngr/league.rs:26
↓ 4 callersMethoddraw
(&mut self, ctx: &mut Context)
ggez/ggez_101/src/game.rs:69
↓ 4 callersMethoddraw
(&self)
macroquad/math101/src/enemy.rs:20
↓ 4 callersFunctiondraw_menu
(titles: Vec<&str>)
macroquad/wolf-tank/src/menu.rs:4
↓ 4 callersFunctiondraw_menu
(lines: &[String])
macroquad/missile-commander/src/menu/draw.rs:53
↓ 4 callersMethodexecute
(&self, game: &mut Game)
sdl2/lunar_landing/src/setup/command.rs:21
↓ 4 callersFunctionget_donut_penalty_cost
(donut_type: DonutType)
bevy/one-more-time/src/common.rs:11
↓ 4 callersMethodget_level
(&self, index: u32)
sdl2/mathventure/src/resources/levels.rs:80
↓ 4 callersFunctionget_texture
(texture_type: TextureType)
macroquad/wolf-tank/src/resource.rs:9
↓ 4 callersMethodinit
(&mut self, level_index: u32)
sdl2/mathventure/src/game.rs:54
↓ 4 callersMethodmove_player
(&mut self, direction: Direction)
sdl2/mathventure/src/game.rs:70
↓ 4 callersFunctionmove_to
( player_position: &mut Point2<f32>, direction: Direction, key_code: KeyCode, ctx: &mut Contex
ggez/ping_pong/src/main_state.rs:294
↓ 4 callersMethodnext
(&mut self)
piston/pacman/src/entities/line.rs:26
↓ 4 callersMethodset_direction
Pacman'in gideceği yönü ayarlayan fonksiyon
piston/pacman/src/entities/pacman.rs:41
↓ 3 callersFunctionaabb_check
Axis-Aligned Bounding Box (AABB) Collision Detection
macroquad/wing-pilot-2042/src/game/collider.rs:8
↓ 3 callersMethodbuild
(self)
sdl2/mathventure/src/factory/engine_builder.rs:54
↓ 3 callersFunctionbutton_node
()
bevy/on-my-way/src/game/ui/game_over_menu/styles.rs:31
↓ 3 callersFunctioncalc_sell_price
(game_state: &mut ResMut<LiveParameters>, donut: &mut Mut<Donut>)
bevy/one-more-time/src/systems.rs:172
↓ 3 callersFunctioncalculate_square
(tile_size: f64, x: i32, y: i32)
piston/pacman/src/common/utility.rs:4
↓ 3 callersFunctioncreate_schedule
(teams: &[Team], start_date: DateTime<Utc>)
misc/slam-dunk-manager/src/game_mngr/contest.rs:50
↓ 3 callersFunctiondpi_scale
()
macroquad/wing-pilot-2042/static/gl.js:1
↓ 3 callersMethoddraw
(canvas: &mut WindowCanvas, point: u64, total_time: f32)
sdl2/mono-bird/src/ui/hud.rs:8
↓ 3 callersMethoddraw
(canvas: &mut WindowCanvas)
sdl2/mathventure/src/ui/main_menu.rs:8
↓ 3 callersMethoddraw
(&self)
macroquad/wolf-tank/src/tank.rs:25
↓ 3 callersMethoddraw
(&self)
macroquad/walls_coming/src/ball.rs:19
↓ 3 callersMethoddraw
Pencere üzerindeki çizim işlerinin gerçekleştirildiği yer. */
piston/pacman/src/engine/view.rs:59
↓ 3 callersMethoddraw_bullets
(&mut self, actor: EnemyType)
macroquad/wing-pilot-2042/src/game/game.rs:90
↓ 3 callersMethoddraw_fleet
(&mut self, actor: EnemyType)
macroquad/wing-pilot-2042/src/game/game.rs:46
↓ 3 callersFunctiondraw_menu
(lines: &[String])
macroquad/wing-pilot-2042/src/menu/builder.rs:52
↓ 3 callersFunctiondraw_sprite
Hareket edebilen bir nesneyi çizmek için kullanılan fonksiyon
ggez/rockstroid/src/main_state.rs:207
↓ 3 callersFunctiondraw_title_text
(title: &str)
macroquad/walls_coming/src/texturer.rs:3
↓ 3 callersMethodget_bounds
Axis-Aligned Bounding Boxes (AABB) yöntemine göre çarpışma kontrolü yapılacak Dolayısıyla sprite'ın dörtgen sınırlarının bilmemiz lazım. Aşağıdaki fon
tetra/tetra-pong/src/entity.rs:23
↓ 3 callersFunctionget_button_text_font
(asset_server: &Res<AssetServer>)
bevy/on-my-way/src/game/ui/game_over_menu/styles.rs:57
↓ 3 callersFunctionget_input
()
misc/slam-dunk-manager/src/util/utility.rs:3
↓ 3 callersFunctionget_rand_position
(point: &mut Point2<f32>, x: f32, y: f32)
ggez/ping_pong/src/main_state.rs:321
↓ 3 callersFunctionget_rand_position_on_center_line
(ctx: &Context)
ggez/ping_pong/src/main_state.rs:333
↓ 3 callersFunctionget_text_color
()
bevy/on-my-way/src/game/ui/hud/styles.rs:71
↓ 3 callersFunctionget_text_font
(asset_server: &Res<AssetServer>)
bevy/on-my-way/src/game/ui/hud/styles.rs:64
↓ 3 callersFunctionget_title_text_font
(asset_server: &Res<AssetServer>)
bevy/on-my-way/src/game/ui/game_over_menu/styles.rs:41
↓ 3 callersFunctionimage_node_size
()
bevy/on-my-way/src/game/ui/hud/styles.rs:55
↓ 3 callersFunctioninit_game
(stage: Stage)
macroquad/missile-commander/src/main.rs:196
↓ 3 callersFunctioninto_sapp_keycode
(a)
macroquad/wing-pilot-2042/static/gl.js:1
↓ 3 callersFunctionmouse_relative_position
(b,c)
macroquad/wing-pilot-2042/static/gl.js:1
↓ 3 callersMethodposition
(&self)
sdl2/mono-bird/src/entity/block.rs:32
↓ 3 callersMethodread_lines
Map matrisini satır satır dolaşmamızı sağlayan fonksiyon
piston/pacman/src/entities/map.rs:129
↓ 3 callersMethodspawn_bullets
(&mut self, vel: Vec2, rad: f32)
macroquad/wing-pilot-2042/src/entity/enemy.rs:199
↓ 3 callersFunctiontexture_size
(c,a,b)
macroquad/wing-pilot-2042/static/gl.js:1
↓ 3 callersMethodto_point
(&self)
sdl2/lunar_landing/src/entity/vector.rs:9
↓ 3 callersFunctionu32_to_semver
(a)
macroquad/wing-pilot-2042/static/gl.js:1
↓ 3 callersMethodupdate
(&mut self)
macroquad/math101/src/plane.rs:26
↓ 3 callersMethodupdate_position
Aktörün konumunu yeniden belirleyen fonksiyon.
ggez/rockstroid/src/sprite.rs:43
↓ 3 callersMethodwrap_position
Karakter ekranın herhangibir noktasında çıkarsa ters taraftan tekrar girmesini sağlayan fonksiyon
ggez/rockstroid/src/sprite.rs:60
↓ 2 callersFunctionadd_missing_functions_stabs
(b)
macroquad/wing-pilot-2042/static/gl.js:1
↓ 2 callersFunctionborder_check
(p: &Vec2, w: f32)
macroquad/wolf-tank/src/helper.rs:3
↓ 2 callersFunctionbutton_node
()
bevy/on-my-way/src/main_menu/styles.rs:5
↓ 2 callersMethodcan_turn
Pacman tuşla basılan konuma gidebilir mi kontrolünü yapan fonksiyon. target_dir = gidilmek istenen yönü ifade ediyor.
piston/pacman/src/entities/pacman.rs:56
↓ 2 callersFunctioncreate_assets
(count: usize, asset_type: AssetType)
macroquad/wing-pilot-2042/src/entity/asset_builder.rs:6
↓ 2 callersFunctioncreate_blocks
Ekranın üst kısmına 6X6 boyutlarında aralarında boşluklar da bulunan blokları veren fonksiyon
macroquad/walls_coming/src/builder.rs:8
↓ 2 callersFunctioncreate_missiles
(quantity: i32)
macroquad/missile-commander/src/entity/missile.rs:90
↓ 2 callersFunctioncreate_random_rocks
( count: u8, exclusion: Point2<f32>, min_radius: f32, max_radius: f32, )
ggez/rockstroid/src/sprite_builder.rs:48
↓ 2 callersMethoddraw
(&mut self, canvas: &mut WindowCanvas)
sdl2/lunar_landing/src/game.rs:200
↓ 2 callersFunctiondraw_bonus
(ctx: &mut Context, canvas: &mut graphics::Canvas, position: Point2<f32>, resource: &str)
ggez/ping_pong/src/main_state.rs:248
↓ 2 callersMethoddraw_on_shot
(&self)
macroquad/wing-pilot-2042/src/entity/enemy.rs:111
↓ 2 callersFunctiondraw_racket
(ctx: &mut Context, canvas: &mut graphics::Canvas, player: &Player)
ggez/ping_pong/src/main_state.rs:255
↓ 2 callersMethodeat_something
Pacman bir noktadan geçerken pellet veya farklı bir powerup olup olmadığının kontrolünün yaptığımız fonksiyon.
piston/pacman/src/entities/map.rs:151
↓ 2 callersFunctionfind_ground_height
(points: &[Point], x: i32)
sdl2/lunar_landing/src/utility.rs:3
↓ 2 callersMethodget_body
(&self)
macroquad/wing-pilot-2042/src/entity/enemy.rs:154
↓ 2 callersFunctionget_button_text_font
(asset_server: &Res<AssetServer>)
bevy/on-my-way/src/main_menu/styles.rs:42
next →1–100 of 830, ranked by callers