Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

fabricius

13
Posts
2
Topics
1
Following
A member registered Apr 07, 2021

Recent community posts

Paul59, you can still play CPC games on an emulator. I also wish I still had my 464, but I sold it long ago. May be I'll buy a 6128 in the future. Programming on the TIC-80 really reminds me of the fun I had programming BASIC on the Amstrad CPC. 

Hello, I'm porting an Amstrad CPC game to TIC-80 and I also had to adapt the resolution. The original game is on 160x200, compared to the 240x136 in TIC-80 so I had to change the sprites a bit but not that much: it's a tile game (some sort of sokoban-style). The Amstrad CPC possible resolutions are 160x200, 320x200 and 640x200 (the higher the res is, less colors are available) so not all games can be adapted to TIC-80, but sometimes the "useful" screen is only a small subset of the actual screen, you can use that to fit TIC-80 resolution. Good luck with your project!

yes, it is. Thank you, I will use it for my game !

Very nice game, thank you for porting it! I'm looking forward playing more games from you. 

Hello, here is a way to draw something on the screen from an array. This snippet will draw a small TV on the screen.

-- hexa color. 1 hexa char = 1 pixel.
tv={"00000d000d",
    "000000d0d",
    "0000000d",
    "44444444444",
    "40000000444",
    "40330330444",
    "40000000464",
    "40033300444",
    "40000000464",
    "44444444444"}
-- position x, pos. y, transparent color to ignore, array to draw
function drawArray(x,y,c,a)
 for i=1,#a do
  for j=1,#a[i] do
   cc=tonumber(string.sub(a[i],j,j),16)
   if(cc~=c) then
    pix(x+j-1,y+i-1,cc)
   end --ifcc
  end --forj
 end --fori
end --drawArray
drawArray(120,60,0,tv)

Thank you for the answer!

ah, that's good to know! I didn't even knew the F7 key. If the screen is saved into the png, that's a good workaround. Thanks !

Hello, I've generated a png, and now I'd like to draw something simple on the black zone. What software do you people use to draw? I've tried Gimp but after that the png does not work, I suppose Gimp writes on the special zone where the tic80 code is stored...

Hello, I need to do something very similar. My use case: I want to draw a sprite to RAM, apply some transformation to the memory zone and then draw the memory back to the screen. I think that I have it it in mind, I will use memcpy and some tricks. Once I got something usable I will post it here, it might be useful to you. The goal is to perform one oldschool demoscene effect: bitmap distortion. So the distortion will be applied not only to a sprite, but also to the pixel that are on the left and on the right.

Hi, I suggest you follow the video course from Bytes n Bits. It's here: Learn to Code Space Invaders – Bytes N Bits

Pesonnally, this is what led me to start on TIC-80. The guy who makes the course explains very well how to start coding a game, step by step.

Hi Nesbox, I tested it and it works like a charm! Thank you for the quick response. And thank you for having done TIC-80, it really reminds me the pleasure I had coding games in BASIC on my Amstrad CPC back in times (let's say 30 years ago). I love the "battery-included" environment with everything needed to create a game. Cheers from France!

Answering to myself. Indeed, the palette seems to be lost (all colors are black), but the default palette can be found here: Palette · nesbox/TIC-80 Wiki (github.com) I just need to copy paste the whole string (given on the page), go to the sprite editor, click advanced mode and then click on the "paste" button to use the copied palette hexadecimal string. Now my rectangles are displayed (I dont use sprite for my current project, I only draw pixels and rectangles on the screen)

Hello,

I just bought the PRO version in order to be able to edit the code with an external editor (I'm an GNU Emacs fan).  I first played with the online TIC-80 editor and once I got something for a start I made snapshots of my code and recreated it in a .lua file. When I import this .lua file in TIC-80, it's all black. I wondered why, but I saw that the palette was entirely black. I thought it would keep the default palette after having loaded my lua file. What did I do wrong ? 

By the way, thanks for TIC-80, it's really great!