twitonatrain

@twitonatrain@mastodon.scot

This profile is from a federated server and may be incomplete. Browse more on the original instance.

2DArray, to random
@2DArray@mastodon.gamedev.place avatar
twitonatrain,

@2DArray @fsouchu
I might well or be following this I enough detail but could you read the current 32 bits then mask in your fill pattern and write back? Or does multiple walls make that impractical

twitonatrain,

@2DArray Ah, see I told you I wasn't paying enough attention. It's all looking lovely though.

fsouchu, to random French
@fsouchu@mastodon.gamedev.place avatar

quakotron with proper palette - still runs like dog but hey, at least pretty!!

video/mp4

twitonatrain,

@fsouchu @Felice 240x135 is approximately the resolution I used to get a playable frame rate on my 486DX66 when I first played Quake.

eniko, to random
@eniko@peoplemaking.games avatar

It's really sad that what people got from Dark Souls is "games that make you git gud are better" and not "intentionally designed friction in games greatly heightens immersion"

twitonatrain,

@eniko the irony is that Dark Souls did such an incredible job of pretending to be a super difficult game that people think it is a super difficult game and as a result have taken completely the wrong design lessons from it.

kenney, to gamedev
@kenney@mastodon.gamedev.place avatar

Hexagon Kit has been updated adding 9 new models, color variations, more detail and animations (for the watermill and windmill)

๐Ÿ’พ Download: https://kenney.nl/assets/hexagon-kit

License: CC0, free to use for anything by anyone

Overview of hexagon models in a low poly game asset package

twitonatrain,

@kenney That is an adorable set of hexagons.

twitonatrain, to genart

Formula yoinked from https://www.dgp.toronto.edu/~mooncake/papers/SIGGRAPH2001_Tupper.pdf

::โ–ˆ::
l=10+sin(t()/16)5
r=2
l
for x=-l,l,r/128 do
for y=-l,l,r/128 do
if cos(cos(min(sin(x/6.28)+y,x+sin(y/6.28))/6.28 )/6.28)-cos(sin(max(sin(y/6.28)+x,y+sin(x/6.28))/6.28)/6.28) > 0 then
pset(x/r128+64,y/r128+64, 7)
else
pset(x/r128+64,y/r128+64, 0)
end
end
end
goto โ–ˆ

video/mp4

Sophie, to random
@Sophie@dice.camp avatar

If I had a dollar for every PS1 third-person bio/body horror game with pre-rendered backgrounds and a main character who was a cop, I'd have five dollars.

I could even get another dollar just by being more thorough.

twitonatrain,

@Sophie for some reason this reminded me I never played more than a few hours of Vagrant Story

twitonatrain, to random

It's happening again. I lost a lot of my time to size crunching my entry last year. I'm sure I will do the same this year too. (or anything really)

https://twitter.com/Logiker464/status/1731718777631358995

MooseAllain, to random
@MooseAllain@mas.to avatar
twitonatrain,

@MooseAllain Venn diagrams are intrinsically the funniest mathematical concept.

Yet to see a Venn diagram joke that isn't funny.

eniko, to random
@eniko@peoplemaking.games avatar

adding minigames to your game is a good way to

  1. get a little vacation from your game while still working on it

  2. get that nice dopamine hit of finishing a game without waiting years to actually finish the proper game

twitonatrain,

@eniko adding a minimini game to my minigame Yes/No?

twitonatrain, to random

Voronoi

function f(x,y,p)return (x-p.x)^2+(y-p.y)^2end g=128cls()ps={}for i=1,15do
add(ps,{x=rnd(g),y=rnd(g)})pset(ps[i].x,ps[i].y,i)end
s=g
h=true::_::
o={-s,0,s}for x=0,g do
for y=0,g do
p=pget(x,y)for u in all(o)do
for v in all(o)do
q=pget(x+u,y+v)if h then
if p==0and q>0then
pset(x,y,q)p=q
elseif p>0and q>0then
if(f(x,y,ps[p]) > f(x,y,ps[q]))pset(x,y,q)p=q
end
else
if q>0and p>0and p!=q then
pset(x,y,0)p=0pset(x+u,y+v,0)
end
end
end
end
end
end
s/=2if(s<1)s=1h=false
flip()goto _

Implementation of https://en.wikipedia.org/wiki/Jump_flooding_algorithm in pico 8.

twitonatrain, to genart

It's spooky o'clock.

o=0poke(0x5f2c,3)n={-1,0,1}?"^!5f10โฌ‡๏ธ333โฌ…๏ธโฌ…๏ธโฌ…๏ธ;;;โŒ‚โŒ‚โŒ‚โ™ฅโ™ฅ7"
::_::m=32z=t()/4line(m,m,m+cos(z)*m,m-sin(z)*m,15)o=abs(o-1)
for x=o,64,2do
for y=o,64,2do
c=pget(x,y)for u in all(n)do
for v in all(n)do
pset(x+u,y+v,min(15,(pget(x+u,y+v)+c)/2))end
end
end
end
flip()goto _

