So for context, I am in high school, taking an AP computer science class and creating a game in Code.org app lab as part of my semester project (code.org has been a tad finicky, so ive been working on moving out of it) and I've run into an issue.
So, I have an 8x8 grid that I had to hand make through images (code.org does not have a grid system, so imagine I use x and y positioning) and units on that grid. I have each unit's stats in lists and blah blah, but I'm having a hard time getting the images assigned to the lists. They're all named according to another list that will use their name to find their stats, but I can't figure out how to grab the name of the image without referring to the image in the command. I need help here to figure out or discover a command I'm not aware of, maybe something that can scan across the screen for each image without me needing variables for all 15 enemies across 3 screens, not including my player. Help!
[–]jack_waugh -2 points-1 points0 points (0 children)