From a210317ab4e3ea1d16edc178064b340b4f4a2b52 Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Mon, 30 May 2022 22:30:36 +1000 Subject: [PATCH] love2d: - load mrmo sprite sheet - find player character - move player character with dvorak key press --- images/MRMOTEXT.png | Bin 0 -> 6622 bytes mode-intro.fnl | 50 +++++++++++++++++++++++++++++++------------- 2 files changed, 35 insertions(+), 15 deletions(-) create mode 100644 images/MRMOTEXT.png diff --git a/images/MRMOTEXT.png b/images/MRMOTEXT.png new file mode 100644 index 0000000000000000000000000000000000000000..411146b5492970a7056db2cd03970581b118ebb0 GIT binary patch literal 6622 zcmV<486oD0P)Py3m`OxIRCt{2UD9QL-b7Jl>n92xQ`F|@y2e1}ae@A^-Fozf&65YSD z=@aR(6b!b{<$?$-Re-I~KP zOxb4X&Ke#nO+2i=@{67GjeB4Pg&pHd9Dt{cRjcl=~4mZQjE zCkeRoEkI>0vRsol_RAaO)zzBOwhnldEqK?{ZCL`7$r@1K$WvE1j;CUZ6F}!{0$GE2 zn*80MIDmzy_MX_ZYMnnZF9Xksc;4K5o=VM^U7L4`y$^_I+4Y916a7)2uSlrJs9Wt- zq6yXRCx9{*tM-nJ6=ee1x{f9H*qZQfF#c|auq(ruMpRl(hqCoUak^IV`)z5TShV=%IY^i!(_4EIQ8X`lkrZ?-*?I3J2GEwyG z8UyPXy@>B+RT{gD_w5v(0gr#1#CHbZO*Un`*{F{C?>L|=@fWxa*5bkk$+itH@G zxm&+?W`prv0-THnnFBfPB$)Bpw&=BwBEy0PJ&BNXEBkXYWNbU|^X_ss{M~3X(@r>cm0kDQW#abg7ENjiY zrC{EpRu65Lv&gQOHBXdcztiDoB0A$!Z*HWV)DHq(*BPF`lFgP5Q?F5?8eF!?y1(NL znSK!$q3_*Mb1xvm@l8Vh36#-T>r~x4 zgW)Mq`Jwfd{n2MB%WAif8B--@|0OWxhTh{2=`CSq0J}CMlhSwQ$g<$pp|;q6X|U4p zP+1VAb&-R!vXiGd>^FK~_A^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*iIjIoVDq!z9I1haYs~HcY*PUQ_ncsjeiF+rg*MO6_ zE5c^dO^@M?qEA#yqV#pb5ZFUFZFE+okIs*N{tT&i#~Je0ma(7H4uW;CpAqRM+tB9- zh!~Uiqj3|E3vt&WLgXK6U!T#wWYT1WT@e@Y8?5o8@mjVV$7WrV@XimDA!kXLCugtt;a{TY3A zkSP&P@($CmQf}G4?pF`$sprpf26scQr*^QO-d>-lJa6hpff>RB^~3bJgmij4(3_V)kr#@r*cL5^9mgv^t>ri`bo?u#|n zBE6rsRvwXT-3uK6yC7DCsX|AlD0`TS$ZY%5HouF=5m@EL(@=E+jPdI=@(j!R&gkL6 zl40!+A}^&)QU4rNesz@30uhMQ^4U$1n|_)oM6dCpzE)dA5X!@G7a^+W&gzoolo;c* zh;1at`yT1R=<3aD&1G?P<=23_abiB!D>IwF3n+qgQ`KyQL}kOSEP!=j5i(9-;yD=O z_ttINVX^p%*yv33$@IG$UK(fhy{>1l*C?tW#@}-oUaF7oXMpBsWLjmOe5R}um_n32 zWsHB?c`^aQI=5fZL6|@knVwFvM2s(6AMbpoD9wx*RI=kL?on7G_KRW z3(WIGMxJ#7RtCh5VfFubCERM{kx=_|8s^DF?UAn8erTSI5kOu{PBSPsN8a>n=>oihD1d;H_?0lZ%RFY{<hfaEdr zTgKgql2)CK2opIdS8ypZa#=pavd4YD_ zL-s=dHsGDGJn(59kjK}Nd6)68xh$s_tx-oOJ>QOJlyg time 3) - (love.event.quit))) + (incf time dt)) :keypressed (fn keypressed [key set-mode] - (love.event.quit))} + (if (love.keyboard.isDown ".") + (tset player-data :y (- (. player-data :y) 8))) + (if (love.keyboard.isDown "e") + (tset player-data :y (+ (. player-data :y) 8))) + (if (love.keyboard.isDown "u") + (tset player-data :x (+ (. player-data :x) 8))) + (if (love.keyboard.isDown "o") + (tset player-data :x (- (. player-data :x) 8))) + )}