Swirly hand of a clock sweeping around leaving a trail of green fire.

twitonatrain,

@julia as a tootcart rather than tweetcart could easily turn into a spooky radar

twitonatrain,

@julia Just for you

video/mp4

textfiles, to random
@textfiles@digipres.club avatar

New for me: Anyone have experience with reading from Smith Corona cartridges? Have a couple and want to do it right.

twitonatrain,

@textfiles No idea about your problem but it did casue me to stumble across this delightful opening from the New York Times review of the System they were made for

https://www.nytimes.com/1986/01/28/science/personal-computers-simple-word-processor-for-the-sometime-writer.html

Liquidream, to genart
@Liquidream@mastodon.gamedev.place avatar

The ๐—ฃ๐—œ๐—–๐—ขโฌฉ๐Ÿญ๐—ž ๐—๐—”๐—  ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฏ has now started! ๐Ÿฅณ
๐ŸŒ https://itch.io/jam/pico-1k-2023
You have until end of Sep to create:
๐Ÿ•น๏ธ Games
๐Ÿ“บ Demos
๐Ÿ› ๏ธ Tools
...in using โ‰ค 1KB of ๐Ÿ—œ๏ธ code!

(, see code in ALT tag)

Tweetcart code below: e=0o=15j=127::o::?"โถc0โถ!5f10โ–’1๐Ÿ˜<7" for p=0,o do i=p

twitonatrain,

@Liquidream alas I won't be able to do it this year. Had an absolute blast last year.

johanpeitz, to pixelart
@johanpeitz@mastodon.gamedev.place avatar

More progress on my duck game. Controls start to feel good and you can actually do things in the world.

video/mp4

twitonatrain,

@johanpeitz Waterfall looks lovely

skington, to random
@skington@glasgow.social avatar

A consultant paediatrician says they warned management about Lucy Letby but management didn't listen. https://www.theguardian.com/uk-news/2023/aug/18/lucy-letby-whistleblower-babies-would-have-survived-if-hospital-had-acted-sooner

OK, but that's two babies out of a total of 20 (13 judicially acknowledged, 2 not guilty, 5 babies where the jury was deadlocked).

Given how unusual it is for a nurse to, you know, kill babies repeatedly, it seems like senior management behaved reasonably well, actually?

Not everything has to be a scandal.

twitonatrain,

@skington nah, management actively lied about the contents of the two reviews to state that she had been cleared when at least one of the reviews said the deaths needed further investigation and stated that avoiding bad PR was a legitimate reason not to involve the police

This is definitely scandal territory.

twitonatrain,
johanpeitz, to random
@johanpeitz@mastodon.gamedev.place avatar

For my project I'm going to need a lot of stuff on screen at the same time. Stress-testing my current system it looks like I should at least be able to have 100+ enemies comfortably colliding with each other.

video/mp4

twitonatrain,

@johanpeitz @fsouchu

Rectangular or circle collision shape? I'm experimenting with pico8 crowds just now as well and trying different things.

twitonatrain,

@johanpeitz @fsouchu

Yah, I have about 150 people in my crowd at the moment for 60% CPU but missing some valid collisions which I suspect will drop my numbers somewhat.

twitonatrain,

@johanpeitz @fsouchu

So now having everything colliding properly it's .85 CPU for 150 peeps every frame

I've.... I've just realised I may be doing something screamingly dumb though so I will get back to you on whether I have any tips or tricks!

twitonatrain,

@johanpeitz @fsouchu

150 peeps, 0.75 CPU. This is not physics grade collision detection (you will have peeps collisions evaluated multiple times per sweep).

Sort crowd by x, grid-bucket. For each cell in bucket take the peeps in the cell plus the peeps in the left, up and up-left cell. sort by x

for each peep in this list look only at peeps at a higher index and stop when the x distance is > collision distance

Pardon me, coming through, excuse me.

twitonatrain,

@johanpeitz @fsouchu

If I make them chase me then it spikes the CPU up to 90% !

video/mp4

twitonatrain,

@johanpeitz @fsouchu

Oh, oh, I've done a bonkers bad implementation detail in there, should be able to shave off more CPU

  • All
  • Subscribed
  • Moderated
  • Favorites
  • โ€ข
  • megavids
  • normalnudes
  • magazineikmin
  • GTA5RPClips
  • everett
  • rosin
  • Youngstown
  • ngwrru68w68
  • slotface
  • osvaldo12
  • Durango
  • kavyap
  • InstantRegret
  • DreamBathrooms
  • JUstTest
  • khanakhh
  • tacticalgear
  • tester
  • thenastyranch
  • mdbf
  • ethstaker
  • cisconetworking
  • Leos
  • modclub
  • anitta
  • cubers
  • provamag3
  • lostlight
  • All magazines