Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
####### # # E-scripts on Love2D. # # Note 1: use the eev command (defined in eev.el) and the # ee alias (in my .zshrc) to execute parts of this file. # Executing this file as a whole makes no sense. # An introduction to eev can be found here: # # (find-eev-quick-intro) # http://angg.twu.net/eev-intros/find-eev-quick-intro.html # # Note 2: be VERY careful and make sure you understand what # you're doing. # # Note 3: If you use a shell other than zsh things like |& # and the for loops may not work. # # Note 4: I always run as root. # # Note 5: some parts are too old and don't work anymore. Some # never worked. # # Note 6: the definitions for the find-xxxfile commands are on my # .emacs. # # Note 7: if you see a strange command check my .zshrc -- it may # be defined there as a function or an alias. # # Note 8: the sections without dates are always older than the # sections with dates. # # This file is at <http://angg.twu.net/e/love.e> # or at <http://angg.twu.net/e/love.e.html>. # See also <http://angg.twu.net/emacs.html>, # <http://angg.twu.net/.emacs[.html]>, # <http://angg.twu.net/.zshrc[.html]>, # <http://angg.twu.net/escripts.html>, # and <http://angg.twu.net/>. # ####### # «.love» (to "love") # «.love-deb-src» (to "love-deb-src") # «.tableauxprover» (to "tableauxprover") # «.love-vilua» (to "love-vilua") # «.geometry» (to "geometry") # «.love-git» (to "love-git") # «.tut-scrolling-shooter» (to "tut-scrolling-shooter") # «.wiki-download» (to "wiki-download") ##### # # Löve # 2009sep07 # ##### # «love» (to ".love") # (find-es "love") # http://www.love2d.org/download # http://love2d.org/wiki/index.php?title=Main_Page # http://downloads.sourceforge.net/love/love-0.5-0.deb # http://downloads.sourceforge.net/love/love-0.5-0.tar.gz # http://www.love2d.org/examples/examples.love # http://www.love2d.org/tutorials/001/hamsterball.love # http://www.love2d.org/documentation?page=tutorial&id=001 # (add-to-alist 'auto-mode-alist '("\\.love\\'" . archive-mode)) #* sudo dpkg -i $S/http/downloads.sourceforge.net/love/love-0.5-0.deb #* rm -Rv ~/usrc/love-0.5-0/ tar -C ~/usrc/ -xvzf \ $S/http/downloads.sourceforge.net/love/love-0.5-0.tar.gz cd ~/usrc/love-0.5-0/ #* # (code-c-d "love" "~/usrc/love-0.5-0/") # (find-lovefile "") # (find-lovefile "readme.txt") # (find-lovesh "find * | sort") * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) love $S/http/www.love2d.org/examples/examples.love love $S/http/www.love2d.org/tutorials/001/hamsterball.love # 2011oct03: # (find-status "love") # (find-vldifile "love.list") # (find-udfile "love/") ##### # # love (from the debian sources - backport) # 2011oct04 # ##### # «love-deb-src» (to ".love-deb-src") # (find-es "love") # http://ftp.de.debian.org/debian/pool/main/l/love/ # http://ftp.de.debian.org/debian/pool/main/l/love/love_0.7.2-1.dsc # http://ftp.de.debian.org/debian/pool/main/l/love/love_0.7.2-1.debian.tar.bz2 # http://ftp.de.debian.org/debian/pool/main/l/love/love_0.7.2.orig.tar.gz # http://ftp.de.debian.org/debian/pool/main/l/love/love_0.7.2.orig-demos.tar.gz # http://ftp.de.debian.org/debian/pool/main/l/love/love_0.7.2.orig-doc.tar.gz * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) sudo \ apt-get install autotools-dev dh-buildinfo sng pkg-config libboost-dev \ libsdl1.2-dev libsdl-mixer1.2-dev libopenal-dev liblua5.1-0-dev \ libphysfs-dev libdevil-dev libfreetype6-dev libmng-dev \ libmodplug-dev libmpg123-dev libflac++-dev libxpm-dev libxcursor-dev \ libxxf86vm-dev libtiff4-dev libpng12-dev lua5.1 liblua5.1-expat0 #* rm -Rv ~/usrc/love/ mkdir ~/usrc/love/ cd $S/http/ftp.de.debian.org/debian/pool/main/l/love/ cp -v love_0.7.2* ~/usrc/love/ cd ~/usrc/love/ # dpkg-source -sn -x love_0.7.2-1.dsc dpkg-source --no-check -sn -x love_0.7.2-1.dsc cd ~/usrc/love/love-0.7.2/ # dpkg-buildpackage -us -uc -b -rfakeroot |& tee odb dpkg-buildpackage -d -us -uc -b -rfakeroot |& tee odb #* # (find-fline "~/usrc/love/") * (eepitch-shell) cd ~/usrc/love/ sudo dpkg -i *.deb #* # (code-c-d "love" "~/usrc/love/love-0.7.2/") # (find-lovefile "") # (find-zsh "availabledebs | sort" "love") # (find-zsh "availabledebs | sort | grep love") # (find-status "love") # (find-vldifile "love.list") # (find-udfile "love/") # (find-status "love-doc") # (find-vldifile "love-doc.list") # (find-udfile "love-doc/") # (find-udfile "love/html/") # (find-udw3m "love/html/love.html") # (find-udw3m "love/html/love.graphics.html") # (find-udw3m "love/html/love.graphics.draw.html") # (find-udw3m "love/html/love.graphics.rectangle.html") # file:///usr/share/doc/love/html/love.html ##### # # TableauxProver (uses Löve) # 2011oct03 # ##### # «tableauxprover» (to ".tableauxprover") # http://www.tecmf.inf.puc-rio.br/TableauxProver # http://www.tecmf.inf.puc-rio.br/TableauxProver/Applet * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) sudo dpkg -i ~/tmp/tableauxprover.deb sudo dselect update # (find-status "tableauxprover") # (find-vldifile "tableauxprover.list") # (find-udfile "tableauxprover/") # (find-fline "/usr/bin/TableauxProver") # (find-fline "/usr/share/TableauxProver/TableauxProver.love") * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) TableauxProver # ^ yields errors "Bruno Lopes" <bvieira@inf.puc-rio.br> Oi Bruno, eu consegui instalar o deb so TableauxProver, mas ele está bem quebrado... ó: /home/edrx/e(edrx:re)# TableauxProver This is LOVE 0.5.0 (Salted Nuts). INIT love.filesystem [PhysFS] INIT love.graphics [OpenGL/DevIL/FreeType] INIT love.audio [SDL_mixer] INIT love.timer [SDL] INIT love.mouse [SDL] INIT love.keyboard [SDL] INIT love.physics [Box2D] INIT love.lib [LuaSocket] INIT love.joystick [SDL] INIT love.system [Generic] [string "main.lua"]:9: module 'TableauxProver' not found: no field package.preload['TableauxProver'] no file './TableauxProver.lua' no file '/usr/local/share/lua/5.1/TableauxProver.lua' no file '/usr/local/share/lua/5.1/TableauxProver/init.lua' no file '/usr/local/lib/lua/5.1/TableauxProver.lua' no file '/usr/local/lib/lua/5.1/TableauxProver/init.lua' no file '/usr/share/lua/5.1/TableauxProver.lua' no file '/usr/share/lua/5.1/TableauxProver/init.lua' no file './TableauxProver.so' no file '/usr/local/lib/lua/5.1/TableauxProver.so' no file '/usr/lib/lua/5.1/TableauxProver.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file "TableauxProver" in LOVE game directories. stack traceback: [C]: in function 'require' [string "main.lua"]:9: in main chunk QUIT love.system [Generic] QUIT love.joystick [SDL] QUIT love.lib [LuaSocket] QUIT love.physics [Box2D] QUIT love.keyboard [SDL] QUIT love.mouse [SDL] QUIT love.timer [SDL] QUIT love.audio [SDL_mixer] QUIT love.graphics [OpenGL/DevIL/FreeType] QUIT love.filesystem [PhysFS] /home/edrx/e(edrx:re)# O que eu preciso fazer pra ele rodar? 8-| Mudando de assunto um pouco: eu quase virei desenvolvedor do Debian em 2000... acabei desistindo e ficando ocupado demais com outras coisas, mas aprendi um bocado, e tenho um repositório com um pacote meu, feito de um modo bem limpinho (aparentemente seguindo todas as guidelines, acho que ninguém me puxaria a orelha): http://angg.twu.net/debian/ Se você quiser eu posso por o .deb do TablearProver - assim que a gente consertar ele - no meu repositório. Interessa? [[]], Eduardo Ochs eduardoochs@gmail.com http://angg.twu.net/ ##### # # Löve: vilua # 2011nov21 # ##### # «love-vilua» (to ".love-vilua") # (find-angg ".emacs" "love2d") # (find-angg "LOVE2D/conf.lua") # vilua: # http://article.gmane.org/gmane.comp.lang.lua.general/85645 # (find-fline "~/tmp/vilua-2011nov20.love") * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) # love ~/tmp/vilua-2011nov20.love cp -v ~/tmp/vilua-2011nov20.love /tmp/vilua.love # love /tmp/vilua.love * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) rm -Rv /tmp/vilua/ mkdir /tmp/vilua/ # unzip -d /tmp/vilua/ /tmp/vilua.love unzip -d /tmp/vilua/ ~/tmp/vilua-2011nov20.love cp -v ~/LOVE2D/conf.lua /tmp/vilua/ # cd /tmp/vilua/ && zip /tmp/vilua2.love * cd /tmp/vilua/ && zip ~/LOVE2D/vilua2.love * # love /tmp/vilua2.love # (find-fline "/tmp/vilua.love") # (find-fline "/tmp/vilua/conf.lua") * (eepitch-love) * (eepitch-kill) * (eepitch-love) help point(10, 20) line(20, 30, 40, 50) dofile "/home/edrx/LUA/lua50init.lua" PP{1,2} os.exit() https://github.com/ilua/ilua Steve Donovan's Interactive Lua http://lua-users.org/wiki/InteractiveLua ##### # # Geometry # 2011dec05 # ##### # «geometry» (to ".geometry") # (find-udw3m "love/html/love.filesystem.html") # http://love2d.org/wiki/Config_Files function love.conf(t) t.screen.width = 1024 t.screen.height = 768 end <edrx> a very quick and newbie-ish question... I am starting to use love2d, and dirk laurie's vilua - http://article.gmane.org/gmane.comp.lang.lua.general/85645 - seems to be the right way to start for me, because I am going to do most of my development from emacs, using this: http://angg.twu.net/eev-current/eepitch.readme.html <edrx> anyway, the question is: how do I set the geometry of the love window to, say, 500x500? can I do that via a command-line option? (edrx) https://love2d.org/wiki/Category:Tutorials http://nova-fusion.com/2011/06/14/a-guide-to-getting-started-with-love2d/ https://love2d.org/wiki/Category:Libraries https://github.com/Yonaba/30log function love.draw( ) love.graphics.circle( "fill", 100, 100, 50 ) end ##### # # Love2d from git # 2020feb08 # ##### # «love-git» (to ".love-git") # (find-apt-get-source-links "love") # https://love2d.org/wiki/Building_L%C3%96VE # (find-git-links "https://github.com/love2d/love" "love") # https://github.com/love2d/love * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) # rm -Rfv ~/usrc/love/ cd ~/usrc/ git clone https://github.com/love2d/love cd ~/usrc/love/ export PAGER=cat git branch --list -a git for-each-ref git log --oneline --graph --all -20 # (find-fline "~/usrc/") # (find-fline "~/usrc/love/") # (find-gitk "~/usrc/love/") # (code-c-d "love" "~/usrc/love/") # (find-lovefile "") # (find-lovesh "find * | sort") ##### # # tut-scrolling-shooter # 2020feb08 # ##### # «tut-scrolling-shooter» (to ".tut-scrolling-shooter") # https://love2d.org/wiki/Category:Tutorials # http://osmstudios.com/tutorials/your-first-love2d-game-in-200-lines-part-1-of-3 # https://github.com/DawsonG/Love2d-Tutorial-Scrolling-Shooter # (find-git-links "https://github.com/DawsonG/Love2d-Tutorial-Scrolling-Shooter" "love2dtutscrsho") * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) # rm -Rfv ~/usrc/Love2d-Tutorial-Scrolling-Shooter/ cd ~/usrc/ git clone https://github.com/DawsonG/Love2d-Tutorial-Scrolling-Shooter cd ~/usrc/Love2d-Tutorial-Scrolling-Shooter/ # (code-c-d "tutscrshoo" "~/usrc/Love2d-Tutorial-Scrolling-Shooter/") # (find-tutscrshoofile "") # (find-tutscrshoofile "Part1/") cd ~/usrc/Love2d-Tutorial-Scrolling-Shooter/Part1/ love . cd ~/usrc/Love2d-Tutorial-Scrolling-Shooter/Part2/ love . ##### # # Downloading a local copy of the Love2D wiki # 2020feb08 # ##### # «wiki-download» (to ".wiki-download") # https://www.reddit.com/r/love2d/comments/9bs4px/any_way_to_make_the_entire_love2d_documentation/ # https://love2d.org/ # https://love2d.org/wiki/Main_Page # If you want to read this wiki without an internet connection, you # can download a weekly generated package for offline viewing _here_. # https://love2d.org/wiki.zip * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) rm -Rv /tmp/love2d-wiki/ mkdir /tmp/love2d-wiki/ cd /tmp/love2d-wiki/ unzip $S/https/love2d.org/wiki.zip # (find-fline "/tmp/love2d-wiki/") https://love2d.org/wiki/love mkdir /tmp/foo/ # (find-fline "/tmp/foo/foo.lua") https://love2d-community.github.io/love-api/ https://love2d.org/ https://love2d.org/forums/viewtopic.php?t=80288&start=10 apti love https://www.reddit.com/r/love2d/comments/900dnp/does_anybody_know_how_to_install_love2d_on_debian/ https://love2d.org/wiki/Building_L%C3%96VE https://github.com/love2d/love # (find-zsh "installeddebs | sort | grep love") # (find-zsh "availabledebs | sort | grep love") # (find-status "love") # (find-vldifile "love.list") # (find-vldifile "love.postinst") # (find-udfile "love/") # (find-man "6 love") https://gitlab.com/alexjgriffith/min-love2d-fennel https://github.com/finnoleary/love-edit https://www.youtube.com/watch?v=efKxhyMlH0Q https://www.youtube.com/watch?v=efKxhyMlH0Q https://andreyor.st/posts/2023-04-08-new-fennel-proto-repl-and-call-for-testing/ https://github.com/ejmr/love-minor-mode # Local Variables: # coding: utf-8-unix # End: