Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Crutiatix

7
Posts
3
Topics
7
Followers
4
Following
A member registered May 06, 2016 · View creator page →

Creator of

Recent community posts

(1 edit)

@DagonDev Hey. I am not actively developing TICuare for now, but it is not abandoned. If there will be reported any bug at its github then I will fix it. If you find any bug, or you are missing a feature then report it at TICuare's github and I will look at it. :)

@Nesbox Thanks for answer on my request! :)

@HomineLudens Good idea! It's maybe better than make TIC in TIC. Its name would be TIC-TAC :D

Greetings.

I decided to port for TIC-80 the simple UI library originally named Uare developed for LÖVE by Ulydev. I renamed it to TICuare. They are not compatible between each other. It neither wasn't my intention, but nevertheless it's handy library.

A basic functionality is done. Check out TICuare's github. I hope you'll like it :)

But, it's not fully functional as the original library Uare. I had a problem to implement trim function (or scissor as it's named in LÖVE API). It's quite important function because without it, it's not possible to wrap bigger content to smaller box, so it could work as window with posibility to scroll content.

I tried to implement it by two functions: one for save a screen called every time before drawing content of window and other one for draw back the saved screen data except a defined area in which lay desired content of the window.

Functionality was not problem. Problem was performance. These functions had to be called for every element with content, 60 times per second. It dramatically reduced performance.

I'm not very experienced programmer but I think that a better solution would be implement function which restrict drawing on screen directly in a individual drawing functions. So, a solution would by to write my own drawing functions, but it would take a lot of bytes in code. Now the minified version of TICuare has cca 10KB so I have not much more space if it should stay usable.

Would it be possible to implement trim function directly into the TIC API?

My vision is trim(x,y,with,height) - limits drawing area to x,y,width,height. Called with no arguments trim() - allow drawing everywhere on screen.

Thanks for any reply.

Best regards.

Thank you :)

Fixed all, thanks for tips. :)

TIC-80 community · Created a new topic Font render snippet

Hi,
I created snipped for the purpose of printing in various fonts generated by handy webapplication BITFONTMAKER2,
which allows easily create own fonts. I created project for this : https://crutiatix.itch.io/tic-font-render.
There you find everyting what is needed for use it in yours own games.

I hope you will like it :)

(2 edits)

The problem doesn't relate to specific game, but to all games runned under TIC. But I figured out that problem is only on Windows 10. I tried to run these games on Ubuntu and all works fine. :)

Now, when I'm on Ubuntu i see that TIC is running at this site. On Windows, I can't not even see that. TIC won't start up. I see only blank space.

TIC-80 community · Created a new topic None HTML game work

Hi,
None html game work. I tried them on itch.io, google chrome, mozilla, microsoft edge. I tried to run my exported game and games of others too. Google chrome javascript console views this error:

Uncaught abort(14) at Error at jsStackTrace (http://localhost:8000/snake.html:30:24109)
at stackTrace (http://localhost:8000/snake.html:30:24292)
at abort (http://localhost:8000/snake.html:53:6102)
at Array.oA (http://localhost:8000/snake.html:46:97236)
at Array.ch (http://localhost:8000/snake.html:40:57870)
at iy (http://localhost:8000/snake.html:46:91984)
at Object.dynCall (http://localhost:8000/snake.html:30:8203)
at http://localhost:8000/snake.html:30:333624
at Object.runIter (http://localhost:8000/snake.html:30:335154)
at Browser_mainLoop_runner (http://localhost:8000/snake.html:30:333529)
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.