itch.io Spring Selects Series A
On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

TIC-80

Fantasy computer for making, playing and sharing tiny games. · By Nesbox

new programming language

A topic by javarice created Mar 12, 2017 Views: 1,304 Replies: 5
Viewing posts 1 to 5

can you add basic on tic 80 because it is very hard to learn lua and include a command reference

Lua is probably the most BASIC like language you're likely to run into. It's just missing goto and subs. That and "table:member()" vs "table.member()". No dim-ing variables. Everything is global unless you declare it local. And it's case sensitive. But other than that most of the command statements are just as verbose as BASIC. That being said, I'd love to see one of these "fantasy consoles" based on qb64 or freeBASIC.

(1 edit)

well. Lua work with labeling, right?

You can emulate a basic line flux declaring labels and calling it like as with a "goto" command. Basic is a sexy old Milfy language. Good to learning "basic" algorithm and to code some nice CYOA text based games.


Just a idea.


Lately i've been fiddling with a old BASIC game. Hammurabi. Do you know? I think i can convert it to lua if i work really hard.

There are many BASIC emulators to play with already. Lua is better though. Using tic, I am pretty sure the frame rate is 3 times faster, if not 10 times faster than BASIC. I like to fiddle with BASIC too for nostalgia.

At the end of the day, it is just outdated. It's like using visual basic to make a Windows app; nobody does that anymore for a reason: it's just not efficient.

qb64 "compiles" to C and then to machine code. There is nothing inherently slow about the dialect itself. Classic qBasic was interpreted however, so that might be what your thinking of. Also lots and lots of internal corporate software is still written in VB. Most commercial software is written in c++ and java because they are well established industry standards and C/java programmers are easily interchangeable in software farms. VB programmers on the other hand are tied to one platform, and their skills are less transferable. Non of that has anything to do with it's execution speed. Especially if you're working in dotNet then dialect is more of an esthetic choice or influenced by available libraries

If LUA is hard to learn for you... good luck with C++

LUA is the most simple Language I use for my project. To me it's even simpler than BASIC. And I know how to program in Java, Javascript, Typescript, Python, Moonscript, C, C++, C#.

Just follow a tutorial on LUA, you'll see it is not hard to use ;)