Log In  

@TastyEnchilada

Follow
Follow

I don't wanna taco bout it.

Cart [#38099#] | Code | 2017-03-08 | No License | Embed
2

EDIT: I caved in and uploaded it to the BBS. Right clicking does not work properly on the BBS, sadly. ;(

You can use this link to itch.io instead. Right clicking does work there but there is still some mouse related weirdness going on. Download the cart for best experience.
https://thetruehero.itch.io/boneblast?secret=EIKLzfEsxuo4g2Umju423TEyew

P#37941 2017-02-28 17:19 ( Edited 2017-03-12 06:30)

Cart [#36183#] | Code | 2017-01-21 | No License | Embed
3

no game, just a reskin

P#36184 2017-01-21 10:12 ( Edited 2017-01-26 18:06)

Cart [#36176#] | Code | 2017-01-21 | No License | Embed
6

snakes! it has to be snakes!

P#36151 2017-01-20 18:29 ( Edited 2017-01-24 18:16)

Cart [#36136#] | Code | 2017-01-20 | No License | Embed
6

UPDATE: Version 3: new tv model
UPDATE: Version 2: less screen bumping

Hery is my first finished game and my first pico-8 game! There is still some stuff that could be improved:

  • better music (!)
  • sound effects
  • more audio/visual feedback
  • more animations (e.g. animate completed lines)
  • some bugs and gameplay tweaks (the tetris rules are not implemented perfectly and I assume there are some glitches possible with rotation)
P#36101 2017-01-19 17:35 ( Edited 2017-01-26 18:06)

Cart [#36010#] | Code | 2017-01-18 | No License | Embed
3

This took me longer than it should have. Some rudimentary camera controls are on the player 1 and player 2 buttons (rotation/translation). Depending on settings this glitches alot.

3D-Model: low poly cat by xavab29 Creative Commons - Attribution - Share Alike
Published on May 28, 2015
www.thingiverse.com/thing:853358

STL to lua Matlab script:

mesh = stlread('chatlowpoly.stl');
fid = fopen('stl.lua','wt');
fprintf(fid, 'stl = { ');
for i=1:length(mesh.vertices)-1
 fprintf(fid, ['{ ', num2str(mesh.vertices(i,1)), ', ', num2str(mesh.vertices(i,2)),', ',num2str(mesh.vertices(i,3)), ' },\n']);
end
fprintf(fid, ['{ ', num2str(mesh.vertices(length(mesh.vertices),1)), ', ', num2str(mesh.vertices(length(mesh.vertices),2)),', ',num2str(mesh.vertices(length(mesh.vertices),3)), ' }\n']);
fprintf(fid, '}');
fclose(fid);

using STL file reader by Eric Johnson
https://de.mathworks.com/matlabcentral/fileexchange/22409-stl-file-reader

and here is the Matlab prototype I used

global c
c = [0 0 -1]; %camera trans

mesh = stlread('chatlowpoly.stl');
figure

    for n=1:3:length(mesh.vertices)

        tri3d= [mesh.vertices(n,:);
        mesh.vertices(n+1,:);
        mesh.vertices(n+2,:)];

        tri2d = project_triangle(tri3d);

        plot_triangle(tri2d)

    end

function [tri2d] = project_triangle(tri3d)
    tri2d(1,:) = project_point(tri3d(1,:));
    tri2d(2,:) = project_point(tri3d(2,:));
    tri2d(3,:) = project_point(tri3d(3,:));
end

function [b] = project_point(a)
     b(1) = a(1)/a(3);
     b(2) = a(2)/a(3);
end

function [] = plot_triangle(tri2d)
%     x = [tri2d(1,1) tri2d(2,1)];
%     y = [tri2d(1,2) tri2d(2,2)];
%     plot(x,y);

%     x = [tri2d(2,1) tri2d(3,1)];
%     y = [tri2d(2,2) tri2d(3,2)];
%     plot(x,y);
%     
%     x = [tri2d(3,1) tri2d(1,1)];
%     y = [tri2d(3,2) tri2d(1,2)];
%     plot(x,y);

%plot([tri2d(1,1) tri2d(2,1)],[tri2d(1,2) tri2d(2,2)],[tri2d(2,1) tri2d(3,1)],[tri2d(2,2) tri2d(3,2)],[tri2d(3,1) tri2d(1,1)],[tri2d(3,2) tri2d(1,2)]);

line([tri2d(1,1) tri2d(2,1)],[tri2d(1,2) tri2d(2,2)]);
line([tri2d(2,1) tri2d(3,1)],[tri2d(2,2) tri2d(3,2)]);
line([tri2d(3,1) tri2d(1,1)],[tri2d(3,2) tri2d(1,2)]);
end

function [out] = get_rot_x(angle)
    out = [ 1 0 0;
            0 cos(angle) -sin(angle);
            0 sin(angle) cos(angle) ];
end

function [out] = get_rot_y(angle)
    out = [ cos(angle) 0 sin(angle);
            0 1 0;
            -sin(angle) 0 cos(angle) ];
end

function [out] = get_rot_z(angle)
    out = [ cos(angle) -sin(angle) 0;
            sin(angle) cos(angle) 0;
            0 0 1 ];
end
P#36011 2017-01-18 11:01 ( Edited 2017-01-18 16:42)

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-09-23 11:14 | 0.076s | 4194k | Q:58