Log In  
Log In  



I like to code

Was looking through the api on https://neko250.github.io/pico8-api/ and I noticed the command gui_theme. It seemed to be something I enter in the splore console but does't work. Is there a correct way to use this? Has it been deprecated?

P#61828 2019-02-13 01:14

Cart [#56636#] | Code | 2018-09-14 | No License | Embed
So this is a followup to a thread I made a few days ago about having trouble parsing a table that has multiples of the same piece.
In this example I am trying to select either piece (which will be indicated by an arrow) but as you will see it only works for one.

P#56637 2018-09-13 22:29 ( Edited 2018-09-14 22:17)

So apologies if this has been asked before,

I am looking to build a sentence with random strings that will be stored in a table.

For example:

    text = {}
names = {"a", "b", "c"}

name = names[rnd(2)] <-- doesn't work :(

foo = {
    str = "Hi my name is" .. name

Everything I have found is in the Non P8 version of Lua.

P#54142 2018-07-13 12:56 ( Edited 2018-07-18 08:53)

Hi P8 community,

I am looking to embed some of my games onto a portfolio site I built using Github pages and am not sure how to embed the player without just linking to it on a separate view.
I am certain this can be done as I have seen games on Itch and the like.
I'm sure its easy and I'm just forgetting some basic HTML thing.



P#53393 2018-06-08 18:16 ( Edited 2018-06-10 16:02)

Hey P8 fam,

Got a weird thing happening with my game and am having trouble finding anything on this, What is happening is on my map editor I am seeing sprite formations that I did not put there and when I try to remove some of them I see a glitching effect on some of the sprites I did place intentionally when I run the game.
Does that make sense?

Does this have to do with the 128 sprite limit? Didn't think I hit it.

Happy to answer any questions, thanks.

P#50710 2018-03-22 22:35 ( Edited 2018-03-25 01:53)

by gigs
Cart [#46336#] | Code | 2017-11-15 | License: CC4-BY-NC-SA | Embed

Hey all so I posted a cart so you can see what I am facing here:

I have the town with buildings that have collision coded into them with the doors coded to take the player to another room which is admittedly hacked together.
What happens is the player is then transported(sorta) to a new location - yet when I move him around in the 'new' zone there seems to be residual collision code which prevents total freedom of movement for the player.

Any better ways to go about this? I want the player to enter the brown zone and be able to freely move around at will.


P#46337 2017-11-15 16:12 ( Edited 2017-11-18 19:48)

Hello Pico 8 fam,

Been working on a game that is something of a Final Fantasy clone and I am trying to implement different rooms for the player to enter. I am stumped with how to get this going and was wondering if there were any good resources available for me to dig into.

I need a blank slate each time I enter a room.

P#45988 2017-11-07 23:08 ( Edited 2017-11-08 06:59)

Cart [#43565#] | Code | 2017-08-24 | License: CC4-BY-NC-SA | Embed

P#43566 2017-08-23 22:00 ( Edited 2017-08-24 02:00)

Hey everyone,

I recently purchased Pico-8 and am loving it. I am breezing through the few tutorials there are on the internet and am starting to wonder how many of you have implemented physics engines to handle things such as gravity and the like.
I have been looking at other people's code and getting a bit of a clue but am feeling a little overwhelmed :<.

Any resources would be great as I want to learn how to do this for real so I can grow as a developer.


Edit: Just looking for something simple how when the player jumps, to have him come back down

P#26396 2016-08-03 16:38 ( Edited 2016-08-04 01:50)

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-02-22 20:17 | 0.096s | 4194k | Q:50