Log In  

Cart #36001 | 2017-01-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

Got Pico yesterday, and was up all night hacking at it. Wanted to start out by not pushing the limits of pico too hard and working pretty close to the constraints the engine provides.

I wanted to dabble slightly in lighting effects via my little shadow function, though it definitely doesn't scale as is. Also messing with the perspective of the camera and hacking in a tile animation/some more interesting blending on the tile boundaries.

Code is seriously messy, so next step is to clean it up a bit.

P#35638 2017-01-13 23:38 ( Edited 2017-01-26 03:07)

Cleaned up the code a bit and reworked a few graphics, going to poke at combat next!

P#35642 2017-01-14 02:01 ( Edited 2017-01-14 07:01)

been thinking about making a 3d software render with texture mapping, and i'm partially using this project as a way to get a feel for how much framerate there is to work with.

So far on my map, im drawing mostly in about 2x8 strips on the background layer. so, I'm averaging about 1 call per 16 pixels and I'm already hitting the edge of the performance bar. That's making me think 1 call per pixel for a brute force texture mapper might not work out so well. have to think on it a bit

P#35649 2017-01-14 03:18 ( Edited 2017-01-14 08:18)

That's a nice perspective effect.

Just an idea, since there's so much distortion and swimming pixels, maybe using bigger sprites for the characters would look better.

Curious what comes out of it

P#35656 2017-01-14 05:44 ( Edited 2017-01-14 10:44)

Ok, time to poke at this some more. first pre-task on combat is taking my random "player" and "other thing" globals and making an actual object data array which I can y-sort. I added a (semi-generalized) insertion sorter.

P#35870 2017-01-16 18:09 ( Edited 2017-01-16 23:09)

@ilkke

I scaled them up and added an outline, I think they do look a bit more in the style this way. :)

Hmmm...maybe at some point i could add some detail to the eyes...but i need to stop futzing with graphics for now and actually make the little critter do something...

P#35874 2017-01-16 19:05 ( Edited 2017-01-17 00:21)

Loving the new look of the characters! And yeah lovely 3D effect you got going on here!!

P#35875 2017-01-16 19:22 ( Edited 2017-01-17 00:22)

I would be interested in seeing the "camera" effect just constantly breathe in and out slowly instead of just upon up and down movement. Even more so if it synced with the character's idle animation's breathing. Just an idea! Especially interested in seeing what it would look like, at accelerated rates, i.e. the player being in a stressful situation. Or seeing it get wobbly, like "Touch Fuzzy Get Dizzy" ala Yoshi's Island, if the player is anxious or exposed to toxic spores. I want to see this "camera" effect really play into the player's psyche and perspective to give a bold feel of connection to the player controller.

P#35879 2017-01-16 19:33 ( Edited 2017-01-17 00:34)

@Cabledragon: that sounds like so much fun to messss withhhh. On the shelf to think about later. Now is time for gameplay determination face

P#35892 2017-01-16 20:59 ( Edited 2017-01-17 01:59)

Get out your seat and jump around.

Jump up, jump up and get down.

P#35903 2017-01-17 02:22 ( Edited 2017-01-17 07:22)

Welp, everything is on fire now... These hopping bastards have gotten a touch scary... Also I have less than 2000 tokens left, so i may either need to cut some features, or do a code compacting phase pretty soon. I'll put up another cartridge when i get the player's combat stuff worked out :p

P#35939 2017-01-17 15:30 ( Edited 2017-01-17 20:30)

OOOOOOK!

So, its been maybe 3 days or so of hacking. Finally took some time to look at the awesome stuff everyone else has been up to.

Turns out I'm a complete moron and Lua actually does have some OOP and functional programming support, so my pure imperative hacking is totally not the right way to approach things. replaces noob hat temporarily with celebration hat

Ok, so I'm going to call this a complete core loop. Its not all that clean or fun or balanced, but there is an enemy. It can kill you, you can kill it, and you can buggy-gannondorfily knock elements back and forth.

Next steps: I'm going to do another pass of cleaning this code the hell up, and once its in a better form, I want to make a second cartridge which is just the 3d landscape effect on its own in case people want to grab and re-purpose that :) Also I should make some music! #NoIdeaWhatI'mDoingDog#

I may continue the game from there, or i might play around with raycasters or voxels a bit.

Oh as two quick side notes:
1) you can also jump now
2) ...but it doesn't really accomplish anything yet

P#36002 2017-01-18 07:50 ( Edited 2017-01-18 12:52)

yeah, i think i might close out this particular codebase. I could refactor it all but i dont think thats actually the best use of my time, probably going to tackle something else

P#36685 2017-01-25 22:07 ( Edited 2017-01-26 03:07)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 17:31:23 | 0.018s | Q:30