Game Dev : 6/30



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 Play in browser
Version 13 6 hours ago

Leave a comment

Log in with itch.io to leave a comment.