Port ooooggll's platformer engine to picotron
Please check original: https://www.lexaloffle.com/bbs/?tid=46024
Please check original: https://www.lexaloffle.com/bbs/?tid=46024
( Cover Art by @thesailor )
PICO-VIEW 2024 Quarter 2 & 3 Issue 14 is released!
It's another big one, and covers a lot that has happened since the last issue, as well as some very recent exciting news!
Read it here: https://nerdyteachers.com/PICO-8/Pico-View/?issue=14
Here's the Lineup:
- Tutorial Game Variants
- PICO-8 at 2D Con
- Useful Tidbits
- Dedicated PICO-8 Handheld
- Making Combat Interesting with Combos
- Pixel Art Academy: Learn Mode
- Extreme Token Saving
- New and Featured Games
- Diving into Picotron
- P8GO Mobile App
- Featured Game Review
- Game Recommendations
- Super World of Goo
- Beginner's Course Roadmap
- Gaming History: Final Fantasy 8
- Pixel Art Gallery
- Global Table of Contents
Kubet - Kubet88 là nhà cái cá cược hàng đầu với đa dạng sảnh chơi như casino online, thể thao, xổ số, nổ hũ và có hơn 20tr lượt chơi mỗi tháng.
Website:https://kubet88.bargains/
Hotline : 0986668226
Địa chỉ : 420 Đ. Cách Mạng Tháng 8, Phường 4, Tân Bình, Hồ Chí Minh, Việt Nam
Email : [email protected]
Hastag : #kubet #kubet88 #kubet11 #kubet77 #kubet777 #nhacaikubet
https://www.youtube.com/@kubet88bargains
https://www.pinterest.com/kubet88bargains/
https://www.tumblr.com/kubet88bargains
Here's a basic CSV parser I use to save tokens in my games. It uses split
for the heavy lifting.
Basic version
The most basic version is 66 tokens.
function data(str) local lines=split(str,"\n") local props,d=split(deli(lines,1)),{} for l in all(lines) do local o,v={},split(l) for i=1,#v do o[props[i]]=v[i] end if(o.name)d[o.name]=o add(d,o) end return d end |
It can be used like this (4 tokens):
spritetypes=data [[name,sx,sy,sw,sh alien,0,0,2,2 boss,4,0,4,4 player,0,2,4,2 bomb1,3,0,1,1 bomb2,2,1,1,1 bullet,2,0,1,1]] |
The data
function returns an array of objects, with properties that map to the CSV columns.
If objects have a name
property, then they will be added as a property to the main object with that name.
Which means we can reference the "player" sprite type as:
print(spritetypes.player.sx) |
References
This version allows you to reference objects defined in other CSV tables. It's 117 tokens.
glob={ ["true"]=true, [ [size=16][color=#ffaabb] [ Continue Reading.. ] [/color][/size] ](/bbs/?pid=155181#p) |
I recently bought picotron. I love it. I always had trouble with Pico 8's limitations and thought "If I could just do 16x16 sprites instead of 8x8 I would be having much more fun with this."
And so far I'm still dipping my feet and just doing graphics. But I've come across what could possibly be a bug.
So I started out making some sprites and saved those as 0.gfx. But now I have another set I'm working on, "1.gfx"
I've included a picture that hopefully explains the problem, but basically when I go to the map editor, the wrong graphics are displayed. As you can see in the picture, the little space on the side shows one set of sprites. Those are from 0.gfx. When I put them on the map, I can see that it is using 1.gfx, which is what I intended for this map.
So how can I get the correct graphics displayed on the little side window? Having to make multiple attempts just to put the right thing on the screen can get annoying.
Slashed Res
This is something I'm actively working on.
I am trying to make a shmup or just a graphics library that I can use for other projects.
the movement is what you'd expect and (❎)(🅾️) go between the different quarters of a sprite.
This code snippet is the method I made to quarter sprites.
--show a quarter of a sprite --only works for the first row (lazy) function qspr(sn,qn,x,y) local a=0 if(qn>2) a=4 sspr(sn*8 + ((qn+1)%2 * 4),a,4,4,x,y) end |
This is the placeholder/guide sprite that I used to show what quarter you're on
[8x8] | |
System Rebooting...
GZ-Series Autonomous Mapping Platform, Serial No. 82910-K5
Multiple component errors detected due to EM Pulse and impacts sustained from fall
Mission-critical systems damaged and/or missing
Long-range radio inoperative
Recalculating mission parameters...
- Explore newly-discovered subterranian biome of exoplanet and reacquire 4 missing mobility components and 8 power cells
- Attempt to resurface and rendezvous with mobile base to transmit stored data and receive necessary repairs
Minimal power remaining...
This is my entry for Pico1K Jam 2024, and my first attempt at a Metroidvania game. Hope you enjoy playing it!
V1.01: Wall jump behavior is now more consistent, and destructible blocks now differ slightly in appearance