User Tools

Site Tools


developmenteras:roleblock

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
developmenteras:roleblock [2025/11/11 01:10] – whoops blamedennydevelopmenteras:roleblock [2026/03/26 11:51] (current) – move some stuff up blamedenny
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
 +===== Role Block =====
 +----
 {{infobox> {{infobox>
 name = Role Block name = Role Block
Line 8: Line 10:
 Developer = Mooshimity Ltd. Developer = Mooshimity Ltd.
 }} }}
- 
 <box 60% blue>**This is an article of one [[:brickhill|Brick Hill]] Development era. If you want to take a look on other development era, please refer to [[:developmenteras|Development Eras]] article.**</box> <box 60% blue>**This is an article of one [[:brickhill|Brick Hill]] Development era. If you want to take a look on other development era, please refer to [[:developmenteras|Development Eras]] article.**</box>
- 
-<box 60% orange>FIXME **- This page needs some cleanup, alongside with a proper comparison (between two releases) **</box> 
  
 **Role Block** is the earliest prototype of sandbox game [[:brickhill|Brick Hill]], originally released in Late 2016 by brick-luke on Mooshimity forums. Role Block had two releases. **Role Block** is the earliest prototype of sandbox game [[:brickhill|Brick Hill]], originally released in Late 2016 by brick-luke on Mooshimity forums. Role Block had two releases.
 +
 +==== Release features ====
 +  * No multiplayer
 +  * 2D release can be started via ''game_test'' only, because it's the only folder in game's release, though incompatible 3D release games can be played fine with this client.
 +  * 3D release can be started via ''game_luke'' only, because other games don't have the ''draw.txt'' file to be executed by the game's code.
 +
 +==== Controls ====
 +  * W,A,S,D - Up, down, left, right.
 +  * Shfit - Crawl (3D Release exclusive).
 +  * Space - Exit the car.
  
 ==== Game folders ==== ==== Game folders ====
Line 45: Line 54:
 ''game_luke'', also known as Luke's Game is about running over random people with your car. ''game_luke'', also known as Luke's Game is about running over random people with your car.
  
-==== Release features ==== + ==== Example Game Structure ==== 
-  * No multiplayer +<code> 
-  * 2D release can be started via ''game_test'' only, because it's the only folder in game's release, though incompatible 3D release games can be played fine with this client+game folder (eg: game_nut): 
-  * 3D release can be started via ''game_luke'' only, because other games don't have the ''draw.txt'' file to be executed by the game'code.+-- system_map (3d exclusive directory) 
 +--- draw.txt 
 +
 +-- system_player 
 +--- function.txt (can be empty) 
 +--- player.png 
 +
 +- background_nut.png (defined in settings.txt file
 +- gamemode.txt (creation event?) 
 +- gui.txt (what to draw) 
 +- settings.txt (game settings) 
 +</code>
  
-==== Controls ==== +Script examples:
-  * W,A,S,D - Up, down, left, right. +
-  * Shfit - Crawl (3D Release exclusive). +
-  * Space - Exit the car.+
  
- ==== 3D Release oddities ====+''gamemode.txt'': 
 +<code> 
 +while vehicle !
 +
 + instance_create(room_get_width/2,room_get_height/2,system_vehicle) 
 + vehicle +
 +
 +</code>
  
-<box 60% orange>FIXME **- Describe the codebase changes between Role Block and 2017 Early Brick Hill Legacy Workshop a little bit much further.**</box> +''gui.txt'':
- +
-It seems like that the codebase of 3D Role Block release was the main codebase until the first full rewrite by brick-luke in 2017, because of how differently 3D initialization works. In Early 2017 Brick Hill workshop, the game's code creates ''obj_environment'' for environment initialization while also initializing GMNewton for physics capabilites. While the 3D Release of Role Block does it via system_player object:+
 <code> <code>
-/// Create event +if (global.player_lives > 0) 
-//Initialize 3D + { 
-+ draw_text(2,2,global.player_lives
-friction = 0.2; + } 
-d3d_start(); +</code>
-d3d_set_hidden(true); +
-d3d_set_lighting(false); +
-d3d_set_shading(true); +
-d3d_set_culling(false); +
-draw_set_color(c_white); +
-d3d_set_perspective(true); +
-d3d_set_fog(false,c_black,10,100); +
-texture_set_interpolation(false); +
-zdirection = -3; +
-}+
  
-/// Draw event +''settings.txt'': 
-//3D draw +<code> 
-d3d_set_projection(x,y,global.playerz,x+cos(direction*pi/180),y-sin(direction*pi/180),global.playerz+tan(degtorad(zdirection)),0,0,1); +//Control Game Settings Here 
- +global.player_walkspeed = 4 
-//Draw floor +global.player_spawnpoint_x = room_width/2+random_range(-100,100) 
-if global.pause 0 +global.player_spawnpoint_y = room_height/2+random_range(-100,100
-    { +global.player_lives = 5 
-    draw_set_color(c_white) +global.background = "background_race.png" 
-    draw_set_alpha(1) +global.ai "" 
-    d3d_draw_floor(-1000000,-1000000,0,1000000,1000000,0,background_get_texture(background_floor),1000000/background_get_width(background_floor),1000000/background_get_height(background_floor)); +global.vehicle = "racecar"
-    }+
 </code> </code>
 + ==== 3D Release oddities ====
  
-Though the 3D Release requires the ''draw.txt'' file to draw a system_brick object, it may be misinterpreted as a floor drawing procedure.+It seems like that the codebase of 3D Role Block release was the main codebase until the first full rewrite by brick-luke in 2017, because of how differently 3D initialization works. In Early 2017 Brick Hill workshop, the game's code creates ''obj_environment'' for environment initialization while also initializing GMNewton for physics capabilites. While the 3D Release of Role Block does it via system_player object.
  
 +Though the 3D Release requires the ''draw.txt'' file to create a ''system_brick'' object, it may be misinterpreted as a floor drawing procedure.
 ---- ----
 Links: Links:
   * [[https://archive.org/download/role-block-brick-hill/Role%20Block.zip|Role Block 2D Release, thanks to MemoryArchive for this release.]]   * [[https://archive.org/download/role-block-brick-hill/Role%20Block.zip|Role Block 2D Release, thanks to MemoryArchive for this release.]]
   * [[https://archive.org/download/role-block-3-d/Role%20Block%203D.zip|Role Block 3D Release, grabbed from blocky's Brick Hill client archive.]]   * [[https://archive.org/download/role-block-3-d/Role%20Block%203D.zip|Role Block 3D Release, grabbed from blocky's Brick Hill client archive.]]
developmenteras/roleblock.1762819810.txt.gz · Last modified: by blamedenny