Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Nesbox

486
Posts
3
Topics
2,223
Followers
61
Following
A member registered Sep 06, 2016 · View creator page →

Creator of

Recent community posts

Thanks, the log answers it: your build took the desktop-GL path, not the ES one.

The default CMake configuration on Linux selects sokol’s desktop OpenGL backend, which still asks for a 4.3 core context; LINUX_GLX_CREATE_CONTEXT_FAILED is that path. The fix is in 9f9a2f2, but it is compiled only for the GLES backend, the one the official Linux builds use. Rebuild with -DUSE_GLES2=ON:

sudo apt install libegl1-mesa-dev libgles2-mesa-dev
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DUSE_GLES2=ON -DBUILD_WITH_ALL=ON
cmake --build build --parallel

Or, if rebuilding is a hassle, the current main nightly is built exactly this way and already has the fix (free build; the rendering code is shared): https://nightly.link/nesbox/TIC-80/workflows/build/main/tic80-linux.zip

Either build will still report 1.5.3345-dev — same commit, different backend. Run it without LIBGL_ALWAYS_SOFTWARE. If it still fails, the panic line should now be LINUX_EGL_... rather than LINUX_GLX_...; paste it and we’ll know where it stopped.

This is the backend the 1.5 Linux releases and the next Pro build use.

(1 edit)

Thanks, your details found the cause, and there is a test build now.

The 1.4 builds ask for an OpenGL 4.3 core context, and the 1.5 dev builds ask for OpenGL ES 3.1. Your 3rd-gen i5 (Ivy Bridge) provides OpenGL 4.2 / ES 3.0, so context creation fails and the release build exits without a message. That is also why the exported HTML works, the browser gives it WebGL2, which is exactly ES 3.0.

TIC-80 itself only needs ES 3.0, so this build asks for that instead:

https://github.com/nesbox/TIC-80/actions/runs/43709325896

Download tic80-linux unzip it and run ./tic80 without LIBGL_ALWAYS_SOFTWARE on one of the school PCs. It should report 1.5.3346-dev.

Please tell me if the window opens and renders on the hardware driver. If it still fails, run it as:

LIBGL_DEBUG=verbose ./tic80

and paste the output here.

The fix is in the shared renderer, so it will be in 1.5.0 (and the next Pro build) once confirmed. This test build is the free one, HTML export is in the free build too, so you can try your usual export as well.

(1 edit)

Hi, thanks for the report, and sorry for the trouble, TIC-80 1.4 asks for an OpenGL 4.3 core context, and on drivers that cannot provide one it exits silently like this.

Could you paste the output of `glxinfo -B` here (install `mesa-utils` if it is missing)?

Hi, you can download it here, https://nightly.link/nesbox/TIC-80/workflows/build/main , it's dev version, not released yet.

Thank you.

Hello, thank you for your words

as for music import, I can say that it's not an easy task, because TIC-80 has its own sound system and it's hard to convert other formats into it

maybe, only notes can be imported

unfortunately, nobody knows, we release it when all these issues will be closed https://github.com/nesbox/TIC-80/projects/6

Please wait until the v1.1 release

try to save the cart using "save cart_name.tic" command if you need a file

also, you can locate the file using "folder" command

Hi,

Unfortunately, there is no option to play a game without an intro/menu, but we have a cart player who can play carts without any TIC-80 mention and it can be built from the sources if you need it. Here is the link https://github.com/nesbox/TIC-80/blob/main/src/system/sdl/player.c

Hi, 

Thank you for so a detailed report, I'll take a look at the benchmarks, it's interesting why it works differently on Firefox, in the other browsers TIC-80 works pretty smoothly.

By the way, the SCREEN OFFSET (VRAM) is fixed on the dev branch, I hope we will release it, soon.

Thank you.

Hello, just noticed you have removed all your carts from the tic80.com website due the compatibility and performance issues. Could you pls describe the problems that angered you so much, maybe we can fix them.

Hi,


Unfortunately, Google removed the app from the store, at the moment you can manually install .apk or you could install the app from F-Droid https://f-droid.org/packages/com.nesbox.tic/

TIC-80 community · Posted in WIP?

I've updated the description to factual information, sorry for the inconvenience.

By the way, the last TIC-80 update was in May 2022 😂

