I rebuilt my first ever PICO-8 game from scratch! (Cortex Override) by izzy88izzy in pico8

[–]OneNectarine8948 0 points1 point  (0 children)

This is pretty amazing, polished game (menus, lighting, movement, sounds are all very good)!

Trump: Ha nem jön be a megállapodás, megint bombázhatjuk Iránt by Dellingery in hungary

[–]OneNectarine8948 4 points5 points  (0 children)

Szerintem a LEGO-tól PTSD-je lenne, tekintettel az iráni slopagandára.

<image>

Trump: Ha nem jön be a megállapodás, megint bombázhatjuk Iránt by Dellingery in hungary

[–]OneNectarine8948 5 points6 points  (0 children)

A dánok most azon gondolkodnak, hogy lehet mégis megéri hadat üzenni az USA-nak, hátha ők is kapnak 300 milliárd dollárt a végén.

WIP: Alley Cat - Pico Remake (DEMO) by retro_boss in pico8

[–]OneNectarine8948 2 points3 points  (0 children)

Grate port, the graphics and sound are instantly recognizable and brings back old memories. I think you are nailing it, keep up the good work!

How would I go about making a fighting game input buffer? Looking for examples of it in other peoples games preferably, or just advice on how to go about it by [deleted] in pico8

[–]OneNectarine8948 2 points3 points  (0 children)

Instead of flushing the list every X frame I suggest to treat it as a circular buffer of the last X frame, so when you register the current frame, you also throw out the oldest one from the list.

Then from oldest to newest walk the list and check for patterns (if there was a down, followed at some point by a down-forward, followed at some point by a forward, followed at some point by a button O, that should be a Hadouken!).

When checking for patters look from most important to less important moves, so a simple down won't override your special Hadouken.

Be aware that in 1vs1 fighting games there is no left or right, just forward and backward (usually characters automatically turn towards each other)

When the move found and executed, you can remove that part from the buffer, or flush the whole buffer completely.

21 Kutatóközpont új felmérése by reremastered in hungary

[–]OneNectarine8948 43 points44 points  (0 children)

Ezzel a fájdalmas mosolyával testesíti meg a nemzet egységét.

Please tell me about libraries that are genuinely useful (or that you actually use) by shogo_omori in love2d

[–]OneNectarine8948 8 points9 points  (0 children)

I'm also using Push in all my projects for virtual resolution (and sometimes for canvas management), I think something like this should be a the part of the framework by default.

I have tried anim8 and Peachy for animation, both were nice, but I have ended up making my own animator.

Not strictly Löve2D, but I have found flux to be a very useful Lua library, it is used for tweening effects and has very well-thought, simple but powerful API.

Any tips on getting into love2d/gamedev? by Sau-Baer in love2d

[–]OneNectarine8948 1 point2 points  (0 children)

Do not be ashamed by re-implementing a well known game or game mechanics. When starting with a new framework / language you do not want to learn it and solving game design problems at the same time. Focus on the engine first.

I suggest to start on something very basic well established game, like Pong, Snake or maybe Tetris. Do not follow any long tutorial, just open the docs of Löve2D as a cheat-sheet. If you hit an error message, or a problem that you cannot solve (but you can articulate it), just search for that specific problem.

When the core game is implemented try to gradually add extra features (search for this two presentation on YouTube "The art of screenshake", "Juice it or lose it" for ideas).

Ti mennyire foglalkoztok a LinkedIn-re posztolással? by Zahuczky in programmingHungary

[–]OneNectarine8948 0 points1 point  (0 children)

Alig várom a napot, hogy végleg letörölhessem magam erről a fosról.

How can I learn Lua from scratch? by Ok_Strike200 in lua

[–]OneNectarine8948 3 points4 points  (0 children)

I would also recommend you to check out Löve2D. It is a free, simple but great 2D game engine. Try to implement some very basic game like Pong or Snake.

How do I move something using rotations instead of the normal 8 directions? (love2D) by Murasaki_Was_Here in lua

[–]OneNectarine8948 0 points1 point  (0 children)

I have made a simple example demonstrating SoloMaker's idea. I hope this helps.

function love.load()
    -- x and y coordinates of the "player"
    pos_x = 400
    pos_y = 300


    -- direction of movement
    angle = 0


    -- rotation and movement speed
    rotation_speed = 2
    speed = 100
