Skip to content

Instantly share code, notes, and snippets.

@amirrajan
Created October 20, 2023 10:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amirrajan/dd0c8f8ad9e2dc09685122bb85d68de2 to your computer and use it in GitHub Desktop.
Save amirrajan/dd0c8f8ad9e2dc09685122bb85d68de2 to your computer and use it in GitHub Desktop.
DragonRuby Game Toolkit bytecode compilation output example.
RITE0200£MATZ0000IREPI0300&
`b9kGamej c/h[dh[dh[dh[dh[dh[dh[dh[dh[d h[ d
h[
d  9 attr_gtktickcar_collision_rectget_map_data_files load_map! save_map!relative_to_car_camerarelative_to_carnew_prism_stonesnew_checkpoint_prism_stonescompleted_at_least_once?'completed_at_least_once_with_good_time?"Â5/////////'ô//''///'$QSQS//SQS/ //
'=//
// // //
////9_* SCENE TRANSITION ERROR: Do not set ~state.scene~ directly. Use ~state.next_scene~. Scene was
, but became .statescenedefaultsrenderinputcalcgame_is_resetting!!=raise
next_scenescene= next_scene=
tick_countscene_changed_at=game_is_resetting=i ;5//@//@


 ˇT9xstateywhr\5//C'QQT%1Q//SQSQ//SQST9 data/map.txtdata/checkpoints.txtdata/-map.txt-checkpoints.txtstatetrack_idakinatrack checkpoints≥
√5////////Y0//// Y0/Y0//
// Y0// /
////9get_map_data_filesgtktrack read_file checkpoints each_linemapstate
track_points= track_pointscheckpoint_points=checkpoint_pointscheckpoint_rects=lastend_of_track_rect= track_rects=øÅ5/Q/MMMM&<&<//// 
  
T9,stripsplitto_ixywhm K5// B?// B?/ 
/
T9xwyh3 ÷5 / Q
/  << / 
C ' 3 
/ /   
/ /   
/ /  %P 
/ /   
/ /   
/ /   
/ /   
/ /   
  
 
T 9 , stripsplitlength[]to_ito_fxywhangle_rÅU5// B?// B?/ 
/
  / T9xwyhangle_r˙
m5//Y0//Y0///Q//// Q//9
state track_pointsmapcheckpoint_pointsget_map_data_filesgtktrackjoin
write_file checkpoints© w5/////&<//&</QSQSSQSSQSSQS9,xto_iywh«
ã5/////&<//&<//Q SQ S SQ S SQ S SQ S SQ S9,xto_iywhangle_r,
¬56&%86&%87/'9/'
///& //'9/ / / /
? Ä= = 
/
 / / / ?
 h=
 =
T/ 9
dxdy!Rectis_a?to_hashxystatecameracar_xcar_ymergeÀ
ì56&%86&%87//& //'9/ / / ? Ä= = 
/
 / / ?
 h=
 =
T/9dxdyx!ystatemerge∆
g5`% %%%3//// H/@@ /
9 statexygreenbluetealredyellowsampleMarkernew÷ o5`% %%%3//// H/@@ 

T / 9 statexygreenbluetealredyellowsampleMarkerspawnnewB5////9state best_time!`05///'9//õ<AD9statebest_time_akina!LVAR>&
current_scene
data_filestrack_points_serializationcheckpoint_points_serialization track_rectslxywhptokensangle_rpoint**dxdyloc_xloc_ytype
 
 

END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment