Log In  

BBS > Superblog
Posts: All | Following    GIFs: All | Postcarts    Off-site: Accounts

hey is it just me or is sgn(0) returning 1 where it should return 0?
i get this with both literal 0 and 0 through arithmetic

2
11 comments


Hi!
I was making tables recklessly and then i think i hit the ram limit. The thing is that it happen when i run the game, and in the first frame, not even where the tables are defined, and it hangs pico8 entirely almost every time.
So, i have one table less and it works, but if i put that last table item without removing another, that happen when i run the game.

I have a menu that doesn't define this vars, and then i hit a button it enters the gameplay when it defines them. It's my undestanding that this would have to happen when i reached the gameplay and the vars are defined, but pico8 hangs when i hit run.

I verified that is not a bug of the game and i'm almost sure that it is the ram limit, but is weird that it happen before the game reaches the segment when it defines this variables.

I'm not asking for more ram XD but i'm pretty sure that something is broken with the exception handling in case of runtime memory, and i don't entirely undestand why it overflows before reach the execution of the code that fills the content of these tables.

Thanks!

6 comments


Cart #15666 | 2015-10-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

Having a blast writing tunes in Pico-8. I have a few more carts I'd like to share, but I don't want to overwhelm the forum with music-only carts. I'll wait a few weeks, or wait for a music only section.

Thanks for listening!

@gruber_music

10
5 comments


Cart #15652 | 2015-10-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

So this isn't a game, but it is interactive.

Controls: right / left.

Explore, there are a number of things going on. In the interests of not wasting everyone's time, I'll mention that by the time you see the full moon you'll have seen everything interesting, depending on what you consider interesting.


As for techniques involved, the source is a bit of a nightmare. I wrote the code mostly by piling on and re-using odd things here and there. It seemed right for this kind of thing where quirks are part of product. So: if you have questions about the techniques involved and doen't want to read through the code I'll be happy to explain it.

P. S. I would like to acknowledge Parlor's [i]The Stroll

[ Continue Reading.. ]

10
9 comments


Cart #15644 | 2015-10-20 | Embed ▽ | No License

This is my first level. It was a lot of fun when making this game.

I wish to make more games in the future.

0 comments


Cart #15642 | 2015-10-20 | Embed ▽ | No License


This is my first level
I'll be working on it more.

0 comments


I don't think anything ought to change, but I thought this was interesting. Pico-8 allows this:

x = 1
if (x == 1) do
  print('a')
end
if (x == 2) do
  print('b')
end

Notice that this is not "if-then-end" but "if-do-end". This appears to be supported accidentally due to the "if (...) ..." shortcut, described in the manual as:

IF THEN END statements on a single line can be expressed without the THEN & END

  IF (NOT B) I=1 J=2

  -- is equivalent to: IF (NOT B) THEN I=1 J=2 END
  -- note that the condition must be surrounded by brackets.

The intent is for "if (cond) exp..." to parse expressions to the end of the line. However, if the last expression is a do-end block, the block is allowed to span multiple lines. Of course, this requires that the condition be in parentheses.

I found 7 carts posted to the BBS that use "if-do-end" across multiple lines. Pico-8 does what's intended, so it's hard to call it a mistake.

Unrelated: "if (cond) block else block" is undocumented but supported. "if (cond) block elseif (code) block else block" is not supported. The else's block is optional (though pointless to omit): "if (cond) block else" I found 13 carts using the else form of short-if.

1
7 comments


This crashes:

function t()
  return
end

print(t())

I'm not sure how Lua describes this in language terms. The spec doesn't have much to say about returning no values; it's not a nil or table. (An empty list?) Lua 5.3.1 just prints an empty value.

This is Pico-8 0.1.3.

3 comments


Cart #15604 | 2015-10-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
32

A little arcade game.

32
9 comments


Currently every limit of Pico-8 is kinda rigid, but how about it: You can adjust these limits at the cost of the other ones. E.g. you need bigger map, but don't use much of sound or code? You can increase map at the cost of code space/sound space. Alternatively you need more code but not use much sounds? Decrease sound space, increase code space.

Of course default split would be as it is now.

3 comments


Cart #15581 | 2015-10-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Huge thanks to Rapidgremlin for providing the extensive tutorial I used to make my first game.

0 comments


Cart #15574 | 2015-10-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA


Just a random experiment involving affecting sin/cos. left, right, up, down z and x affect the speed, stepping and amplitude. Will probably add some keys to control the color/texture - right now I left it on some strange random neon light effect.

0 comments


Cart #15569 | 2015-10-19 | Code ▽ | Embed ▽ | No License
8

This is a random assortment of drawings that I have made as a proof of concept.

Hit Z to see the next picture.

Images are stored as strings, as saved by the Canvas Drawing Program.
I will follow up with a post on how to export images from one to the other.

Code by itself is 1892/8192 tokens.
Data for scenes will count against Program Chars and Compressed size.
For 6 scenes, Program chars: 21530/32768, Compressed size 11931/15360

Please feel free to use the code here for your own use.

-ElectricGryphon

8
13 comments


Cart #15571 | 2015-10-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Thought it would be cool to see the classic commodore trick in pico8!

0 comments


Hello Everyone,

I'm already thinking about the PICO-8 ZINE number 4 , who will probably be released in February of 2016.

I was thinking as a Thematic Roguelike or Speedrun...Which one do you prefer?
Could also be a mix of both.

The base of a rogue like are :

-randomization (for replayability),
-permanent death (once a player-character dies, the game cannot be restored at an earlier point),
-turn-based movement

My favorite one's are zaga-33, Hoplite or 868-HACK.

But other game like Spelunky, Downwell,Rogue Legacy are also amazing games.

Would you be interested to write/read articles about this subject?

13
24 comments


Ignore this, I'm stupid.

1
0 comments


hello,

im really getting into pico-8. love it.

but wanted to know if you can use more than 1 file for a project. i know that pico has a limit to what it can use. but it would be for breaking things up instead.
i have seen many use say haxe with a compiler to pico. or terry cavanagh using his own thing. but just wondering if it can be done it straight p8 files - rather than having to do a compile/convect to p8

thanks

6 comments


alright,

so im gonna look at making some music today with pico for something. but the one problem so far is that it is hard actually hearing what you are doing.
so a suggestion would be that you could hear what notes are being keyed in when you are doing it. plus to have a switch to turn on or off.

also, tempo control. that would be awesome ;)

can the player accept midi signals in? ill have a test. but if it cant, i would highly suggest having something like that. would be cool for us music folk to use a midi keyboard ;)

lewis lepton

lewislepton.com

8 comments


Seemed like a good idea. This is what I have so far:

I have no idea how collision will be handled yet.

The game design itself is more or less defined in my head. Let's see how much it changes as I playtest it :P You fly around, trying to not hit the walls and obstacles. Every now and then the pattern changes (curves, colors, types of obstacles etc). Speed increases proportionally to your progress. You can take some powerups which could increase your life or decrease speed. Something like that.

2
11 comments


Cart #15507 | 2015-10-17 | Embed ▽ | No License
2

This is fixed up level by: D

see original at shooter test

it's been done a while ago and some things stop working. I fixed up some things, like; made a new player,
and made custom monsters drop items. Also put in door pickups with triggers.

It's a very good engine to build a fun space shooter :)

2
0 comments




Top    Load More Posts ->