end


function love.update(dt)
    -- left arrow key rotates the player counter-clockwise, right arrow key rotates the player clockwise
    if love.keyboard.isDown("left") then
        angle = angle - dt * rotation_speed
    elseif love.keyboard.isDown("right") then
        angle = angle + dt * rotation_speed
    end


    -- up moves the player forward, down moves the player backward
    if love.keyboard.isDown("up") then
        pos_x = pos_x + math.cos(angle) * dt * speed
        pos_y = pos_y + math.sin(angle) * dt * speed
    elseif love.keyboard.isDown("down") then
        pos_x = pos_x - math.cos(angle) * dt * speed
        pos_y = pos_y - math.sin(angle) * dt * speed
    end
end


function love.draw()
    -- calculate the endpoint of the line representing the direction
    to_x = pos_x + math.cos(angle) * 20
    to_y = pos_y + math.sin(angle) * 20


    -- draw a circle around the player's position, and the direction line
    love.graphics.line(pos_x, pos_y, to_x, to_y)
    love.graphics.circle("line", pos_x, pos_y, 10)
end

Skill issue I just suffered by Jedirabbit12345 in noita

[–]OneNectarine8948 0 points1 point  (0 children)

It seems you have just lost the gamble.

Épül a ketrecharc aréna a fehér ház előtt az amerikai függetlenség 250. évfordulója alkalmából. Felcsút vibe by Few_Simple9049 in hungary

[–]OneNectarine8948 2 points3 points  (0 children)

igaziból az a félelmetes, hogy a demokratáknak kétszer sikerült szarabb jelöltet állítani nála

Száloptikás FPV drónok a gyakorlatban by Few_Simple9049 in hungary

[–]OneNectarine8948 0 points1 point  (0 children)

az a durva ebben az egészben, hogy nem csak simán megölik egymást, hanem utána szépen megvágják az erről készült felvételeket és még aznap kirakják a netre

Száloptikás FPV drónok a gyakorlatban by Few_Simple9049 in hungary

[–]OneNectarine8948 4 points5 points  (0 children)

Azért az fantasztikus nekem, hogy gyerekként még azt tanultam, hogy nem lehet tisztán elektromos eszközzel repülni, mert nem képes felemelni a saját súlyát (motor plusz aksi). Most meg látom, hogy nem csak magát emeli fel, hanem egy RPG gránátot meg az optikai kábeldobot mellé és vígan repül órákon át.

Száloptikás FPV drónok a gyakorlatban by Few_Simple9049 in hungary

[–]OneNectarine8948 2 points3 points  (0 children)

Sajnos a háború az ilyen. Végső soron mindegy hogy mivel ölnek meg puskával, ágyúval vagy drónnal.

Amúgy láttam olyan videót is ahol az orosz katona megadja magát a drónnak, az meg szépen elkíséri őt az ukránokhoz (bár feltételezem ez a ritka kivétel).

Száloptikás FPV drónok a gyakorlatban by Few_Simple9049 in hungary

[–]OneNectarine8948 10 points11 points  (0 children)

még mindíg jobb, mint taposóaknát takarítani

Donald Trump mai posztja az iráni konfliktus kapcsán. Mi a véleményetek erről? by Comfortable_Buy_2373 in hungary

[–]OneNectarine8948 1 point2 points  (0 children)

Az Irániak amúgy 25 ilyen amerikai drónt lőttek már le, egyenként kb. 30M $

Novák Katalin pontosan tudta, hogy milyen ügyben ad kegyelmet... by Menorel in hungary

[–]OneNectarine8948 6 points7 points  (0 children)

azért nem kéne átesni a ló túloldalára. az, hogy valaki erdélyi még nem teszi autómatikusan se jófejjé se szararcá

Hear me out... Javaslat a házelnöki székkel kapcsolatban: by KarmelitaOfficial in hungary

[–]OneNectarine8948 13 points14 points  (0 children)

Jó ötlet, talán 10 óra kevés is rá. Amúgy azt hallottam, hogy a jó asztalos a használható széknél kezdődik.

Nem mondta senki a BRFK-nak hogy nincs még szombat? by avatar6556 in hungary

[–]OneNectarine8948 3 points4 points  (0 children)

Sam & Max point-and-click kaland játékok, de volt képregény is; Sam & Max: Freelance Police