Log In  
Follow
RaspberryPye

Learning to code using the Raspberry Pi!


Cart #bermejafinal-3 | 2020-10-30 | Code ▽ | Embed ▽ | No License
6

Hey everyone,

This is a game i made way back but i never had time to finish due to development of Toknight and other games and A-levels. I thought i would release it anyway even though it isnt finished as its still a playable game until the end. Hope you enjoy!

6
2 comments



Cart #watertechdemo-0 | 2020-08-09 | Code ▽ | Embed ▽ | No License
13

Hello!

I thought I would upload this tech demo I've been working on. It is based on the 'Kingdom' series. I am going to hopefully build a game around it but it might take some time. Hope you enjoy!

Use arrow keys to move.

13
8 comments



Hello

I would love some closure on this issue, as i have asked a few times and sent an email to [email protected] with no reply. I have seen a post from a few years ago with this same issue, and it was resolved by @zep changing it himself, which is what i would like to happen here, or for username changing to be implemented into the lexaloffle website.

Thanks

0 comments



Hello

I think that the 'themes' selection in config has a lot of potential for other themes, such as ones based on past consoles, different colour schemes or perhaps even an ability to add an image of your choosing to the background of the code editor. I'm not sure if this would be a huge amount of work but i see great potential in it and i would love to see a few more themes available. Of course, PICO-8 still would need to have a signature trait to ensure its fantasy console feel but i think that a few customisable options would keep the feel but offer a touch of personal preferance to the editor.

Take this with a pinch of salt @zep , just an idea

P.S. How do i change my username?

Thanks

1 comment



Hey,

I have a big list of variables in the format:

a=1
b=2
c=3

etc.

I was wondering what the fastest way is to convert it into this format:

a,b,c=1,2,3

Is there an online tool to do this or something someone can point me to?

P.s. @zep I would like to change my username, is this possible? I have also pinged you an email.

1 comment



Hey

I saw a post from a few years back on this same topic and @zep himself had to change the username for him, so i was wondering if either there was a way to do it by yourself now or if @zep could help me out. Thanks

0 comments



Cart #toknight01-0 | 2020-06-10 | Code ▽ | Embed ▽ | No License
3

Making a new game and wondered if its the sort of game people would enjoy playing. Give some feedback and i'll see if i should continue with this game,

Thanks!

3
3 comments



Hi

Short question this time. What is the least-bloated way to insert a value into a list at the first index using add(). I couldnt figure out a method which is elegant and simple.

Thanks

7 comments



Hi

I am making a roguelike and i would like to add in procedural generation of rooms. I would have prebuilt rooms in the map editor and when the character goes below, above, left or right of the current room, it would take them to a new room with which that entry was possible. I can do this ok apart from one thing:

How do i store the layout of the rooms once you go into a new room? If it was just left and right i would make a list of the coordinates of the rooms and when the player goes to the right, a new random room would be appended at the end, if it is to the left then at the beginning. Though this doesn't work when i have up and down too. How do i store the coordinates of the rooms that the player has already been in is my question.

I would appreciate some help

Thanks

6 comments



Hello!

I am making a new metroidvania and i feel like a critical part of this is getting the jumping to feel right. I tinkered with it for a while before i realised that a true metroidvania really needs variable jumping, where the longer the button is pressed the higher you go. I have had some issues with implementing this and i would appreciate some help.

Thanks!

2 comments



Hello again!

I had a peek into Celeste's code and i believe it is made using ECS or Entity Component systems. It gripped me immediately as i can sort-of understand the way it works, i think. I believe that each entity in a game contains its own update draw and init functions, and in the main update draw and init functions you just have a foreach loop that cycles through them and updates/draws them individually. My first question would be is this right? My second and main question is can anyone expand and put it into (preferably extremely simple) code. I would love to use this new architecture.

Thanks!

4 comments



Hello!

I am currently making a platformer and i have managed to program my own particle effects like wind and smoke (though they are probably far from optimised). Though i have been stumped with jumping. I would like to use pget() to get the colour of the tile below you so when you jump, little pieces of the same colour will fly up and then land in all directions. I would appreciate some help or perhaps some sample code for me to study. Thanks!

6 comments



Hello everyone!

I am having plenty of fun with pico8 but I feel as though i have gotten to the point where i can comfortably use lua to make a decent game. However, when i peek inside some big games like Celeste and Dank Tomb, it seems to chuck all i know out the window. I investigated and found out about metatables.

My first question would be should i learn about them? Will it help me get to the next stage of pico8 programming?

My second question is regarding an example of a 'simple' metatable:

-- meta class
rectangle = {area = 0, length = 0, breadth = 0}

-- derived class method new

function rectangle:new (o,length,breadth)
   o = o or {}
   setmetatable(o, self)
   self.__index = self
   self.length = length or 0
   self.breadth = breadth or 0
   self.area = length*breadth;
   return o
end

-- derived class method printarea

function rectangle:printarea ()
 		print("the area of rectangle is "..self.area)
end

[ [size=16][color=#ffaabb] [ Continue Reading.. ] [/color][/size] ](/bbs/?pid=77058#p)
4
5 comments



Graph plotter

I've been working on this for a while now

This is my alpha-release of this software. I intend to further develop it so you can have multiple graphs at the same time and also the use of trigonometric graphs.

Enjoy!

Cart #graphplotter-0 | 2020-03-23 | Code ▽ | Embed ▽ | No License
2

2
2 comments



Cart #graphplotter-2 | 2020-04-03 | Code ▽ | Embed ▽ | No License
2

Graph Plotter

Been working on this for a while! Hope you enjoy!

This is my first pico-8 project so I'm open to critical feedback!

Version 1.1:

-Removed polynomial setting to make way for big update ;)
-Added ability to "stamp" current graph and then calculate the intersection of the two graphs (i.e. solve the simultaneous equations)
-Bug fixes

2
2 comments