7abc8648a1
- [FIX] cls() no pillava el color de la subpaleta - [FIX] cosa rara al modificar noms de variables
Raimon Zamora2025-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 Zamora2025-02-19 13:34:55 +01:00
ecb493f9c8
- [CHG] surface.cls(color) ompli del color especificat tota la surface
Raimon Zamora2025-02-19 12:45:13 +01:00
9c3baebc1e
- [FIX] Les surfaces creades ara s'inicialitzen a tot ceros
Raimon Zamora2025-02-19 12:01:49 +01:00
173654e0bd
- [FIX] map.draw no agafava be el tamany de la surface
Raimon Zamora2025-02-19 11:26:07 +01:00
ba1daf810d
- [FIX] Hi ha que proveïr de una surface amb tiles al tilemap
Raimon Zamora2025-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 Zamora2025-02-19 10:40:14 +01:00
5306e82897
- Adaptat exemple a la nova API - [NEW] viewport.resetClipping()
Raimon Zamora2025-02-19 06:49:56 +01:00
88e406dae0
- Seguim treballant en polir bugs i deixar guapeta la API
Raimon Zamora2025-02-17 14:01:34 +01:00
29a90f4b46
- Esta tot fet una marranà, en mig de la conversió
Raimon Zamora2025-02-16 21:48:07 +01:00
40e98737ce
- Tota la API canviada. Fent la documentació. - v1.0 RC1
Raimon Zamora2025-02-14 14:14:26 +01:00
b56a0c0f71
- [NEW] surfsize(surface) torna el tamany de la surface que se li pasa
Raimon Zamora2024-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 Zamora2024-11-28 17:04:04 +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 Zamora2024-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 Zamora2024-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 Zamora2024-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 Zamora2024-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 Zamora2023-11-28 19:03:13 +01: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 Zamora2023-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 Zamora2023-10-09 11:29:17 +02:00
0b6e30c01b
- [NEW] funció dir() per a obtindre els arxius del directori "data"
JailDoctor2023-09-11 15:06:05 +02:00
663a4af6cb
- [NEW] tolocal(x,y) converteix coordenades de pantalla en coordenades de camera
Raimon Zamora2023-09-11 11:39:14 +02:00
d1f13a0036
- [NEW] Afegit missatge descriptiu si no es troba un require
Raimon Zamora2023-08-31 23:40:36 +02:00
135db2c5e0
-[FIX] Arreglat el bug que feia petar el Cacaus
Raimon Zamora2023-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 Zamora2023-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 Zamora2023-08-04 14:04:26 +02:00
88237804f7
- [FIX] Non-turbo mode was buggy
JailDoctor2023-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 Zamora2023-07-05 07:58:31 +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 Zamora2023-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 Zamora2023-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 Zamora2023-07-04 19:50:13 +02:00
724592ec67
- Added turbo option, to allow waiting for events and use less CPU
Raimon Zamora2023-06-23 11:22:12 +02: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.
JailDoctor2023-01-31 19:47:52 +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 Zamora2023-01-27 17:15:03 +01:00
3675f887a6
- Fixed problem with SDL constants on linux (outdated SDL version, anyways)
Raimon Zamora2023-01-21 14:45:06 +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 Zamora2023-01-18 17:41:57 +01:00
d4ad849add
[NEW] Cursor can be hidden from game.ini
JailDoctor2022-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 Zamora2022-10-11 17:58:03 +02:00
a74ca5033c
- playmusic() now accepts bool loop as second param
Raimon Zamora2022-10-07 18:17:11 +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 Zamora2022-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 Zamora2022-10-05 17:47:58 +02:00
a9f7d46afd
[NEW] Now mini reads (GIFs and only GIFs)
Raimon Zamora2022-10-05 16:50:24 +02:00