🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles

Nesbox

304
Posts
3
Topics
525
Followers
45
Following
A member registered 345 days ago · View creator page →

Projects

Recent community posts

(Edited 1 time)

btn() has only one argument - button id

UPD: ah, you probably mean btn(id) == btnp(id,0,1), yes it seems, honestly, I haven't checked it yet :)

btn() returns true all the time (if button pressed), will be true-true-true-true-false-true

btnp() returns true only one time, when button was just pressed, will be true-false-false-false-false-true

https://github.com/nesbox/tic.computer/wiki/btnp

Posted in Suggestions!!

Could you pls add these suggestions to GIthub to not forget https://github.com/nesbox/tic.computer/issues

Thanks

(Edited 1 time)

This will never happen with TIC, sorry :) (maybe only collision detection in api)

So, yes, TIC80 is designed to make tiny games and it will break all the limitations if I'll remove code limit (you will be able to load all the graphics from the code/text).

pls choose another dev tool, like Unity or Game Maker If you want to develop a really big game

PS. there is a second variant, TIC will be opensorced soon and you'll be able to fork it and make your own console or remove the limitations

Sorry for the delay with the response

Replied to sgdw in Open source

Thank you for donation :)

I'm going to release sources in 1-2 months

Map editor hasn't fully implemented yet and all these points will be added in near future

Posted in Discord

There is discord server https://discord.gg/DkD73dP

I moved TIC to the beta version in Play Store, so, there is no limitations

(Edited 1 time)

use 'load crawl.tic music '

https://github.com/nesbox/tic....

sorry, my mistake :)

Hi, you can use 'import cart.tic music' command to import music from cart.tic

call 'import cart.tic sfx' to import instruments

I have a 'TIC bundler' tool, but it's a bit outdated,  will update it soon...

https://nesbox.itch.io/bundler

use `export native` command in the console

Great, thanks

The TIC Bundler is out of date and I have to update it.

Don't know when Android export will be added, maybe as part of the issue https://github.com/nesbox/tic.... 

I got the problem, seems default cartridge has DB16 palette and that's why you don't see changes.

So, it shouldn't be, it's a bug. As a temporary solution, load palette.tic from demos, copy any palette string from the code and paste it to the Palette Editor. (also, pls create an issue on the Github)

Thanks

It's default palette for new cartridges in the config file, try to create new cartridge after you'll change palette in the config.

yes, you can change channel volume in the Sound Registers  using 'poke' api https://github.com/nesbox/tic....

Also, I'm going to add Fade effect to the Music Editor

Thank you :)

I added "Support This Game" button to the itch.io page.

Thank you :)

1. there aren't any legal limitations for creators, TIC-80 is more educational project and you can do what you want with your game

2. 

SF X Editor (brief description)

you can define 64 sound effects which also can be used in the Music Editor as instruments

so, we can play 8 octaves each with 12 semitones using predefined Square, Triangle, Saw or Noise wave (or you can design your own wave in Waveform Editor).  The  whole point of the editor you can change base note frequency, volume or wavetype over time, on the Wave tab you can jump from wave to wave, on the Arpeggio - jump from note to note relative to base note, on Pitch - change base note frequency

just call 'sfx(id)' to run your sound effect

Music Editor

Track is just a table with notes, click on color circle to enable pattern and press Z S X D C V G B H N J M buttons to enter notes

you can copy console output, just run 

tic > log.txt

and all the trace output will be in log.txt

Posted in Tool making?

you can save compressed data to Sprites area (0x4000) using POKE api and then export/import it

for sure, the cartridge consists of chunks, every has 4-byte header (1 byte - type, 3 bytes - size) and data

chunk types:
1 - tiles
2 - sprites
3- cover
4 - map
5 - code
9 - sfx
10 - waveforms
11 - music
Posted in Keyboard input?

I'm thinking how to do it better...

Replied to CapJerimum in Tutorial?

I made a TIC-80 port of Squashy for you

-- title:  Squashy port
-- author: Nesbox
-- desc:   port of Squashy game from picozine
-- script: lua
-- input:  gamepad -- paddle
padx=108
pady=122
padw=24
padh=4 -- ball
ballx=120
bally=68
ballsize=3
ballxdir=2
ballydir=-2 score=0
lives=3

function movepaddle()
 if btn(2) then
padx=padx-3
 elseif btn(3) then
  padx=padx+3
 end
end function moveball()
 ballx=ballx+ballxdir
 bally=bally+ballydir
end function bounceball()
 -- left
 if ballx < ballsize then
  ballxdir=-ballxdir
sfx(0)
 end  -- right
 if ballx > 240-ballsize then
ballxdir=-ballxdir
  sfx(0)
 end  -- top
 if bally < ballsize then
ballydir=-ballydir
  sfx(0)
 end
end -- bounce the ball off the paddle
function bouncepaddle()
 if ballx>=padx and
ballx<=padx+padw and
  bally>pady then
sfx(0)
  score=score+10 -- increase the score on a hit!
ballydir=-ballydir
 end
end function losedeadball()
 if bally>136-ballsize then
  if lives>0 then
  -- next life
sfx(3)
  bally=24
  lives=lives-1
else
  -- game over
ballydir=0
ballxdir=0
  bally=68
end
 end
end

function update()
 movepaddle()
bounceball()
bouncepaddle()
moveball()
losedeadball()
end function TIC()
update()

 -- clear the screen
 cls(3)

-- draw the lives
 for i=1,lives do
  spr(4,200+i*8,4,0)
 end

-- draw the score
print(score, 12, 6, 15)

 -- draw the paddle
 rect(padx,pady,padw,padh, 15)

-- draw the ball
circ(ballx,bally,ballsize,15)
end

and uploaded cart to website https://tic.computer/play?cart...

try to learn and find the difference

Replied to CapJerimum in Tutorial?

yes, TIC has a bit different API

Thanks, the font was made by @level27geek

you can download it here https://fontstruct.com/fontstructions/show/1388526/tic-80-wide-font

Thank you. Will think about Patreon...

wow, thank you for the donation and appreciative words :)

Not going to add other consoles, sorry.

TIC tries to find game.lua in working directory (folder where TIC app is installed)

It should work. Place game.lua where you want and call dofile('/.../game.lua') with absolute or relative path

Posted in About the mouse

you can define mouse cursor sprite (foreground sprite) from LUA by calling poke(0x3FFB,index), it'll draw system cursor if index=0

https://github.com/nesbox/tic.computer/issues/116

done in .24

It can't be done with the current Sprite Editor, but you can write a tool for TIC to edit and draw 2-bit sprites using poke4/peek4 by 0x4000... addr

Posted in save to desktop

Use GET command

ok, then :)

Great, but I can't understand how it refers to TIC80? if spec will be the same then OK, but if you design your own spec why not you give it own name?

Of course allowed, you can do what you want with your game :)

not yet, here is an issue https://github.com/nesbox/tic.computer/issues/60