Making a Sandbox Game That's Under 1 Megabyte

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 168

  • @zoeythebee1779
    @zoeythebee1779 Месяц назад +155

    What I expected: A c program that runs in the terminal
    What I didn't expect: A web browser?!?!?!?!?!

    • @lurple_
      @lurple_  Месяц назад +20

      Yeah, it was a silly idea for sure.

  • @kanaboiarumas9659
    @kanaboiarumas9659 Месяц назад +204

    eventually life comes around and everything becomes dwarf fortress

    • @halfsine
      @halfsine Месяц назад +23

      text based games are so back. we don't need any of that fancy "graphics" stuff, only IO

    • @diadetediotedio6918
      @diadetediotedio6918 18 дней назад

      @@halfsine
      DF got an UI with fancy graphics tho.

    • @RedstonekPL
      @RedstonekPL 16 дней назад

      ​@@diadetediotedio6918yeah but only after it released on steam

  • @SilverSpoon_
    @SilverSpoon_ Месяц назад +38

    game devs of the 80's : «You made a game that fills almost one whole megabyte? How many sprites or levels are in?»

    • @lurple_
      @lurple_  Месяц назад +8

      Good old times

  • @kronostitananthem
    @kronostitananthem Месяц назад +67

    Suggestion: Trees can be harvested for seeds without chopping them. These seeds can then be planted to grow more trees, making wood renewable

    • @lurple_
      @lurple_  Месяц назад +12

      Thanks for the suggestion, this is the very first suggestion I've gotten, so I'd like to ask you if it's okay for me to mention your username in the follow-up video to give you some credit for the suggestion, or maybe if you want you can stay anonymous as well it's fully up to you. Thank you for the suggestion once again I really appreciate it.

    • @kronostitananthem
      @kronostitananthem Месяц назад +5

      @@lurple_ Oh yeah it's fine if you credit me, thanks!

  • @Typocat
    @Typocat Месяц назад +49

    Some sort of cave system that puts you in another "layer" that lets you get minerals would be cool!

    • @lurple_
      @lurple_  Месяц назад +5

      I think that'd be cool as well, I'll definitely look into implementing that.
      Thanks for the suggestion

    • @Typocat
      @Typocat Месяц назад +2

      @@lurple_ No problem!

  • @LunarcomplexMain
    @LunarcomplexMain 22 дня назад +4

    this is awesome, reminds me of making an ascii rpg game on my website back in the day, and like yours each "tile" was with a span tag for color and was all in the same doc, being updated as fast as it could, which was still very, veryyyyyy slow lmao, this also needs enemies / animals

  • @dmd356
    @dmd356 24 дня назад +5

    I made a dungeon generator that would load a console app in. A grid of 0 for air, 1 for floor, 2 for wall, 3 for door. Doors could be NSEW as long as they were at the boundary of the grid. Then Walls would randomly stretch and place as long and ensured an enclosed randomized shape. Then made branches from a hub to split out, with each room numbered and branched. I had it adjusted to keep rerolling the room and size till it fit or had to readjust the doors if all else failed. But i created loopback rooms that could turn around and go back to hub room. Or shortcuts to other branches etc. i also had chests, moving platforms, mini arenas(diamond shaped platforms floating in the mid of a room), etc and a floor pathfinder that shot out to make sure the room was technically playable from walkable space/jump space. But anyone can do it based on those parameters right there. I translated it to Unity where i did tiles like minecraft but it seemed to make my pc lag a bit on bigger generation(they were panels so i didnt cull edges yet ) so i was reworking it to make the rooms wall connected as one mesh instead of a dozens of little meter tiles.

    • @lurple_
      @lurple_  24 дня назад

      Nice man that sounds really impressive and awesome, well done.

  • @MrRyanroberson1
    @MrRyanroberson1 Месяц назад +3

    since only the code generating it has to fit in 1 megabyte, you can actually have arbitrarily large worlds- possibly even infinite procedural (or at least billions) where everything generates in chunks. the program should store 9 chunks at a time (3x3) and show the equivalent of 4 chunks at a time (2x2), where the camera freely pans to center the player within the screen. every time the player leaves a chunk, 3 unload and 3 load on the other side to replace them, so the final effect is free unbounded movement. The program can use large save files to store the terrain text, or just store any player changes to the chunks. taking a lesson from terraria, you don't need a second layer for caves if you just have cave-like biomes, and you can fit an incredible diversity of biomes if you're willing to make them large and far apart.

    • @lurple_
      @lurple_  Месяц назад

      I've actually already implemented a way for generating new biomes, I don't know if it's as sophisticated as your suggestion, but we did land on the same idea when it came to making the caves into their own biomes and not into a layer.
      If you're curious on what I've come up with, feel free to check out the next video I'll upload of the game, thanks for the comment and suggestion as well.

  • @feelinghealing3890
    @feelinghealing3890 Месяц назад +6

    Ok, one big idea I was playing around with in my head and that this could be perfect for is a sandbox game, with conservation of matter and energy.
    Like, when something rots, it releases nutrients into the soil with rain and insects and corpse eating animals, gases into the air and so on. When you smash an object, the total sum parts of that object remain as scrap.
    Of course, this would need to be suuuper simplified compared to reality, but I believe a game where you can be certain that nothing is lost, where everything can be made from the very beginning coul be very interesting.

  • @freezinater
    @freezinater Месяц назад +9

    7:25 You have no idea how weird it was to see the laptop I am currently using to watch this video suddenly appear within the video. Consider me quite amused.

  • @n_cgi
    @n_cgi Месяц назад +8

    multiple layers of terrain generation would be really cool (eg: enter a cave entrance to be teleported into a unique cave)

  • @Eliasdbr
    @Eliasdbr 27 дней назад +2

    Cool. One idea could be adding simple structures, like an abandoned house or small ruins.
    Another idea might be having an underground layer

    • @lurple_
      @lurple_  27 дней назад

      Thanks for the suggestions, those are both cool ideas, I'm swaying more towards adding structures if I'm being honest.
      Thanks for the comment as well, I appreciate it very much.

  • @zng3478
    @zng3478 Месяц назад +9

    you could add a pixelated character model and so much more as own font

    • @lurple_
      @lurple_  Месяц назад +4

      Actually when I was brainstorming about the visuals for the game I was torn between two ideas, first is that everything would be letters, I thought that could be interesting, the second idea was to still use a font but rather than everything being letters I would replace the characters with actual sprites, maybe I'll include a gamemode you know where there are actual sprites. But still once I finish the game I'll make sure that all the game files are public you know so if you want costum textures all you have to do is just switch the font the game uses, that'd be cool you know same as how people make texture packs for minecraft.
      Thanks for the comment as well, I appreciate it.

  • @Entification
    @Entification Месяц назад +6

    If I had the exact same tools I would still manage to make the game 1.9 terabytes from my inefficient coding

    • @lurple_
      @lurple_  Месяц назад +2

      Nothing wrong with some classic old spaghetti code from time to time

    • @Entification
      @Entification Месяц назад +2

      @@lurple_ no i mean i will end up writing 6 different files for functions and then realizing that all of it is built-in but im too stubborn to get rid of my files

  • @rruax
    @rruax Месяц назад +5

    Make some perlin noise and attach the whites and blacks to shades of green, simulating hills
    Maybe you could also add a cave system, adding a whole new level to the world

    • @lurple_
      @lurple_  Месяц назад +3

      Adding depth would definitely elevate the world and caves as well, thanks for the suggestion.

  • @exlon
    @exlon Месяц назад +8

    0:52 you can actually simply set dock of webview to fill in properties

    • @lurple_
      @lurple_  Месяц назад +3

      Oh thanks for the hint, I didn't know that actually.

  • @ProFireHazards
    @ProFireHazards Месяц назад +6

    It'd be real cool to see the ability for like depth, or kinda textures, so everything isn't just one character. For example; making items, like if you were to add a bow use ➶ for an arrow, and like a death be shown by this 🕱 , adding fish that swim in the water animated by 𓆟 to 𓆝, adding a minimap and generation as you walk outside the area, where the map shows your groups of placed items as a symbol like a house, ⌂. Better yet, you could use the same text, just make the font be graphics instead, and you can limit yourself to how many characters are typable, and you can add this font for regular text! Just an idea to keep mostly the same system, but add some pixel and vareity. Overall, I love this so far, and would love to see when it's avalable! :D

    • @lurple_
      @lurple_  Месяц назад +3

      That's definitely a good idea, I did kind of pigeonholed myself by only limited myself to 26 characters, so I might include those characters you've typed, the only problem is that I've made the font and if I'll be able to draw like every item at the fonts scale, which is quite small.
      Thanks for the comment as well, and I'm happy you've liked my project so far.

    • @ProFireHazards
      @ProFireHazards Месяц назад

      @@lurple_ no problem man, I genuinely love what you've made and wanna play it

    • @DominicBarrasso
      @DominicBarrasso Месяц назад

      @@lurple_ you could also like take the 26 characters and Instead of making them letters just draw the graphic you'd like, keeping the old font for text boxes and such

  • @DominicBarrasso
    @DominicBarrasso Месяц назад +7

    I love the game! if I were to reccomend something it would be to have the letter of the item under the slot. I also would like the idea of the ability to have rougelike features, like leveling up to get specific things. Some npcs would be wicked cool too! I'm just spitballing ideas, but I'd love to know your opinion!

    • @lurple_
      @lurple_  Месяц назад +2

      I'm happy you liked my project, that could be cool the letter of an item be under slots rather than the outline, and I'm quite a fond of adding rougelike elements, and there'll be some nps for sure at some point, that maybe spawn at some structures like minecraft or spawn randomly in the word, haven't decided on that yet.
      Anyways thanks for the comment, I appreciate it.

    • @DominicBarrasso
      @DominicBarrasso Месяц назад +1

      @@lurple_ no problem, awesome project man

  • @sageval3516
    @sageval3516 Месяц назад +4

    If you wanted to make ot more survibal oriented you could add the need to drink the water. You could also make cows that act like a player does in water, but slower(moving in random directions) that respawns every few minutes.

    • @lurple_
      @lurple_  Месяц назад +1

      Thanks for the multiple suggestions, they're cool ideas.

  • @mohanadelsabagh9534
    @mohanadelsabagh9534 Месяц назад +2

    something like Accessories and armor like shoes that make you faster or flippers that allows you to swim in water,
    and armor that reduces damage.

    • @lurple_
      @lurple_  Месяц назад

      Cool idea, thanks for the suggestion.

  • @TheLucaz37
    @TheLucaz37 Месяц назад +8

    You should add a mode where instead of letters its just colored blocks so that its more visible

    • @lurple_
      @lurple_  Месяц назад +4

      Sure, thanks for the suggestion.

  • @ChocoMilccy
    @ChocoMilccy 19 дней назад +1

    Add red berry bushes, that give you food every now and then.
    adding this also means hunger would need to exist, but im sure its going to be fine for you

  • @giohappy
    @giohappy Месяц назад +4

    No way, algorithm cooked!

  • @randomnyyStrannik
    @randomnyyStrannik Месяц назад +1

    You can add one more line of numbers under inventory which will change based on current selected item and its quantity

  • @osceyconVR
    @osceyconVR Месяц назад +5

    i just realized how much i miss windows after seeing this video. linux is better, but i used to love how windows looked. gonna find a solution

  • @ThrowTop
    @ThrowTop Месяц назад +5

    should remake it in C or C++ as a terminal application so the actual game would be under 1MB.

    • @lurple_
      @lurple_  Месяц назад +2

      That's probably a better way of going about it, I didn't really look into what language would output files with the lowest amount of storage, I just went with html, css and js, cause I've had experience with them and they don't take up all that much storage as well.

    • @ThrowTop
      @ThrowTop Месяц назад

      @@lurple_ in C the actual runtime and all dependencies would be under 1MB
      For example edge WebView is massive.

  • @bachobachanashvili697
    @bachobachanashvili697 Месяц назад +1

    I cant belive that this video is this underrated. i suggest you to make game centered to the screen and to add hunger bar that can be regained by water or apples you got what i mean. Great video. sorry for my english.

  • @Ema_bar
    @Ema_bar Месяц назад +2

    in world gen, while iterating on the cells deciding what to do you could have a small prob for the cell to be a tree or a water block, then (maybe keeping track of the water blocks) iterate on all of them and give them a chance to spread to the near cells, so something like ggtgwtg could become ggtwwwg or ggtgwwg and so on. this should give you something more organic instead of an hardcoded river or 2x2 zones. but still really impressive, i would’t be able to do something like this (im more of a C guy than js)

    • @lurple_
      @lurple_  Месяц назад +1

      That'd definitely make the world more dynamic, I'll definitely look into doing stuff like that later down the line, thanks for the idea though (and honestly c is a very good language my second favorite language is c#, so I'm a big fan of the c family, but still js is just too good to be true in my mind)

  • @ExploringNew1
    @ExploringNew1 Месяц назад +5

    "Activate windows" lol
    great video for 150 subs

    • @lurple_
      @lurple_  Месяц назад +1

      Thanks, glad you enjoyed.

  • @jurajb4103
    @jurajb4103 Месяц назад +10

    Sounds like a fun challenge! I am thinking of doing my own super small game

    • @ralphyreece4687
      @ralphyreece4687 Месяц назад

      Ive been trying it for a while. (Dwarf Fortress - like game in python). I will go ahead and warn you that using charts for items (ex. 145 instead of 'wood') is super helpful on space saving, and one of my biggest regrets.

  • @hungryduckling1345
    @hungryduckling1345 Месяц назад +2

    add some animals that walk around randomly that you can kill with a sword for food

    • @lurple_
      @lurple_  Месяц назад +1

      Thanks for the suggestion, I'll be sure to implement some animals and add a sword item as well.

  • @yunikzone
    @yunikzone Месяц назад +7

    One of the main things to create a survival game, is something you need to survive. You need thirst, hunger, health, berry bushes, fruits from trees, and maybe zombies, poison, disasters, and a goal like survive a month, build a helicopter as rescue, or any other Ideas

  • @xeoxing1404
    @xeoxing1404 11 дней назад +1

    sugestion: you can have an inventory and place seeds that turns to trees etc. it would be really good. I am making an server on a raspberry pi zero 2 W thats running minecraft, I like the concept and if you can host it in servers and like, have smaller servers that hosts the game (the small servers player cap can be 2 16 or 32 but I suggest you to use 8 since its fun. its lightweight and it is really interesting)

    • @lurple_
      @lurple_  11 дней назад +1

      Thanks for the suggestion, actually I've already implemented seeds that turn into trees in the next video, and also very interesting project you got going on, best of luck on it.
      And thank you so much for the comment, I appreciate you.

    • @xeoxing1404
      @xeoxing1404 11 дней назад +1

      @@lurple_ Thanks for the comment, I hope this project becomes the next sandbox game (since the new ones are absalutely hot garbage)

  • @TomatoSaucey95
    @TomatoSaucey95 Месяц назад +2

    wow! thats a rlly cool game tbh, i want to see it be expanded with more stuff! maybe add a open world, since rn its kinda limited since there are limted resouces in the world, anyways gl with the project :>

  • @arcado5783
    @arcado5783 Месяц назад +2

    I know that my expectation it's my own problem, but when your hear that somebody make game in hard memory limitation he'll not use high abstracion layer language like JS. I mean what the point to use here chars to show graphics if in hardware level there is no differnce for your browser betwen letters and color blocks? Also using browser for rendering it's like a cheat, cos u don't need to think about size of render libs and know how graphics realy works to make this game.

    • @lurple_
      @lurple_  Месяц назад

      I decided to use js, because I find it to be the most enjoyable language to program in and because I have the most experience with it, I didn't do extensive research about making games that take low amounts of space, I didn't write my game engine, I didn't make something from scratch. I suffer from immense amount of imposter syndrome, no matter what I make or how I make it I know deep down that I don't know anything, that anything I make is worthless, even right now when people tell me in this comment section positive things I still question myself to the point that it's destroying all the little resemblance of confidence I might have. So just like many developers I find myself to not to be a real dev because I'm not making everything from scratch, I didn't invent browsers, JavaScript, I didn't write my own compiler for this project, so I get your perspective very well, I also don't think what I'm doing is development, I'm just trying to follow up on a silly idea I came up with, I'm not writing a very clean code, but that's okay, because I'm not a real dev, I'm just someone who wants to make something cool, so I'm sorry I don't meet your expectations, I don't meet the expectations set by me either.

    • @arcado5783
      @arcado5783 Месяц назад

      @@lurple_ As I said, my expectations are my problem. Every program, every algorithm has a place to be and every one is possible, especially for pet projects.
      After all, programming, in my opinion, is the same art as drawing or music, and in art we do not know the boundaries, we can just comparatively say that one thing is better than another.
      Anyway, your video infected me with the idea, now I want to make a similar sandbox for DOS in pure 8086 assembler and dos software interrupts. Whether I can do it and how long it will take is another matter. But when your work inspires someone else, it already means something.

    • @lurple_
      @lurple_  Месяц назад

      That's all I could ask for, for my projects to inspire people, I'm happy my video had that type of an effect on you, I think you should go for it, and try to build your project your way, with your vision and yours artistic choices, I wish you nothing but best of luck.
      Thanks for the comment.

  • @Garfield_Minecraft
    @Garfield_Minecraft Месяц назад +2

    how can I play the game?
    where?
    and wait did you just made text-based minecraft?

    • @lurple_
      @lurple_  Месяц назад

      Sort of, it is intended to be a sandbox at the end of the day, and basically it's going to come with the browser I made at the start which you run and that loads the games for you.

  • @goranjosic
    @goranjosic 25 дней назад +1

    Can you increase the number of zombies in the difficulty options?! At least until you go to PvP server.
    It looks somewhat easy with few zombies around, there is no danger

    • @lurple_
      @lurple_  24 дня назад

      There isn't an options menu yet, but I'll make sure to include difficulty slider once I add it to the game.
      Thanks for the comment, I appreciate it.

  • @eliteengineer7340
    @eliteengineer7340 Месяц назад +2

    that code gives me anxiety

  • @svennerdesven
    @svennerdesven 29 дней назад +1

    underrated video

  • @amazingmation97
    @amazingmation97 Месяц назад +3

    Nice 100 subs!

    • @lurple_
      @lurple_  Месяц назад

      It's really awesome thank you everyone

  • @EntrancedOptics
    @EntrancedOptics Месяц назад +2

    You should probably make the text in the thumbnail bigger, even if just slightly. It was impossible to read, for me at least.

  • @anon_y_mousse
    @anon_y_mousse Месяц назад +1

    Maybe for the next version use AALib to do ASCII 3D graphics. Also, if you're not going to activate Windows, which is a good choice, why not top it off by installing Linux?

    • @lurple_
      @lurple_  Месяц назад

      I've checked out AALib it can output some really cool looking stuff, you know I might just consider using Linux, I've always used windows my whole life, but still you know Linux gives you just so much control over everything, plus it's litterly the hackerman os so very tempting.

  • @eeReal_Diamond
    @eeReal_Diamond Месяц назад +1

    The funny think is i had the same idea. But I thought of it 1 year and a half and i just wanted to make symbol sandbox game. And I begun making like when the idea stroked to me. 😀

    • @lurple_
      @lurple_  Месяц назад

      Oh damn, sorry to steal your thunder man, I bet your version would look very cool as well, best of luck on it.

    • @eeReal_Diamond
      @eeReal_Diamond Месяц назад +1

      @@lurple_ No worries, it is just funny that someone the same style. 😀👍
      And about my game, well maybe cool, but the controls arent comfortable(i made it on python and convert to exe,and if you want to do something,like move right, you type "d" then enter, that's why the controls arent comfortable 💀). And your idea (to make a game less then megabyte) cooler than just make a retro styled sandbox game. Sorry if other comment sound offensive 🥲.

  • @madbanana22
    @madbanana22 Месяц назад +2

    but how large is the browser?

    • @lurple_
      @lurple_  Месяц назад

      I'm only counting the actual game files that make up the game in the challenge, I'm sure the browser surpasses 1 megabytes by a lot.

    • @madbanana22
      @madbanana22 Месяц назад +3

      @@lurple_ then what was the point in your custom """""browser""""" if you could as well just use chrome

    • @lurple_
      @lurple_  Месяц назад +1

      The point was that, I took away all the components that made it resemble a browser, which in-turn made it just a program that runs the game files, the game is written in html, css and js, these are used for web development, so I had to use a browser to run the game, but I didn't want to make a browser game so, I made my own one, to turn a browser game into a desktop executable one.

  • @MiklosSzekely-gp4ou
    @MiklosSzekely-gp4ou Месяц назад +2

    I you could get some autoscrolling/paging working, I did a game like this in python (was a dungeon crawler). Have fun!

    • @lurple_
      @lurple_  Месяц назад

      I think that'd be the right step, right now it seems quite limiting the world just being what you see on your screen.
      Thanks for the comment as well.

  • @rumisbadforyou9670
    @rumisbadforyou9670 Месяц назад

    The server I wrote in Rust is under 1 MB. Since when a MB became a lot for a dynamically linked executable?
    How I made a PNG that is less than ONE gigabyte! (exploding head emoji) (exclamation point) (exclamation point)

  • @Hoggagf2
    @Hoggagf2 Месяц назад +1

    the river was generated by a bunch of tiles being water in a row rught? you should make it adjust dynamically to the size of the world

    • @lurple_
      @lurple_  Месяц назад

      Actually it does adjust to the world size, the rivers width interpolates between a minimum and a maximum value, minimum being how many tiles are on the rows of the world and the maximum just being the row amount times 3, so basically the smallest sized river stills stretches across the whole world no matter the world size.
      But still thanks for the suggestion and for the comment.

  • @compechdev
    @compechdev Месяц назад +3

    Really great video and a game with a lot of potential, will be following the project! For my suggestion, you could try adding enemies. I know it's not super easy but that's the fun of it, right?

    • @lurple_
      @lurple_  Месяц назад +1

      I'm glad you found the video and the project enjoyable, I'm happy to hear that. Thanks for the suggestion as well, you're right adding enemies will definitely be a bit of a challenge, especially making them follow the player, but ofc I agree with you that it'll still definitely be fun to implement and make for overall a better game.
      Thank you so much for the comment, and one more thing would it be okay for me to mention your username in the follow-up video to credit you for your suggestion?

    • @compechdev
      @compechdev Месяц назад +1

      @@lurple_ Sure!

  • @X3m.Gaming
    @X3m.Gaming Месяц назад +1

    wait so if you made your own letters... why didnt you just make actual sprites? maybe to reuse text on inventory

    • @lurple_
      @lurple_  Месяц назад

      I just liked the style of just text you know, I thought it was interesting looking, but someone did suggest to use a sprite for a new thing I've implemented, which I'll showcase in the next video, if you're curious.
      Thanks for the comment.

  • @HellTater
    @HellTater Месяц назад +2

    ROCK

  • @kalejaneth2457
    @kalejaneth2457 12 дней назад +1

    Around 3:33, you're making it way too complex. It's just + or - world_row. The current formula is basically "world_row + offset - offset" which is equivalent to just world_row. Not sure if you've fixed this by now since this is an earlier video but it immediately jumped out to me.

    • @kalejaneth2457
      @kalejaneth2457 12 дней назад +1

      Additionally, for the WaterReaction code, if you abstract the player movement into its own function then you can just call it instead of essentially mirroring the code. For example, function playerMove( delta_x, delta_y ) or playerMove( direction ), whichever you prefer, and then the window keydown event can also call it.
      And instead of having a for loop replacing every tile (though I'm aware later on you use a similar loop to make the colors vary slightly), you can set the world children pIndex first, then update pIndex, and then set the new world children pIndex afterward.
      Even further, if you have several places changing both innerText and style color, you can probably move them to a dedicated function to set both at once, saving a bit of time writing.

  • @srqubit9480
    @srqubit9480 Месяц назад +1

    if you used a custom font , why you dont use a font with pixel arts of the tiles?

    • @lurple_
      @lurple_  Месяц назад

      That's definitely an option I can go with

  • @karlenter2380
    @karlenter2380 6 дней назад

    Suggestion: Buy(or emulate) a C64, write the same game in basic and use just some kilobyte. Should be very easy. Done things like this with 12 ;P

    • @lurple_
      @lurple_  6 дней назад

      Sounds fun. Actually other viewers have taken up to themselves to remake the game in their chosen environment or language. So far there's 5: Thumby, C, MicroBit, Direct2D and Unity versions of the remakes.

  • @KernelPanic0
    @KernelPanic0 Месяц назад +3

    Saying this is under a megabyte is like saying Minecraft alpha 1.1.2 is under a megabyte because the client jarfile is 897,054 bytes, completely disregarding the Java libraries it depends on, and the Java runtime that it depends on. Chromium is fucking huge, and if you're going through this trouble of making your "own" web "browser" (which, again, is just Chromium), you might as well just ship your game as a multi-hundred megabyte non-portable Electron "app" with 7,000 JavaScript library dependencies bundled in.

    • @successor0
      @successor0 21 день назад +1

      Yes, the title is pretty deceiving. I expected some low C level shenanigans with WinAPI interactions to get a super lightweight app or something like that.
      Wrapping the game in a C#/.Net web view is also pointless because it is not different from using the local browser.
      Still, I don't want to sound mean and must state I respect the game and work done, it is just the mis-presentation that bothers me.

    • @lurple_
      @lurple_  16 дней назад +2

      It is under a megabyte, all the files that make up the game, the game is under a megabyte, I never said the "launcher" or the "browser" was, that's not part of the game, because it's not a necessity, you can run the game in any browser you want, I'm not hiding any libraries or dependencies as well, the game is in fact under a megabyte, I don't really understand your argument.

    • @KernelPanic0
      @KernelPanic0 15 дней назад +1

      @@lurple_ A web browser is a *huge* dependency, and is absolutely part of the game. If you can run it in any browser you want, how about NetSurf? I think it's one of the few that even get close to your 1 MB claim, but on my system the NetSurf binary is about 3.5 MB, without counting the libraries and kernel facilitating it.

    • @soxfox42
      @soxfox42 18 часов назад

      I feel like this is actually a slightly trickier case than a Java or Electron based application. The library used for this game is WebView2, which is part of all Windows 11 installs, and was installed in an automatic update to most Windows 10 PCs, so I would count it as a system library. Once you start questioning whether WV2 should count as part of the application size, you need to look at other system libraries too. Is it cheating to open a window at all, because you add a dependency on User32.dll?
      Maybe the only

  • @kanaboiarumas9659
    @kanaboiarumas9659 Месяц назад +1

    also how about giving a bit of life to the world and making the rivers letters change colours between different shades of blue, so it looks like its flowing

    • @lurple_
      @lurple_  Месяц назад

      I wrote the logic for that at some point, but I decided to remove it, I don't fully remember the reason of why I removed it, I think I didn't like how much the colors interpolated, it would go from a dark blue to a very light cyan color, that was on me though for implementing it poorly, but I'll look into it once more and make the different shade of colors more close to each other like how it is for the grass.
      Thanks for suggestion as well.

    • @kanaboiarumas9659
      @kanaboiarumas9659 Месяц назад

      @@lurple_ maybe make it like a flowing current? like making a letter go upstream and leave a fading trail behind it?

    • @lurple_
      @lurple_  Месяц назад

      @@kanaboiarumas9659 interesting that could lead to some interesting results, I'll definitely try to implement that

  • @girishkr4153
    @girishkr4153 Месяц назад +2

    Enjoyed watching this video xd

  • @lunabell-2
    @lunabell-2 20 дней назад +1

    audio quality needs to be improved a LOT. other than that, good video

    • @lurple_
      @lurple_  20 дней назад

      I'm happy you found the video good, I actually bought a new microphone between this video and the next installment.
      So your comment aged well hehe, thanks for the comment, I appreciate your words.

  • @Ensign_games
    @Ensign_games Месяц назад +1

    hey can you supply a download? but I would suggest adding some threats and progression

    • @lurple_
      @lurple_  Месяц назад +1

      I definitely can, but there isn't much in the game right now and there are some critical bugs I need to fix, so I'll hold off on the supplying a download so far, and yes I'm planning on adding enemies and progression, to get an actual game loop going, so it actually becomes a real game.

    • @Ensign_games
      @Ensign_games Месяц назад

      @@lurple_ great!

  • @JeLeff.
    @JeLeff. 18 дней назад +1

    remake Minecraft under 1 megabyte

    • @lurple_
      @lurple_  18 дней назад

      Now that'd be epic.
      Thanks for the comment, appreciate you.

  • @wardrich
    @wardrich 5 дней назад

    Since you had to develop a new font anyway, you should have made glyphs that represent what they are in the game. Would have been an interesting touch, though I guess it would have been a lot more effort.

    • @lurple_
      @lurple_  5 дней назад +1

      Your comment has aged pretty well, in the later videos, I did end up including sprites rather than only letters.
      Thanks for the comment.

    • @wardrich
      @wardrich 5 дней назад

      @@lurple_ I had no idea there were newer videos :O I'll have to jump into this rabbit hole after work. It looks like a really cool project.

    • @lurple_
      @lurple_  5 дней назад

      Hehe I'm happy you found the project cool, and best of luck at work.
      Also if you're curious there is a discord server as well for the game (there's currently 45 people, and the cool thing is 5 people deicded to remake the game in their own programming language/environment), if you'd like to join feel free to check out the post I made on the channel with a link to it.
      Thanks for the comment once more.

  • @supyae1183
    @supyae1183 Месяц назад +2

    U GO BROOO

  • @Техаѕ
    @Техаѕ Месяц назад +1

    i thought that thumbnail was github tbh

  • @dallintg6299
    @dallintg6299 Месяц назад +1

    Are you trying to make the game file take less then 1 mb or take less then 1 mb of ram

    • @lurple_
      @lurple_  Месяц назад

      Game that in total takes up less than 1 mb of storage, not ram.
      Hope I could clear up some confusion, thanks for the comment.

    • @dallintg6299
      @dallintg6299 Месяц назад

      @lurple_ just to let you know a system level programming language like C c++ zig or odin will let you do this with ease I am working on a 2d game engen with odin it has a tilemap tilemap editor partical system 2d physics a atlas generator it is at 3458 kb and it is do to using raylib, box2d and inbeding the images into the exe code is just small good vid though

  • @KazmirRunik
    @KazmirRunik Месяц назад

    ah, but the operating system is greater than 1 megabyte ☝️🤓

  • @RockylarsYT
    @RockylarsYT Месяц назад +1

    3:36 Why do you do "p -= (30 + (p % 30)) - (p % 30)", that just results in "p -= 30"

    • @lurple_
      @lurple_  Месяц назад

      I'll try to explain the reasoning behind my thinking:
      The reason we write: (p % 30) is because it helps us find the amount of distance between the player and the first tile in the row that the player is standing on, so if we minus the player index the distance between it and the first tile in it's row it will move him to that first tile, than we add 30 to it (30 being the amount of tiles that are in each row) because it will move the player to the first tile of the row that's above and than we minus all of this once again: (p % 30) (the distance which the player was from the first tile at start) just so we move him horizontally back to that tile, but since we moved him up by one row it gives us the effect of him moving up.
      I apologize if my explanation was confusing, I'm not very good at explaining stuff, I hope I was able to convey my thinking well to you, thanks for the comment as well.

    • @nokimia_0
      @nokimia_0 Месяц назад

      ​ @lurple_ ( world_row + (pIndex % world_row)) - (pIndex % world_row) = world_row,
      so pIndex -= ( world_row + (pIndex % world_row)) - (pIndex % world_row) equals pIndex -= world_row
      question was why do you do all of this instead of just pIndex -= world_row
      and also why do you move him to that first tile and then back to the initial tile? it is what you said in your reasoning.

  • @biticalifi1879
    @biticalifi1879 Месяц назад +1

    Fun video :)

  • @xoxogamewolf7585
    @xoxogamewolf7585 Месяц назад

    I was gonna play on a minecraft server but it's down rn so idk what to do

  • @anispinner
    @anispinner 19 дней назад +1

    Step 5: 🎙️ improvement next time

    • @lurple_
      @lurple_  19 дней назад

      I got a new mic between this video and the follow-up one, I think it's a major improvement.
      Thanks for the comment.

  • @germangamboa3421
    @germangamboa3421 Месяц назад +3

    Very dwarf fortress like

    • @lurple_
      @lurple_  Месяц назад +2

      I'm glad that's visible in the game, old version of dwarf fortress before the steam version was a big inspiration for the game

  • @pixl_xip
    @pixl_xip Месяц назад

    Bitmap graphics?

    • @pixl_xip
      @pixl_xip Месяц назад

      You could do this by adding more glyphs to the font

  • @Cezzer0
    @Cezzer0 15 дней назад +1

    Bro please activate windows its like 5 bucks😭

  • @prolokmn
    @prolokmn Месяц назад +1

    idk try make it 3D

    • @lurple_
      @lurple_  Месяц назад

      How about 4D?

  • @MAGNETO-i1i
    @MAGNETO-i1i 15 дней назад

    You know you can make better games using Unity.. right?? Its much simpler and faster

    • @lurple_
      @lurple_  15 дней назад

      That's definitely an option. I just happen to hate myself a lot hehe.
      Thanks for the comment magneto.

  • @oh-facts
    @oh-facts Месяц назад +1

    Activate windows

    • @lurple_
      @lurple_  Месяц назад

      I refuse

    • @oh-facts
      @oh-facts Месяц назад

      @@lurple_ I fear you. Subscribed so you don't kill me.

    • @lurple_
      @lurple_  Месяц назад

      Good, that was a sensible decision.

  • @souptaels
    @souptaels Месяц назад +6

    Terribly low quality mic. You talk so fast that you skip and mutter some words, making it harder to understand you. You don't need to rush bro

    • @lurple_
      @lurple_  Месяц назад +5

      I agree with the quality, I definitely need to and I will invest in a better one soon, and I apologize for rushing so much, I have a very low self-esteem so it's difficult for me to listen to my voice so I just record myself doing the voiceovers only once even if they come out not too well, I guess I have to work on myself in that regard.
      Thanks for the comment, and pointing out the flows, I agree with all of your points.

    • @why1t
      @why1t Месяц назад +4

      @@lurple_ it just takes practice :)

    • @tJ9etBxDq5VdSj2
      @tJ9etBxDq5VdSj2 20 дней назад

      i could understand you fine :)

  • @Xevion
    @Xevion 4 дня назад

    You need a better microphone for sure and/or work on your accent/pronounciation. Uncomfortable to listen to. Sorry.

    • @lurple_
      @lurple_  4 дня назад

      I actually bought a new mic, I'm sure you'll be able to notice that in the latest videos, and yeah I don't like my pronunciations as well, I'll try to work on them.
      Thanks for the comment.

  • @Ema_bar
    @Ema_bar Месяц назад +1

    also, do you have a discord server? id like to join and help/be influenced by these kind of ideas/creativity

    • @lurple_
      @lurple_  Месяц назад +2

      I don't have one yet, but I'd be open to making one

    • @Ema_bar
      @Ema_bar Месяц назад

      @@lurple_ if you do i’ll be happy to join. Again nice video, hope you’ll post updates on this project

    • @lurple_
      @lurple_  Месяц назад +2

      I'm planning on making more videos on the project soon, I'll be sure to mention in the next video if I make a discord server as well, so be on the look out for that.

    • @lurple_
      @lurple_  20 дней назад +1

      Hey I've just made a discord for my project, I made a community post with a link to it, feel free to check it out if you like.