Commit Graph

  • 61b02fdeef - [FIX] bug en draw.rect i draw.rectFill Raimon Zamora 2025-02-19 13:44:25 +01:00
  • 7abc8648a1 - [FIX] cls() no pillava el color de la subpaleta - [FIX] cosa rara al modificar noms de variables Raimon Zamora 2025-02-19 13:38:19 +01:00
  • 2f0817d20c - [CHG] draw.rect i draw.rectFill ara pillen (x,y,w,h), com les persones normals, no (x1,y1,x2,y2) com el subnormal de pico-8 Raimon Zamora 2025-02-19 13:34:55 +01:00
  • ecb493f9c8 - [CHG] surface.cls(color) ompli del color especificat tota la surface Raimon Zamora 2025-02-19 12:45:13 +01:00
  • 9c3baebc1e - [FIX] Les surfaces creades ara s'inicialitzen a tot ceros Raimon Zamora 2025-02-19 12:01:49 +01:00
  • 173654e0bd - [FIX] map.draw no agafava be el tamany de la surface Raimon Zamora 2025-02-19 11:26:07 +01:00
  • ba1daf810d - [FIX] Hi ha que proveïr de una surface amb tiles al tilemap Raimon Zamora 2025-02-19 11:19:34 +01:00
  • 45d31579d2 - [NEW] tilemap.new(x,y) - [CHG] tilemap.new i tilemap.load alliberen la surface anterior (si hi havia) del mapa Raimon Zamora 2025-02-19 10:40:14 +01:00
  • 5306e82897 - Adaptat exemple a la nova API - [NEW] viewport.resetClipping() Raimon Zamora 2025-02-19 06:49:56 +01:00
  • 6c9221cd20 - WIP Raimon Zamora 2025-02-18 14:00:42 +01:00
  • 99a29cf2e0 - Saving progress... Raimon Zamora 2025-02-18 06:50:37 +01:00
  • 88e406dae0 - Seguim treballant en polir bugs i deixar guapeta la API Raimon Zamora 2025-02-17 14:01:34 +01:00
  • 29a90f4b46 - Esta tot fet una marranà, en mig de la conversió Raimon Zamora 2025-02-16 21:48:07 +01:00
  • 40e98737ce - Tota la API canviada. Fent la documentació. - v1.0 RC1 Raimon Zamora 2025-02-14 14:14:26 +01:00
  • b56a0c0f71 - [NEW] surfsize(surface) torna el tamany de la surface que se li pasa Raimon Zamora 2024-11-29 14:33:21 +01:00
  • e36caf566c - [DEPRECATED] camera() - [DEPRECATED] view() - [FIX] la regió de clip ara es calcula sempre ajustada a la surface de destí, siga la que siga encara que es canvie Raimon Zamora 2024-11-28 17:04:04 +01:00
  • c07e09cebd - [FIX] Aplicat un fix de JailAudio Raimon Zamora 2024-11-27 13:33:52 +01:00
  • 802f32f1b8 v0.9.97d - Ara mini usa Respak2 Raimon Zamora 2024-11-26 16:15:31 +01:00
  • 377f0a238b v0.9.96d - [NEW] Ara mini ja no requereix SDL_mixer, usa JailAudio Raimon Zamora 2024-11-26 14:40:49 +01:00
  • 916a24230e - Treballant en el canvi a JailAudio Raimon Zamora 2024-11-25 14:20:51 +01:00
  • cddd79f05e - [NEW] res() without arguments returns width and height of window. - [NEW] camera() without arguments returns 'x' and 'y' of camera. - [NEW] palcolor() to set or get a color from the palette (replaces setcolor() & getcolor() ). - [NEW] paltrans() to set or get which color index is transparent (replaces settrans() & gettrans() ). - [RENAME] sspr() to blit(), spr_r() to blit_r() - [NEW] mouse() returns both x and y mouse coordinates. - [DEPRECATED] setcolor(), getcolor(), settrans(), gettrans(), spr(), sspr(), spr_r(), mousex(), mousey(), abs(), ceil(), flr(), sgn(), sin(), cos(), atan2(), sqrt(), max(), mid(), min(), tostr(), ascii(), strlen(), fopen(), fopenres(), fclose(), feof(), fwritei(), fwrited(), fwrites(), fwritew(), fwriteb(), fwriteln(), freadi(), freadd(), freads(), freadw(), freadb() - [FIX] Now the background on resizable windows is filled with black instead of garbage. - [FIX] Compiling on Linux uses POSIX functions. Raimon Zamora 2024-02-15 13:54:17 +01:00
  • 4b6a9d8188 - [NEW] stopmusic() accepta com a paràmetre els milisegons que tardarà en fadechar out (per defecte 1000ms). - [NEW] musicpos() per a obtindre o especificar la posició de la música. Raimon Zamora 2024-02-14 14:11:45 +01:00
  • 9e08a693c7 - [FIX] Ara les coordinades del ratolí son lo que toca respecte al joc, no al tamany real de la finestra Raimon Zamora 2024-02-13 13:20:07 +01:00
  • 8618e922c8 - [NEW] spr_r per a rotar sprites (retalla cantos) - [NEW] sspr admet un nou paràmetre "invert", per a invertir la x i la y. Raimon Zamora 2024-02-07 14:20:12 +01:00
  • 63eaaa857e - Es pot canviar la resolució des del programa abm res(w,h) - La finestra es resizable - Es permet arrancar des d'un arxiu .lua passat com a paràmetre. Raimon Zamora 2023-11-28 19:03:13 +01:00
  • 7569c24d04 Updatat nombre versió Raimon Zamora 2023-10-09 11:48:14 +02:00
  • b29c6c873d - La tecla de parar passa a ser F12 (en compte de F1). - [FIX] Ja no intentem recuperar la posició de la finestra. Ara reapareix centrada. - [NEW] Si s'intenta ficar un zoom menor de 1, es corregeix a 1. - [NEW] Si s'intenta ficar un zoom major que el tamany de la pantalla, redueix el zoom fins a un correcte. Raimon Zamora 2023-10-09 11:29:17 +02:00
  • 1fe151ee1e - La tecla de parar passa a ser F12 (en compte de F1). - [FIX] Ja no intentem recuperar la posició de la finestra. Ara reapareix centrada. - [NEW] Si s'intenta ficar un zoom menor de 1, es corregeix a 1. - [NEW] Si s'intenta ficar un zoom major que el tamany de la pantalla, redueix el zoom fins a un correcte. Raimon Zamora 2023-10-09 11:29:17 +02:00
  • 0b6e30c01b - [NEW] funció dir() per a obtindre els arxius del directori "data" JailDoctor 2023-09-11 15:06:05 +02:00
  • 663a4af6cb - [NEW] tolocal(x,y) converteix coordenades de pantalla en coordenades de camera Raimon Zamora 2023-09-11 11:39:14 +02:00
  • d1f13a0036 - [NEW] Afegit missatge descriptiu si no es troba un require Raimon Zamora 2023-08-31 23:40:36 +02:00
  • 135db2c5e0 -[FIX] Arreglat el bug que feia petar el Cacaus Raimon Zamora 2023-08-31 23:30:22 +02:00
  • d16f0fef07 - Reactivat relleno de patró (fillp) - [New] bcolor() per a especificar el color de fons del patró, si no es transparent. - [New] subpal() per a fer intercanvis de color de la paleta Raimon Zamora 2023-08-04 16:26:57 +02:00
  • 040697fcbd -Secció "files" del game.ini obsoleta. Ara sempre obri "main.lua". Els demes arxius s'inclouen amb "require()" Raimon Zamora 2023-08-04 14:04:26 +02:00
  • 4fd9a443f2 - require() implementat Raimon Zamora 2023-08-04 13:52:11 +02:00
  • 88237804f7 - [FIX] Non-turbo mode was buggy JailDoctor 2023-07-28 09:47:11 +02:00
  • 9b99aa23cf MINI v.0.9.64d: - [NEW] origin(x,y) sets the origin of the coordinate system. - [FIX] false extern declaration removed. - MINI_VERSION has its own header file. Raimon Zamora 2023-07-05 07:58:31 +02:00
  • dab7a96ec2 Merge branch 'master' of https://gitea.sustancia.synology.me/JailDoctor/mini Raimon Zamora 2023-07-04 23:12:00 +02:00
  • 584b65041c - [NEW] view(x,y,w,h) Creates a clipped viewport that also translates origin. -[NEW] view() Resets the viewport to all the window. Raimon Zamora 2023-07-04 23:03:19 +02:00
  • 0a92e29aa3 -[NEW] Window refreshes at the position it was -[FIX] Window slightly moved after refresh. Probably only fixed on MY Linux. Raimon Zamora 2023-07-04 22:53:34 +02:00
  • 58f4845746 - [FIX] clip(x,y,w,h) works as expected. - [NEW] clip() with no arguments resets clipping region. - [FIX] cls() respects clipping region (but now it's slower) - [FIX] pset's and pget now respect clipping region correctly Raimon Zamora 2023-07-04 19:50:13 +02:00
  • 724592ec67 - Added turbo option, to allow waiting for events and use less CPU Raimon Zamora 2023-06-23 11:22:12 +02:00
  • 38e209fa76 - [NEW] Function "configfolder()" Raimon Zamora 2023-02-01 19:15:18 +01:00
  • f457075c49 - btnp() i padp() consumeixen la tecla polsada si es la que arriba com a paràmetre - anykey() tambe mira si s'ha pulsat algun botó del pad - anykey() consumeix qualsevol tecla o botó del pad pulsats. JailDoctor 2023-01-31 19:47:52 +01:00
  • 0e1e74a000 - [NEW] beat() function JailDoctor 2023-01-30 15:51:45 +01:00
  • c335edee57 - [NEW] mbtnp() added JailDoctor 2023-01-27 19:50:49 +01:00
  • 5e4f0559c4 - [FIX] Crash if map() used without map surface assigned - [FIX] Crash on restart, system surfaces not finalized properly (Cacaus crash maybe solved?) Raimon Zamora 2023-01-27 17:15:03 +01:00
  • 3675f887a6 - Fixed problem with SDL constants on linux (outdated SDL version, anyways) Raimon Zamora 2023-01-21 14:45:06 +01:00
  • a03053b717 - Minor changes for macos build Raimon Zamora 2023-01-21 14:08:24 +01:00
  • 3565c02636 - c++11 mode for macos compilation Raimon Zamora 2023-01-21 14:07:47 +01:00
  • ff1ca6279d - Icon added to Windows compilation Raimon Zamora 2023-01-20 19:13:55 +01:00
  • 3ac16958b9 - [FIX] Removed unused variable, minor readjustment of code to avoid errors. Raimon Zamora 2023-01-19 18:24:01 +01:00
  • 618cc83c8e - Removed stray 'stb_vorbis.c'. Raimon Zamora 2023-01-18 18:46:29 +01:00
  • b96e80ab1d - [NEW] Gamepad support (not tested) - [NEW] pad(), padp(), gamepad constants Raimon Zamora 2023-01-18 18:43:27 +01:00
  • e53befb700 - [NEW] configuration file working. - [NEW] zoom(), fullscreen(), cursor(), getconf(), setconf(). - [CHG] now zoom and fullscreen are controlled by the game, not by mini. - [FIX] quit() now actually quits. - [NEW] btnp() without parameters returns key pressed. - [NEW] zoom, fullscreen and cursor are saved to config automatically. Raimon Zamora 2023-01-18 17:41:57 +01:00
  • 4c0cf979d3 - [WIP] Config files JailDoctor 2023-01-17 20:04:01 +01:00
  • 4cf3987dc3 - MacOS Bundle compilation included Raimon Zamora 2023-01-13 17:50:29 +01:00
  • a42641653f - Remove last remnants of JailAudio Raimon Zamora 2023-01-13 15:51:00 +01:00
  • 2f106bb943 - Allow to change display zoom and fullscreen Raimon Zamora 2023-01-13 15:50:34 +01:00
  • 5075c65f7e - on "playmusic" remove volume parameter, add loop parameter JailDoctor 2023-01-13 13:19:14 +01:00
  • bcb58d49a0 - Release version should not show console JailDoctor 2023-01-13 12:42:56 +01:00
  • ffdc05b061 - Cartelet de boot llevat si no estem en debug - La musica fa fadeout JailDoctor 2023-01-12 19:39:20 +01:00
  • 9c24d33782 - Música i só amb SDL_mixer Raimon Zamora 2023-01-12 19:02:17 +01:00
  • 7ecd11a169 - [WIP] Migrating to jail_audio Raimon Zamora 2023-01-11 18:58:15 +01:00
  • e388d046b2 - [WIP] Implementing instruments (envelopes) for Chirping JailDoctor 2023-01-10 20:03:52 +01:00
  • 256f4a2d04 - Now labels must include its number Raimon Zamora 2023-01-10 18:55:36 +01:00
  • 3fed72a19b - [WIP] Repetitive sections in chirps JailDoctor 2023-01-09 20:03:23 +01:00
  • c577755c3b - Makefile added, batch files removed Raimon Zamora 2023-01-09 17:35:48 +01:00
  • 4205bdfe90 - [FIX] [Chirping] Silence crashes app Raimon Zamora 2023-01-09 17:35:33 +01:00
  • c7dcf8bb8e - Implementada polifonia en Chirping - Arreglats un montó de warnings per lo mon Raimon Zamora 2023-01-09 17:02:04 +01:00
  • bfcd7e62cf - Several waveforms to choose for chirps JailDoctor 2023-01-09 08:39:39 +01:00
  • 7a574de4b6 -Sync even when not in focus Raimon Zamora 2022-12-29 21:12:04 +01:00
  • 1731b4cb03 - Loop on chirps implemented JailDoctor 2022-12-29 12:22:53 +01:00
  • 5ecb7fd139 - Debug i Release Raimon Zamora 2022-12-28 18:35:09 +01:00
  • 97902594ad - chirp_stop() implemented - chirps stop playing when ESC or F5 Raimon Zamora 2022-12-28 16:09:11 +01:00
  • 40c2b009a9 - [FEAT] A song can lock the audio until finished JailDoctor 2022-12-28 14:07:41 +01:00
  • 9835f4dc4a - Strip doesn't work on mac, it seems Raimon Zamora 2022-12-27 22:08:59 +01:00
  • 0cd5d59b8d - [FIX] Memory corruption bug from SDL_Init() on Mac Raimon Zamora 2022-12-27 21:49:26 +01:00
  • 0bbeaadcba Merge branch 'master' of ssh://jaildoctor.duckdns.org:9922/git/mini Raimon Zamora 2022-12-27 16:36:11 +01:00
  • c70c27dbb8 -Slight changes for macos Raimon Zamora 2022-12-27 16:35:34 +01:00
  • af4ead870b - Removed jail_audio, included chirps JailDoctor 2022-12-27 14:10:00 +01:00
  • 6cfc6b0438 - v0.9.01 - [NEW] version numbers - debug() is now an alias of printf JailDoctor 2022-11-02 13:48:53 +01:00
  • 1a732d7c71 - new debug system JailDoctor 2022-10-28 13:49:08 +02:00
  • a029771b07 - prnt() now handles accents and spanish characters correctly Raimon Zamora 2022-10-26 16:28:52 +02:00
  • 5ebd02ae66 - strlen handles utf8 strings correctly Raimon Zamora 2022-10-26 16:28:18 +02:00
  • 0bad4520d8 - optimized compilation for linux added Raimon Zamora 2022-10-23 12:06:54 +02:00
  • 7d1ea4b22e - lua should use prnt for onscreen text Raimon Zamora 2022-10-22 18:22:20 +02:00
  • 0b989de55f - [FIX] overflow in setpal Raimon Zamora 2022-10-22 18:22:00 +02:00
  • 4ff4e6fa78 -Added lua aux libs, changed some function names. To check. Raimon Zamora 2022-10-20 19:01:01 +02:00
  • 5c47def659 -consistent color in console JailDoctor 2022-10-17 23:42:58 +02:00
  • f1c87e4d25 - [NEW] exit() - [NEW] anykey() - [NEW] ismusicplaying() Raimon Zamora 2022-10-13 18:40:41 +02:00
  • d4ad849add [NEW] Cursor can be hidden from game.ini JailDoctor 2022-10-12 09:08:34 +02:00
  • b282bd05d5 - File operations work on "data/" folder or ".jrf" file - [NEW] fopenres() works on .jrf resources, fopen on normal files Raimon Zamora 2022-10-11 17:58:03 +02:00
  • a74ca5033c - playmusic() now accepts bool loop as second param Raimon Zamora 2022-10-07 18:17:11 +02:00
  • ee3c4325bc [NEW] Audio support: - playmusic(filename) - pausemusic() - resumemusic() - stopmusic() Raimon Zamora 2022-10-07 17:46:51 +02:00
  • 035d82c1ec -loadpal now loads a palette from disk and returns it in a table. -setpal sets a palette from a table as the current palette. Raimon Zamora 2022-10-05 18:51:26 +02:00
  • 8415841c5c -setpal & getpal renamed to setcolor & getcolor -setcolor & getcolor now use r, g & b instead of uint32 Raimon Zamora 2022-10-05 17:47:58 +02:00
  • a9f7d46afd [NEW] Now mini reads (GIFs and only GIFs) Raimon Zamora 2022-10-05 16:50:24 +02:00
  • c361eef2ff [NEW] feof(), freadw(), fwritew() Raimon Zamora 2022-10-03 18:52:44 +02:00
  • aad3ba639a [NEW] Multiple lua files JailDoctor 2022-09-19 17:28:43 +02:00