Log In  

Cart #terra_1cart-9 | 2021-09-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
30

A tiny demake of Terraria in PICO-8!

Controls:


Game:
🅾️ - Jump
❎ - Use item
⬆️/⬇️ - (Tools) Aim up or down
pause - Open crafting/inventory screen

Inventory screen:
🅾️ - Pick up item or craft
❎ - Move selected item to trash
⬆️/⬇️ - Scroll / change selected item
⬅️ - Go to Left side
➡️(Left side) - Go to Right side
➡️(Right side) - Recover trashed item

General tips:

  • Cut trees with the axe, mine blocks with the pickaxe, and attack enemies with the sword.
  • Platforms are placed one block lower while moving horizontally to make building platform bridges easier. Just hold the use item button and walk!
  • Hold down, X and left or right while holding a block to build a platform horizontally.
  • Hold down, X and jump while holding a block to build vertically.

Features:

  • A large map of 252x130 tiles, stored using the extended memory
  • 3 biomes (Forest, Jungle, Corruption)
  • 3 bosses (King Slime, Eye of Cthulhu, and a secret one that you'll have to find yourself. They won't spawn naturally, summon them using their summon items)
  • Various enemies for each biome and underground (12 total)
  • Cave generation
  • Mining and crafting
  • Melee and Ranged attacks
  • Ranged weapons automatically aim towards nearest target or bosses
  • A basic palette fade lighting system, with a day-night cycle
  • A few progression/recipe changes due to space limitations
  • Life Crystals and Shadow Orbs to smash!

Currently missing, but planned to add later:

  • Music (i tried to make some, click this button to show them)

    An attempt at Overworld Day (made based on a midi loaded into BeepBox):
    [sfx]
    Boss 1 (same process as above)
    [sfx]

May make a multicart version, planned additions for that are:

  • World generation moved to separate "menu" cart, freeing about 1000 tokens
  • A menu and title screen
  • Saving and loading worlds and players (saved to separate cart files using cstore/reload, may only support one save file)
  • Customisable player appearance
  • A particle system, if there's enough tokens left

Known issues:

  • Walls are technically solid blocks as there is only one tile layer, so nothing can be placed in front of them.
  • Sometimes a cave will generate on the spawn point, so you may start underground. You can just reset the cart to generate a new world if that happens.
  • Sometimes the draw rate will drop to 30fps, and rarely even actually slow the game loop down. Not sure what's causing it yet.

Changelog


1.0: Release Time!

  • Initial release (8191 tokens)

1.1: Fixing Of Bugs!

  • Read some feedback
  • Reduced respawn cooldown and made mobs despawn instantly upon dying
  • Optimised player collisions for tokens and maybe a minor performance boost?
  • Moved selected item text above player's head to be more obvious
  • Optimised recipe list for tokens using split (8097 tokens)
  • Moved some stuff around
  • Made generation text use the centre print function instead of doing it manually there (8084 tokens)
  • Added ability to play night music in forest biome
  • Made increased spawns while moving only work underground
  • Reduced spawn rates as count approaches cap
  • Fixed walls not being blocks
  • Added wooden door, grey brick, and red brick (8188 tokens)
  • Made ranged attacks prioritise aiming towards bosses if they're alive and in line of sight (8169 tokens)
  • Reduced stats of bosses slightly due to lack of armour/accessories
  • Reduced gravity effect on arrows and increased their velocity slightly
  • Added dropped health pickups from enemies and the Eye Of Cthulhu's servants (8189 tokens)
  • oops i broke the inventory, it's off the screen now
  • ok i fixed the inventory, it's on the screen now
  • Reduced tokens some more (8180 tokens)
  • Made respawning happen when the player presses a button instead of after a timer
  • Changed mob despawn range into a circle instead of a square (8163 tokens)

1.1b: EoC Fix

  • EoC's servants had their drop item set as their defence, which caused a crash when attacking them

1.1c: A few fixes

  • Can now place tiles that need support (workbench, torch) on top of platforms.
  • Hopefully fixed a crash related to items with missing stats

1.2: Trash, balance and bugfixes

  • Fixed the Eye of Cthulhu servants' drops (for real this time)
  • Reduced mob cap to 8 (from 16)
  • Made bosses able to spawn even if the mob cap is reached (8183 tokens)
  • Added ❎ to delete selected item in inventory (8192 tokens)
  • reducing tokens in worldgen...
  • Modified corruption generation (8117 tokens) (it does usually take longer, but i needed to save tokens)
  • Added trash slot, trash selected item with ❎ and recover trashed item with ➡️ (8154 tokens)
  • Fixed crashes with empty inventory (8185 tokens)

Credits:

  • Using tline sprite rotation from TheRoboZ and distance function from Freds72
P#97269 2021-09-13 06:10 ( Edited 2021-09-19 06:49)

I can't place the background walls anywhere. Do they work or am I just doing it wrong?

P#97275 2021-09-13 09:03
:: cubee

oops, i've fixed that for the next version

P#97276 2021-09-13 09:15
:: Numzyx
1

wow!!! this is a very fabulous demake. the sprites are nice, the lighting system is nice, and the mouseless control scheme is very elegant.

i saw in the top comments for the code that you needed help with music. i think i might be able to make covers of some of the terraria songs so if you still need help with that i could try to lend a hand