TIC-80 community · Posted in WIP?

Could you please specify what pro features you expect the most, and they are WIP?

Hi, try to enable DEV MODE in the OPTIONS to quickly get into code editor

Hi

The only way I see is to run my cart with the TIC-80 player, but you have to build it from https://github.com/nesbox/TIC-80 source.

After build you will find `player.exe` next to `tic80.exe`, you can name `cart.tic` to your cart and put it next to `player.exe` and it can run without anything, just your game.

Also you can customize the player as you wish and build.

The binary you download depends on OS you want to export to, but yes it's exact copy of tic executable, also we have version without editors in pro version.

Try to look at the https://github.com/nesbox/TIC-80/blob/main/.github/workflows/build.yml file where we have all the build configurations and options for all supported OS.

I know, it's disappointing, even for me and I'll try to improove this part in the future, sorry for that.

Unfortunately I don't see an easy way to replace the downloaded binary, alternatively you can change the url to your own and force it to download your binary.

Please use a Release build to make it smaller, looks like you used a Debug build.

Hi,

here we embed the cart to the downloaded binary https://github.com/nesbox/TIC-80/blob/main/src/studio/screens/console.c#L1960

and here we load embeded cart in exported game  https://github.com/nesbox/TIC-80/blob/main/src/studio/screens/start.c#L217

This is a well known bug https://github.com/nesbox/TIC-80/issues/1910, unfortunately, it hasn't been fixed yet, sorry.

Second, I haven't yet found a way to write a usable sleep() function.

As a possible solution, it could be like in this post https://itch.io/post/82494

First, after I export the html file I unzip it and open the index.html, but nothing happens after I click the "click to play" except that the words disappear. Am I exporting it the wrong way?

You have to use any local http server to load index.html or just try to upload your game to itch.io

Unfortunately you can't turn off the border at all, because the border is part of the TIC-80 screen, it has a resolution of 240x136px + the border we have is 256x144px. The only thing we could add is the Integer Screen Scaling option, which can reduce the border.

The png should be 128x128

import sprites t.png
function TIC()
{ cls(13) m=mouse() x=m[0] y=m[1] left=m[2] print(m[0]+" "+m[1]+" "+left) }

Try the code above. tThe mouse() api returns an array with values [x, y, left btn, middle btn, right btn].

Please don't use `dofile`, it doesn't work for a long time, please save your cart as a project `save cart.lua`, then call `folder` to find the `cart.lua` file which you can modify in any text editor, it will be automatically reloaded into the TIC-80 while you are editing.

I think it should be 128x128 png image.

It has to be a png, GIF is not longer supported, sorry.

ok, we'll add pro .deb with the upcoming release

Hi,

there is only a x86_64 ELF executable in the ZIP file, but you can download .deb file on the releases page on Github https://github.com/nesbox/TIC-80/releases/tag/v0.90.1723

Hi, seems you are trying to run 64bit TIC on 32bit system.

Pls, try to dowload version for winxp

Thanks for the info, i will know now.

cystedtwister

yes, the issue should be fixed on the dev version, you can check it here https://nightly.link/nesbox/TIC-80/workflows/build/main

Unfortunately, we are using the SDL2 library to render the TIC screen, which requires Android API level 24, i.e. Android 7.0 minimum.

Sorry.

xmonkee what version do you use to the fps, 1.0-dev or 0.90?

Hi, please try `--vsync` on the latest dev build https://nightly.link/nesbox/TIC-80/workflows/build/main, it should be fixed.

Thanks.

You have to copy carts to TIC80 application folder, use "folder" command to find it. Unfortunately, the latest Android does not allow you to copy files to the application folder, so we are trying to find a solution.

Yes, the binary isn't signed with the Apple Dev certificate, but you can always go to the system preferences and allow to run it in the Privacy settings.

Unfortunately, there is no file output, you only able to save data to the persistent memory https://github.com/nesbox/TIC-80/wiki/pmem

Pls, use the build for Andriod to run on your Chromebook https://github.com/nesbox/TIC-80/releases/download/v0.90.1723/tic80-v0.90-androi...

You can access the current palette in the VRAM using peek()/poke() API functions.

Here is an example https://github.com/nesbox/TIC-80/wiki/Sample-RGB-Color-RAM-Address