itch.io is community of indie game creators and players

Devlogs

Game Dev : 6/30

30 Day game dev challenge
A browser game made in HTML5

Alright, today has been very productive! Something in my thought process yesterday definitely helped me to progress and get along with my project.

  1. Limiting the scope and focusing on 1 thing (reading + writing code). This directly helps me by not being overwhelmed with infinite choices and instead gives me an area of my choosing. I feel much better.
  2. Having a TODO list to track my own problems, rather than solving some tutorials problems. That being said, I did find today that some of the NerdyTeachers content can give me ideas of things to try implement new ideas by myself, like the health bar

###TODO

    1. Get the debug statements to stay on screen ^ Alright, we are kinda halfway there! We have it being toggle-able on the screen with a variable but what we need is the HUD to follow us around
    1. Find out why the red ball flickers if I delete sprite 50 ^ This flickers because the sprites get cycled forward because each actor has a set of frames to go through on neach tile moved, so each
function make_actor(k, x, y)
	a={
		k = k,
		x = x,
		y = y,
		dx = 0,
		dy = 0,		
		frame = 0,
		t = 0,
		friction = 0.15,
		bounce  = 0.3,
		frames = 2,
		
		-- half-width and half-height
		-- slightly less than 0.5 so
		-- that will fit through 1-wide
		-- holes.
		w = 0.4,
		h = 0.4
	}
	
	add(actor,a)
	
	return a
end
    1. need to make a HUD somehow that stays no matter which screen my character wanders into

TODO

  • Implement some way to have items in an array and also treated as actors
  • Have the HUD follow from room to room.
  • Give instructions, maybe add more sprites?
  • Read more code

Alright, seeya tomorrow! I hope to make much more progress this week

Files

  • 30-day-game-dev-challenge-html.zip 495 kB
    Version 13
Leave a comment