P#97280 2021-09-13 16:00
1

Great demake, I love playing this and I really want to get back into terraria again. If you’d like any help with music I’m more than willing to make a few covers of the songs in the game. Just let me know how much space you have and I’ll see what I can do! Message me on discord at ScrubSandwich128#7190 if you’re interested

P#97282 2021-09-13 19:13
1

How was this even made?! I love it so much and it's all in one cart! Can't wait for the second ver!

P#97292 2021-09-13 23:15
:: cubee
2

v1.1 Update main changes:

  • Fixed walls not being blocks
  • Moved selected item text above player's head to be more obvious
  • Added wooden door, grey brick, and red brick
  • Made ranged attacks always aim towards bosses if they're alive and in line of sight
  • Reduced stats of bosses slightly due to lack of armour/accessories
  • Reduced gravity effect on arrows and increased their velocity slightly
  • Added dropped health pickups from enemies and the Eye Of Cthulhu's servants
  • Made respawning happen when the player presses a button instead of after a timer

Other changes can be found in the changelog in the main post.

P#97304 2021-09-14 08:03 ( Edited 2021-09-14 10:05)
1

WAIT THE BOSSES ARE HERE TOO?! CAN SOMEONE SEND A GIF/VID I WANNA SEEE

P#97368 2021-09-15 22:48

2 small bugs: I can't place on walls or destroy them. P.S. This game is amazing! I now can save some money and play it for free! Thanks.

P#97373 2021-09-16 00:25
:: cubee
1

@ Agent Tom
This gif is slightly outdated, but it's basically the same

P#97379 2021-09-16 01:03

@cubee Yo even the guns are here! You really outdid yourself with this cart? Is there even still tokens left to make more?! (The second phase literally looks so cool I kinda prefer the game in the pico 8 res)

P#97410 2021-09-16 21:41 ( Edited 2021-09-16 21:51)

How do I pick up the table and platforms??

P#97415 2021-09-16 23:00
:: cubee

use the pickaxe. platforms are a little bit harder, you can fall partially through them and then dig normally to break the one in front of you

P#97421 2021-09-17 00:27

how do i make a furnace, is there npcs here

P#97468 2021-09-17 16:34

you know this game made remember why games have spawncaps, this feels like master mode on steroids

P#97469 2021-09-17 17:10
:: Numzyx

it adds to the experience

P#97471 2021-09-17 17:54
1

Here's my progress so far. (I also beat the king slime, got a full iron tools, and a gold bow and silver sword.)

P#97473 2021-09-17 23:02 ( Edited 2021-09-17 23:03)

if a could add one feature to his game, i would add a option to delete itens, cause managing inventory here is a mess

P#97484 2021-09-18 10:14

this happened while fighting phase 1 of the EoC

P#97519 2021-09-19 02:25
:: cubee

i updated it, that should be fixed now. what item were you using when it crashed?

P#97520 2021-09-19 02:41
:: cubee
1

@Bibb

you can try running PICO-8 with the "allow future versions" flag via command line:

-accept_future 1

https://pico-8.fandom.com/wiki/RunningPico8

it may not work properly depending on which version of PICO-8 you have though

P#97521 2021-09-19 02:49

@cubee i was using the musket, and was on the web version

P#97526 2021-09-19 04:39 ( Edited 2021-09-19 04:43)
:: cubee

Ok, the issue was the tiny eyes that the Eye of Cthulhu spawns, I didn't enter the right format for the heart item they drop.
Next update should fix it properly.

P#97530 2021-09-19 06:05
:: cubee
1

v1.2 Update main changes:

  • Fixed the Eye of Cthulhu servants' drops (for real this time)
  • Made bosses able to spawn even if the mob cap is reached
  • Modified corruption generation (it does usually take longer, but i needed to save tokens)
  • Added trash slot, trash selected item with ❎ and recover trashed item with ➡️

Other changes can be found in the changelog in the main post.

P#97533 2021-09-19 06:52

starting 1.2 for the first time (i think) and uh...

P#97544 2021-09-19 12:23

what is the secret boss, i can't seem to make it spawn, what is the use of sting and rotten pieces

edit:i've managed to spawn the secret boss, but i stil don't know what the stings do, anyway here's my character after beating 2 bosses

P#97546 2021-09-19 15:07 ( Edited 2021-09-19 16:44)

Hint of how to summon it or even what the secret boss is?

P#97548 2021-09-19 17:09

Every once in a while a cart comes along that just blows your mind and this has gotta be one of them for me. Fantastic work!

P#97555 2021-09-19 18:26

@Agent tom, if you read my post very carefuly you can see some hints of how to spawn the secret boss, as for what the boss is let's say he's got a kind of soul to it

in other words it's ocram and he is spawned using demonite and rotten chunks, but be careful cause he's like, final boss levels of difficulty if you're not prepared, but don't tell anybody as to not ruin the whole purpose of the boss in the first place, got it

P#97564 2021-09-19 21:38 ( Edited 2021-09-19 21:48)

@prismo18 I slightly remember that boss... Holy cow it looked cooler than I remembered. (I somewhat thought it would be the eater or worlds at first.)

P#97565 2021-09-19 22:10
2

Hey look! They even added the twins!

P#97569 2021-09-20 01:27

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2021-09-22 02:34:02 | 0.091s | Q:59