BASIC8
Otillräckligt med betyg
Getting started with BASIC8
Av anbyte
Want to get started with BASIC8? This guide will help you get started.
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Getting started
Welcome to BASIC8, when you start up your program you can click the + icon next to all the games to create an new project. You can delete all the code since we will be adding in our own code. First of all we are going to need a screen to work with, something that runs our code, to learn about that view Tony Wang's Understanding Main Loop And Driver guide. For now we will just use this code:

def update(delta)
enddef
update_with(driver())


Now when you run your project using [CTRL + R] we will have an empty screen, lets add some text in. We will be using the "text" function.
for instance:

text 0, 0, "Hello world", rgba(255, 255, 255)

This is the code we will be using, first of all we tell basic8 what to do (text), next up we give it a position, (0, 0,). After that we tell it what text to add on our screen ("Hello world"), then we give the text a color. rgba(255, 255, 255). Add in your line of code in between the update(delta) and the enddef functions like this:

def update(delta)
text 0, 0, "Hello world", rgba(255, 255, 255)
enddef
update_with(driver())


Hopefully this will help you get started on using BASIC8, for more info you can always press [F1] for an BASIC8 manual
3 kommentarer
Doom Destroyer 10 dec, 2021 @ 15:22 
im been working on a little tutorial which breaks down stuff like sprites and variables so come there and youll learn how to make a simple clicker
anbyte  [skapare] 9 okt, 2020 @ 4:49 
Hey Kevin, I haven't used this software in quite a while. If you haven't already, instead of learning this I would recommend learning more about programming in general first. You can start with an interpreted language like Python, or Lua which is used very often in modding and scripting. After you are more familiar with general syntax, things will start to make sense in BASIC8, and from there it's just a matter of going through the manual to find what your looking for.

Otherwise I would look into PICO-8, which uses Lua as it's scripting language, and overall has more documentation. It's a lot easier to get started with, and allows for some pretty great results.

I'm sorry I couldn't be of much help, but I stopped using BASIC8 since it does not use BASIC syntax, and for the time I had been trying it out, it is a fun toy to play around with, but does not serve as any serious tool.
mad_hatter 8 okt, 2020 @ 13:22 
Tony I'm interested in learning more can you point me in the direction of any resources?