Log In  
Follow
gravitoid

Making games is my hobby.

[ :: Read More :: ]

Cart #blooblooblah-0 | 2023-08-10 | Code ▽ | Embed ▽ | No License
2


A little live stream intro animation I made for Pico-8 Gamer

P#132869 2023-08-10 01:19

[ :: Read More :: ]

Cart #ydodawpi-0 | 2022-11-27 | Code ▽ | Embed ▽ | No License

P#121445 2022-11-27 00:01

[ :: Read More :: ]

Cart #bowazejame-0 | 2022-11-27 | Code ▽ | Embed ▽ | No License
1

P#121444 2022-11-26 23:59 ( Edited 2022-11-27 00:00)

[ :: Read More :: ]

Cart #collabgamething-0 | 2022-05-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

Here is a game that twitter.com/NerdOfGamers had invited me to help work on.
The idea was that a number of people will take turns adding something to the code in Pico8 Education Edition, and share the URL with the next person in line. I was person number 9.
When I got this, there was barely any space left, and it use 637 tokens.
I cut that down by around 100 tokens while adding velocities to objects. I ended up getting back around close to their total.
I had greater ambition, but sadly when I added more, it wouldn't compress to the 2k url char limit.
So here's what I settled with making, before passing it on to the next dev.
Excited to see what gets added on or modified.
This whole project was supposed to be an hour of work before passing it on. But I took a bit longer than that. An hour or two to assess the existing code, then an hour or so to clean it up. Then another hour or so to create velocities for everything and simple physics updates, but then a half hour or so removing some of the features that put me over the limit.

Here shortly I will upload a video on youtube of this, and will link to it.
Hope you enjoy, and be sure to check out NerdOfGamers on Twitter!

P#112307 2022-05-26 06:18

[ :: Read More :: ]

Cart #carbon_0_3-0 | 2021-07-13 | Code ▽ | Embed ▽ | No License
3

Controls:
left, right = run
up = jump

Can wallslide when falling and pressing into a wall
Can wall jump when pressing up next to a wall
Can slide a bit when running then run in the opposite direction. Doing so on less frictious floors results in cooler effect.
Enjoy.
-Gravitoid

P#94777 2021-07-13 04:15

[ :: Read More :: ]

Cart #flatland01-0 | 2021-05-25 | Code ▽ | Embed ▽ | No License
4

I am going to work on this. Later I will remake this with actual line intersection code for raycast hits and vector objects. For now this is just a little 1D raymarching program that is a bit sluggish and uses the map for checking ray hits.
But this is what it would look like living in a 2D universe. You would see a 1D image. I will later remake this, probably in Godot engine, as a high resolution stereoscopic 2D VR adventure game.

P#92527 2021-05-25 01:43

[ :: Read More :: ]

Cart #quadmirrortool-0 | 2020-11-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

This is the same as my other sprite tool, but it mirrors left and right and up and down.
So it gives cool quad mirrored images.
Fun for making flags and icons and other thingies.

Basically, the top shows what percent black is likely to occur each sprite.
X will refresh the image
Up and Down change the height of sprites
Left and Right change the width of sprites
Z + Up/Down changes the black value.

P#84514 2020-11-20 03:28

[ :: Read More :: ]

Cart #spritetool-1 | 2020-11-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

So this is my implementation of the random sprite thing I saw on https://2draw.me/random_ship_generator/index.en.htm

Basically, the top shows what percent black is likely to occur each sprite.
X will refresh the image
Up and Down change the height of sprites
Left and Right change the width of sprites
Z + Up/Down changes the black value.

Have fun.
Not sure how to export the images off the cart, but can be fun to play with a bit.

Cheers.

P#84509 2020-11-20 01:57 ( Edited 2020-11-20 03:09)

[ :: Read More :: ]

Cart #bunrun12-0 | 2020-09-29 | Code ▽ | Embed ▽ | No License
5

