Hello, I have this code that circles an object around the player position.
It works well if the player stands still, but if the player moves the trajectory of the object goes a bit wonky. it sort of stops, or looks like it wants to go in the other direction for a bit.
How can I make it smoothly rotate around the player?
local player = self.game_context.player local orbit_radius = 40 -- Distance from player to orbiting projectile local orbit_speed = self.speed -- Normalized speed of orbit; consider this as fraction of a circle per frame for p in all(self.projectiles) do p.angle += orbit_speed if (p.angle > 360) p.angle = 0 p.x = player.x + (player.attributes.w / 2) + orbit_radius * cos(p.angle/360) p.y = player.y + (player.attributes.h / 2) + orbit_radius * sin(p.angle/360) -- Handle projectile duration and collision p.duration -= 1 end |
PRESS Z/C AT FLAG TO SAVE AS TAS
TASFILE EXPORTS ONLY WORK ON DESKTOP P8!!!
CC GENETIC ALGORITHM
If runs are taking too long, Consider disabling FLIP?
on page 3 of the settings (READ SETTINGS REFERENCE BELOW)
This is a mod of Celeste classic where you get to watch a genetic algorithm learn how to play Celeste classic.
Wiki page for the Genetic Algorithm
SETTINGS REFERENCE
Welcome to the dungeon,
The goal: Survive as long as you can.
Dev Notes:
It should be known that right now it’s only one level.
Mostly as a test bed before I wrap it all together with level generation.
There are bugs I am working out but the next up will be figuring out how to generate floors and so on.
--- Bug Fixes --
- Player health actually follows you between rooms!
- Boss battle instadeath
Thanks for checking it out <3
hello
This is my absolute first attempt at making anything 3d or 3d looking.
I want to learn the math behind 3d graphics in Pico 8, not the crazy ones, but the very simple ones, I am thinking of making a game kinda like in voxatron, with a static camera and a platform. I dont even want voxels, just 2d sprites. I tried using tline, and I just messed arount until it got to something.
I would be very happy if someone showed me any sources for basic Pico 8 3d, or cool things done with tline.
Thanks for checking this out :)
A Picotron port of Leonard Richardson's robotfindskitten.
Adapted from my PICO-8 version using pancelor's excellent p8x8.
Changes from the PICO-8 version:
- arena size embiggened to use Picotron's full resolution.
- everything is now rendered in the Picotron font
- you can now have up to 90 objects in a game
- the object descriptions removed from the PICO-8 version due to space constraints have been restored
This was mainly an exercise in trying out p8x8. It turns out p8x8 is really good and all the carts I tested with it went across smoothly. I recommend trying it out!
Hello,
I feel like I am being a bit thick this morning.
I have a 128 x 128 sprite sheet as a .png.
I've tried importpng and the pictron exporter from asesprite. both exhibit the same behaviour, when I paste from the clipboard the whole image fills sprite 0 and sets its size to 128 x 128, I'm expecting the image to start at sprite 0 and fill outwards. Am I missing something obvious?
thanks in advance
When Picotron was first released (around 0.1.0c) it seemingly just appeared in my Downloads/Updates page as a thing I could download, along with Voxatron, PICO-8, Chocolate Castle and others. I could download it just fine, and I continued to get new versions as they were released up until 0.1.0e.
At the time, I assumed this was intentional, perhaps because I'd purchased the Voxatron Debut Bundle way back in 2013. I believe there was a similar giveaway of the PICO-8 to who'd purchased Voxatron?
I understand now that Picotron just appearing on my Downloads page probably wasn't the intended behaviour of the website, and the Picotron should require a separate purchase to access, even for previous bundle/PICO-8 purchasers?
As of a couple weeks ago when version 0.1.0f was released, Picotron stopped appearing at all on my Downloads page.
I just wanted to check:
- Is it definitely intended behaviour that Picotron requires a separate purchase, and it wasn't given for free to anyone who'd previously purchased the Voxatron Debut Bundle or PICO-8?
INTO THE INFINITUM
Hi there, hello! I'm Olórin, and Plasma-8 is my first attempt at creating a video game.
This game takes place in my science-fantasy, Horizon Nexus campaign setting; one of the many Realms in my tabletop RPG, Fable Spark. Our story begins when the evil Dr. Malicode conjures up a legion of awful pixel phantoms. From the bowels of the Super-Möbius galaxy, he now means to invade the Astraeus Beanstalk directly! What danger, what mayhem, what a whacky turn of events! Will you save this timeline from sure destruction, or will it be lost to the endless Infinitum?
Best score I've managed to get in testing is 1,284.
I wanted to try making a program that would display Conway's Game of Life as a background. Unfortunately it causes a few mouse trails, but I don't think they're too noticeable. If they're too bothersome, try changing the "S" scaling variable to 6 or higher. Higher numbers give better speed (and thus less mouse trails), but also lower the resolution and the average time until equilibrium. I almost certainly could have implemented this better so feel free to do what you want with it!
I discovered the Pico-8 a few months ago, and have absolutely fallen in love with this project! I realize the intentions of the creator were to make a simple and comforting console for people to enjoy, but I can't help thinking that Lexaloffle doesn't really understand how important a Pico-16 would be to the gaming community as a whole.
Having the ability to create new games with slightly better capabilities would be absolutely game-changing (pun intended). I can just imagine how many designers would build amazing new games and even bring classic games back to life with a tasteful remaster. Unfortunately I don't think that would ever happen with a standard Pico-8, because the specs simply don't allow for this to happen. Don't get me wrong, I absolutely love the games that are available on the Pico-8 (as well as the limitations), but I can only imagine what a 16 bit version might look like! I think I speak for a lot of people when I say that a Pico 16 would make for the perfect fantasy console of all time!