Following Lazy Dev tutorial but coudn't get the last boss to shoot many bullets
12Jan23 today i learnt..
1st i edit Nerdy teacher Fruit picker and added 3 framesprite for the player
2nd i added sound when the fruit go inside basket
3rd i added laser to shoot the fruit from Lazy GameDev
4th added laser and animated sprite accompanied the main sprite from Lazy GameDev shmup tutorials
5th i lost all the fruits....
will continue experimenting
Want
-the fruit to comeback
-maybe edit background
thx
why i pressed Esc button after testing this on the website...
hi there
i'm very new to Pico8 and just started editing games
How do i add sfx sounds whenever colliding with object? i'm editing fruit drop from Nerdy Teachers, and want to add soundfx when the fruit hit the basket,..
do i have to put the sfx(0) in the
update _init()
update _update()
update _draw()
?
thank you
edit: i manage to trigger soundfx after pasted the soundx(0) before del(fruits,fruit) in the function update
but it seems theres only 1 fruit drop....still figuring out..tq
basket_sprite=1
player_sprite=2
player_x=64
player_y=100
fruits={}
fruit_start=16
fruit_count=6
fruit_interval=16
gravity=1
level=1
points=0
function _init()
for i=1,level do
fruit={
sprite=flr(rnd(fruit_count)+fruit_start),
x=flr(rnd(120)+5),
y=i*(-fruit_interval)
}
add(fruits,fruit)
end
function _init()
end
end
function _update()
if btn(0) then player_x-=2 end
if btn(1) then player_x+=2 end
for fruit in all(fruits) do
fruit.y+=gravity
if fruit.y+4>=player_y-8
and fruit.y+4<=player_y
and fruit.x+4>=player_x
and fruit.x+4<=player_x+8 then
points+=1
sfx(0)
del(fruits,fruit)
end
if fruit.y>100 then
del(fruits,fruit)
end
end
if #fruits==0 then
level+=1
_init()
end
end
function _draw()
cls()
rectfill(0,108,127,127,3)
spr(player_sprite,player_x,player_y)
spr(basket_sprite,player_x,player_y-8)
for fruit in all(fruits) do
spr(fruit.sprite,fruit.x,fruit.y)
end
print("score= "..points)
end
1st attempt was Lazy Dev shmup. The tutorials are great. i have a pause for a bit.= for shmup.
2nd trial was Nerdy Teacher
3rd is this Lunar landing from the Pico8 zine, a lot of trial and error, i noticed if im tired coding at night
there were many2 mistakes and error sadly i copy pasted the codes and happy to see this Lunar landing baby formed.
and trying to upload on itchio as a trial and error and now getting used to it.
Finishing this simple game is a motivation for me. I was so impressed by the light particle system, super buttery smooth animation for Pico8 that wanting me to learn more abt it, credit: Zep, Lazy Dev,Nerdy teachers, Bridgs & others for their tutorials
1 bit at a time
p/s
my main pixel art app is Aseprite. After using Pico8 was wondering if it will be develop further like Aseprite in the future...just a thought..
S
I downloaded Pico8 in 2021 and catching up again now...and started to see the potential and love the simple language from a non-programmer perspective. I'm more of an artist but recently found out about Lazy Devs youtube videos and patiently follow each shmup vid, I can see hope in creating my own shmup. I love shmup since the late 80s growing up visiting local arcade often. Now I have to really focus on making my own 1st shmup game..
Thank you too to Nerd teacher, Lazy Dev, and others for all your time and energy in making the software and tutorial vids
<3