This cart is still in progress. I just wanted to upload it to show a few people.
So at the moment, tapping Z will increase your run speed ever so slightly, but it returns to normal after a moment.
Later, running faster will be easier for wolves to hear, and attract their attention to you.
X is used to show the path finding grid, but path finding isn't fully implemented yet, though the methodology is commented out in the wolf state system tab in the "RESUME" state. The grid is generated each time you enter a new room, and the wolves will really only use it to investigate sounds, or to find their way back to their regular patrol paths.

Today, I got the bunny to hop, I removed moving backwards (as the down button will be reserved for throwing rocks), and I modified some of the sprites, and commented out the RESUME state.

P#82415 2020-09-29 01:41

[ :: Read More :: ]

Cart #heatmappath-2 | 2020-09-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
19


I just finished this method for path finding that I will implement in my other projects.
This method is resizable and really easy to implement and understand.
I spent the last day concocting this.
Essentially it creates a heat map/height map of costs that can be traversed by agents by referencing the node list.
Controls:
Press X to place walls or remove them.
Press Z to set the end node to the nearest node to the on-screen cursor.
Cursor controlled with arrow keys.

The method works this way:
Create an empty list for checked nodes. We will push nodes into and out of it. Any node inside is there only temporarily.
We start with the first node, set it to visited, and put its neighbors into the checkedNodes list.
While the length of list of checkedNodes is bigger than 0, check all neighbors of all nodes in list, and pop out nodes from list that were visited. Only new nodes get added in. Any node after checked is removed.
This creates a cascade effect that fills the entire possible connected set of nodes with costs.

To traverse it, simply find the nearest node in world space to your agent, and check the neighbors and find the one with the lowest cost, set that to your next movement target, and move to it. If you get to the end node, stop moving. If the node the agent is on has no neighbors, also don't do anything.

I made it so you can give it a grid size at the top of the code using the SIZE variable, and it will make it just work.

And there you go. Hope you like it.

P#81986 2020-09-19 10:12

[ :: Read More :: ]

Cart #kittypath-0 | 2020-09-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

Slight modification of my path finding method, except this method is now modified to allow an arbitrary size grid to be instantiated. I invite you to open it up and fiddle with the code.
The agent is the cat creature, and hopefully my code is readable enough. Simply changing the SIZE variable at the top should be enough to get a feeling for different grid sizes.

P#81985 2020-09-19 09:55

[ :: Read More :: ]

Cart #watertest-0 | 2020-09-16 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2


Controls:
Z changes modes between drawing height for tiles, and simulating the water

X when pressed or released, toggles the control scheme.

In Draw mode, holding X allows you to change tile heights with the UP and DOWN arrows.
In Sim mode, you control the Log object with the arrows, but holding X allows you to change the water's base height.

The log will float up to meet the water level or fall with it. The log hasn't been programmed to interact with the tiles at the moment.
This whole thing is just a test to show how a more 2.5D feel could be achieved through using a mask to determine the height values in an image and using that to determine where to draw water.

P#81891 2020-09-16 08:29 ( Edited 2020-09-16 08:38)

[ :: Read More :: ]

Cart #bunrun-1 | 2020-05-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

P#76937 2020-05-20 09:11 ( Edited 2020-05-20 11:01)

[ :: Read More :: ]

Cart #zoyapiribi-0 | 2020-05-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
11

P#76420 2020-05-12 06:10

[ :: Read More :: ]

Cart #circlesss-0 | 2020-01-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

P#72250 2020-01-26 08:50

[ :: Read More :: ]

Cart #zuzegusofi-0 | 2019-12-10 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

P#70853 2019-12-10 18:39

[ :: Read More :: ]

Cart #gakigewiya-0 | 2019-12-10 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

P#70852 2019-12-10 18:00 ( Edited 2019-12-10 18:38)

[ :: Read More :: ]

Cart #bahemumizi-0 | 2019-08-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

P#66676 2019-08-14 10:00

[ :: Read More :: ]

Cart #depozewye-0 | 2019-08-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

P#66618 2019-08-12 18:38

[ :: Read More :: ]

Cart #wallavoid-0 | 2019-08-10 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

P#66496 2019-08-10 10:25

View Older Posts